An API key authenticates your requests to the eSMS Africa SMS API. Here's how to create one.
Steps
- Sign in to your dashboard at app.esmsafrica.io.
- Open Developers → API Keys.
- Click Create key, give it a name, and copy it — it's shown only once.
Live vs test keys
Live keys start with esms_live_ and send real messages against your balance. Test keys start with esms_test_ for development. Use the Authorization: Bearer <key> header on every request.
Keep keys secure
Never expose keys in browser or mobile code. If a key leaks, revoke it in the dashboard and create a new one.