API ReferenceSMS API
Verify (OTP)
The Verify API has moved to its own product section.
eSMS Verify is now a top-level product. This page has moved to eSMS Verify - see Verifications API for start / check / fetch / resend / cancel / list and Verify Apps.
Quick reference
# Start - eSMS generates and sends the code
curl -X POST https://sms.esmsafrica.io/v1/verify/start \
-H "Authorization: Bearer esms_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "to": "+254712345678", "app_id": "vera_ab12" }'
# Check - validate the code the user typed
curl -X POST https://sms.esmsafrica.io/v1/verify/check \
-H "Authorization: Bearer esms_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "verification_id": "ver_9f8c1234ab", "code": "482193" }'Full documentation: eSMS Verify → Verifications API.