Send SMS

This allows you to send SMS using our API to a single recipient. Go through the instructions below

Send SMS Request

POST https://app.sleengshort.com/api/sms/send

This endpoint allows you to send an SMS to a single user

Note the msg_ids in the response can be used to track the delivery status on a request when notifications are sent to the callback URL.

Also, you must check which API-Key you're using while sending sms. A coop API-Key must be used when sending sms with a coop sender_id while an open API-Key must be used when sending sms with an open bind sender_id.

Headers

NameTypeDescription

X-Api-Key*

String

Your API Key

Request Body

NameTypeDescription

sender_id*

String

SMS sender ID

recipients*

String

MSISDN of the recipient in international format

msg*

String

SMS body ( < 905 characters)

type

String

Message format: 0: Flash SMS, 1: SMS delivers to inbox(default), 2: Unicode SMS – Chinese, Arabic etc

ext_msg_id

String

Unique Message ID

{
    "status": "ok",
    "description": "Request processed successfully",
    "msg_ids": "+23470******|0095fddc-9c59-4fde-b513-4ff7810e****"
}

Last updated