Developer API

Integrate SMS and OTP into your applications with our simple REST API. Get your API key from the dashboard after signing up.

Get API Key View Endpoints
POST /api/v1/sms/send
Authorization: Bearer YOUR_API_KEY

{
  "to": "256700000000",
  "message": "Hello from AfrieConnect"
}

API Endpoints

POST
/api/v1/sms/send

Send SMS to one or more numbers. Wallet is debited automatically.

Authorization: Bearer {api_key}
POST
/api/v1/sms/bulk

Send SMS to multiple recipients in one request.

Authorization: Bearer {api_key} or X-API-Key
POST
/api/otp/send

Generate and send a one-time password via SMS.

Authorization: Bearer {api_key}
POST
/api/otp/verify

Verify an OTP code submitted by the user.

Authorization: Bearer {api_key}
GET
/api/v1/sms/balance

Check wallet balance and SMS rate for your plan.

Authorization: Bearer {api_key}
GET
/api/health

Check API service status and uptime.

No authentication required

Authentication

All authenticated endpoints require your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY
# or
X-API-Key: YOUR_API_KEY

Find or regenerate your API key in Settings → API Key after logging in.

Chat with us