Prerequisites
- An Africoders account
- A funded wallet (even ₦100 is enough to start)
- PHP 8.2+ or any language with HTTP client support
Step 1: Generate Your API Key
Navigate to your API Keys dashboard and click "Generate New Key".
Step 2: Test in Sandbox
curl -X POST https://africoders.com/api/v1/sms/send \\n -H "Authorization: Bearer afk_sandbox_your_key_here" \\n -H "Content-Type: application/json" \\n -d '{"recipient": "+2348012345678", "message": "Hello from Africoders!"}'Step 3: Go Live
Switch to your live key and send a real message!