Copy-paste guides for sending SMS and OTP across Africa - in Node.js, Python and PHP - plus delivery reports, SMPP and choosing between the API and SMPP.
await fetch(
"https://api.esmsafrica.io/v1/sms/send",
{
method: "POST",
headers: {
Authorization: "Bearer " + KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
to: "+254712345678",
from: "MyBrand",
message: "Hello from Node.js",
}),
}
);Send your first SMS from a Node.js app with a single HTTPS request to the eSMS Africa SMS API. No SDK required - just fetch.
Read guideSend an SMS from Python with the requests library and the eSMS Africa SMS API.
Read guideSend an SMS from PHP using cURL and the eSMS Africa SMS API.
Read guideAdd phone verification to your app with the managed eSMS Verify API. It generates the code, delivers it, handles retries and checks it - you call two endpoints.
Read guideKnow exactly what happened to every SMS. eSMS Africa calls your webhook with each status change - sent, delivered, failed - in real time.
Read guideFor high, sustained throughput, bind over SMPP instead of the REST API. Here is how SMPP works with eSMS Africa.
Read guideBoth send A2P SMS to the same networks on the same routes - the difference is how you connect and how much throughput you need.
Read guideBulk SMS, an SMS API and OTP to every African mobile network on direct routes.
Managed phone verification and OTP - generate, send, rate-limit and check codes in two API calls.
High-throughput A2P SMS over direct SMPP binds with guaranteed TPS and DLRs.
Transactional and marketing email with a modern API, delivery reports and analytics.
Branded short links, QR codes and click analytics for your campaigns.
AI plus human customer-support chat you can add to any website.
The desktop app that brings Email, SMS and SMPP into one place.
A clean REST API, official SDKs and a free sandbox - everything in these guides works on a free account. Start building in minutes.