Single / Multiple SMS

Use this endpoint to send an SMS to either a single or multiple recipients.

Sending to multiple recipients

This same endpoint allows you to send the same text message to multiple recipients. To do this, in the to parameter just enter the mobile number of the recipients separated with a comma (",").

Long text messages

When using the API to send a long message, the system will automatically check to see if the the messages will need to be concatenated and sent. If it decides that a message will need to be concatenated, when the message is sent, your response from the API will show multiple message_id's. Below is an example of such a response:

{
    "status": "success",
    "result": [
        {
            "message_id": "29756",
            "status": "pending"
        },
        {
            "message_id": "29757",
            "status": "pending"
        }
    ]
}

About the callback parameter

If specified, each DLR for an outgoing SMS will be sent to the URL provided using the POST method. Webhook definition is in JSON.

The timestamp parameter will display the date and time (in UTC). If the message has been delivered it will display the date and time of the message delivery. If the message is in any other state, it will display the date and time of when the message was sent.

{
  "query": {
    "id": "1234",
    "status": "Delivered",
    "timestamp": "2024-10-22T15:57:42.138Z"
  }
}

Message Status

StatusDescription
ScheduledThe message is scheduled. Delivery has not yet been initiated. (Intermediate)
EnrouteThe message is in enroute state. (Intermediate)
DeliveredMessage is delivered to destination. (Final)
ExpiredMessage validity period has expired. (Final)
DeletedMessage has been deleted. (Final)
UndeliverableMessage is undeliverable. (Final)
AcceptedMessage is in accepted state. (Final)
UnknownMessage is in invalid state.
RejectedMessage is in a rejected state. (Final)
SkippedThe message was accepted but not transmitted or broadcast on the network. (Final)
Language
Credentials
Header
Click Try It! to start a request and see the response here!