Send messages
Send one or more messages
Note that on message send responses, there are two possible locations for error information: one for global level (where entire payload is rejected) and one where a message level reject is applicable. Errors Table Message Status Table Supported content types and limitations
Authorizations
Body
One api send message request
Responses
202
Success
application/json
207
Returned on a message when more than one message was submitted, but they have a different status (example: one message was accepted, and one was rejected
application/json
400
Bad Request. Note that the global error object is not used because this is a message-level error
application/json
401
Unauthorized
application/json
402
Payment Required. User is out of funds/credits/currency/balance
404
Request was sent to a resource that does not exist
503
Service Unavailable
post
/v1/messagePOST /v1/message HTTP/1.1
Host: platform.clickatell.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"messages": [
{
"channel": "sms",
"to": "2799900001",
"content": "Here is my message"
}
]
}{
"messages": [
{
"apiMessageId": "77fb29998253415fa5d66971d519d362",
"accepted": true,
"to": "2799900001",
"error": null
}
],
"error": null
}Last updated