Send messages

Send one or more messages

On message send responses, error information can be in two possible locations: one at the global level (where the entire payload is rejected) and one where a message-level reject is applicable.

Also see:

Send one or more messages

post

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
post
/v1/message
POST /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