Authentication
HTTP API Keys
API keys for the SMS Platform HTTP API.
HTTP API keys authenticate requests to the SMS Platform API at app.esmsafrica.io.
Get your API key
- Log in to app.esmsafrica.io
- Go to your Profile
- Copy your HTTP API Key
You can also generate a new key from the profile page.
Using the key
Include your account ID and API key in two headers:
X-Account-ID: your_account_id
X-API-Key: your_api_keyExample
curl -X POST https://app.esmsafrica.io/api/sms/send \
-H "X-Account-ID: your_account_id" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"phoneNumber": "+254712345678",
"text": "Hello!",
"senderId": "eSMS"
}'HTTP API keys for the SMS Platform are different from Mail API keys (sk_ prefix). Each product has its own credential type.