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.coAuthentication
Authorization: Basic <token>Format
JSON over HTTPS. Shared response envelope with
success, code, data, and requestId.POST
/v1/sms/sendStable
Send SMS
Send a single SMS with automatic number formatting and delivery tracking.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization | stringrequired | Basic <Base64 token> from the dashboard. |
| Content-Type | stringrequired | application/json |
Body parameters
| Name | Type | Description |
|---|---|---|
| to | stringrequired | Recipient MSISDN (local or E.164). |
| from | stringrequired | Approved sender ID (max 11 chars). |
| message | stringrequired | Message body (max 1530 chars). |
| reference | stringoptional | Your correlation ID. |
| scheduledAt | stringoptional | ISO 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!"}'