Send an SMS
/sms/sendSend a message to one or more phone numbers, now or at a scheduled time.
Uses SMS credits
- Send to several numbers at once by separating them with commas.
- Messages longer than one SMS are split automatically and charged per part (160 characters per part for plain text, 70 for Unicode).
Parameters
recipientstring · bodyrequiredPhone number in international format without + or spaces. Separate multiple numbers with commas.
sender_idstring · bodyoptionalSender name shown on the phone (max 11 characters). Must be approved on your account.
typestring · bodyoptionalplain for standard text, unicode for emoji and non-Latin characters.
One of:
plainunicodemessagestring · bodyrequiredThe text of the message.
schedule_timestring · bodyoptionalSend later instead of now. Format: YYYY-MM-DD HH:MM, in your account's time zone.
curl -X POST 'https://gateway.excitesms.com/api/v3/sms/send' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"recipient": "260971234567",
"sender_id": "ExciteSMS",
"type": "plain",
"message": "Your order has shipped!"
}'Example response · illustrative
{
"status": "success",
"message": "Your message was successfully delivered",
"data": {
"uid": "61536aa9cab81",
"to": "260971234567",
"from": "ExciteSMS",
"message": "Your order has shipped!",
"status": "Delivered",
"cost": "1"
}
}_1751651039776-a9hSVZrX.png)