Modern applications need messaging that integrates directly into their code. The eSMS Africa SMS API lets developers send SMS across 50+ African countries with a single endpoint, automatic route selection, and real-time delivery reports — no complex telecom integrations required.
Send Your First SMS in 5 Minutes
Grab an API key from your dashboard, then send a message with one HTTP call. Route selection is automatic based on the destination number:
curl -X POST "https://sms.esmsafrica.io/api/messages/send" \
-H "Authorization: Bearer $ESMS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"to": "+256712345678",
"text": "Hello from the eSMS Africa API!",
"sender_id": "eSMSAfrica"
}'
# → 200 OK
# {"id":"550e8400-...","status":"submitted","route":"ESMS_UG"}
Official SDKs
Prefer a native library? eSMS Africa ships official SDKs so you can integrate in your language of choice:
- Node.js / TypeScript:
npm install esms-sms - Python:
pip install esms-sms - PHP:
composer require esmsafrica/sms - Go:
go get github.com/eSMS-Africa/esms-go
Delivery Reports via Webhook
Every message returns a real-time delivery receipt. Point a webhook at your endpoint to receive status updates (submitted, delivered, failed) with operator codes preserved — perfect for reconciliation and analytics.
Bulk and Scheduled Sending
Send to up to 10,000 recipients per call, schedule messages for later, and use contact lists with template variables for personalised campaigns. The same API powers OTP, transactional alerts and marketing.
When to Use SMPP Instead
For high-volume enterprise traffic (500–5,000+ messages per second), connect over SMPP 3.4 to smpp.esmsafrica.io:2775 with TLS 1.3. SMPP gives you direct SMSC access, sub-second submission and full DLR pass-through.