Developers building for Libya need messaging that integrates directly into their applications. The eSMS Africa SMS API lets you send SMS in Libya — and across 50+ African countries — with a single endpoint and automatic route selection.
Send Your First SMS
Grab an API key from your dashboard and send 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":"+218700000000","text":"Hello from the eSMS Africa API!","sender_id":"eSMSAfrica"}'
# → 200 OK {"status":"submitted","route":"ESMS_LY"}
Networks Covered in Libya
- Libyana
- Al-Madar
Official SDKs
Integrate faster with an official SDK: npm install esms-sms, pip install esms-sms, composer require esmsafrica/sms, or go get github.com/eSMS-Africa/esms-go.
Delivery Reports via Webhook
Every message returns a real-time delivery report (DLR). Configure a webhook to receive status updates with operator codes — ideal for reconciliation and analytics.
SMPP for High Volume
For enterprise volumes, connect over SMPP 3.4 to smpp.esmsafrica.io:2775 with TLS 1.3 for sub-second submission and full DLR pass-through — perfect for Libya's banking sector and beyond.
Get Started with eSMS Africa in Libya
eSMS Africa provides reliable, direct-route SMS, OTP and SMPP connectivity in Libya and across 50+ African countries. Create an account, top up in LYD, and start sending in minutes.
📝 Create your account · 📚 API docs · 🔌 SMPP gateway · 📧 sales@esmsafrica.io