REST
v1
35 endpoints
14 products

API Reference

Explore every REST endpoint across Sendexa products. Filter by product or method, inspect parameters, copy multi-language samples, and run a local response simulation.

Base URL
https://api.sendexa.co
Authentication
Authorization: Basic <token>
Format
JSON over HTTPS. Shared response envelope with success, code, data, and requestId.
POST/v1/sms/send
Stable

Send SMS

Send a single SMS with automatic number formatting and delivery tracking.

Full product docs

Headers

NameTypeDescription
AuthorizationstringrequiredBasic <Base64 token> from the dashboard.
Content-Typestringrequiredapplication/json

Body parameters

NameTypeDescription
tostringrequiredRecipient MSISDN (local or E.164).
fromstringrequiredApproved sender ID (max 11 chars).
messagestringrequiredMessage body (max 1530 chars).
referencestringoptionalYour correlation ID.
scheduledAtstringoptionalISO 8601 schedule time.

Responses

JSON
{
"success": true,
"code": "SMS_SENT",
"message": "Message accepted for delivery.",
"requestId": "req_01EXAMPLE",
"data": {
"messageId": "MSG-50f285a0-90ba-4871",
"channel": "sms",
"delivery": {
"status": "SENT",
"submittedAt": "2026-07-12T12:00:00Z"
},
"billing": {
"units": 1,
"currency": "GHS",
"unitCost": 0.035
}
}
}

Code samples

Bash
curl -X POST 'https://api.sendexa.co/v1/sms/send' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic YOUR_BASE64_TOKEN' \
-d '{"to":"0555539152","from":"YourBrand","message":"Hello from Sendexa!"}'