Sendexa LogoDocs

Introduction

Sendexa provides production-ready messaging APIs for SMS, OTP, WhatsApp, Voice, USSD, Email, and SMPP — all under a single base URL and auth scheme.

Base URL
Bash
https://api.sendexa.co

Format

All requests and responses use JSON (application/json).

Versioning

Current version is v1. Included in every endpoint path: /v1/sms/send.

TLS

All connections must use HTTPS. Plain HTTP requests are rejected.

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

Every endpoint returns a consistent JSON envelope:

JSON
{
"success": true, // boolean — always present
"message": "...", // human-readable status
"data": { ... }, // payload on success
"errors": [ ... ], // array of field errors on 400
"requestId": "req_..." // use this when contacting support
}

200

OK — success

400

Bad request / validation

401

Auth failed

429

Rate limit hit