Send Single SMS Message
Send an SMS message to a single recipient using the Single SMS endpoint.
POST /send/single
Required Permission
create:SingleSMSYour API key must have this permission enabled in order to use this endpoint.
Example Request
curl --location 'https://<hostname>/send/single' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"text": "test",
"originator": "test",
"recipient": "4479000000001",
"reference": "ref",
"shortenUrls": false,
"excludeOptouts": true
}'Replace YOUR_API_KEY with your API key.
Request Parameters
text
string
Yes
The SMS message content.
originator
string
Yes
The sender ID displayed on the recipient’s handset.
recipient
string
Yes
The destination phone number in international format.
reference
string
No
Your reference, will be provided as part of the delivery receipt for correlation.
shortenUrls
boolean
No
Whether URLs in the message should be automatically shortened.
excludeOptouts
boolean
No
Whether opted-out recipients should be excluded from delivery.
scheduleDateTime
string (ISO 8601 datetime)
No
Schedules the message or campaign to be sent at a future date and time. The value must be provided in ISO 8601 format (e.g. 2025-03-01T14:30:00Z). If omitted, the message or campaign is sent immediately.
Responses
Authentication Error (HTTP 403)
Returned when the API key is invalid or does not have the required permission.
Validation Error (HTTP 400)
Returned when required fields are missing or invalid.
Success (HTTP 200)
Returned when the message has been successfully accepted for delivery.
A successful response confirms that the message has been queued for delivery. SMS delivery itself is handled asynchronously.
Last updated