OpenAPI-backed reference
AfriRoute CPaaS API
Public developer API reference and explorer for AfriRoute. Endpoint examples are derived from the checked-in public OpenAPI contract, with secret-like fields automatically redacted.
Spec Version
v1.0
Curated Surface
3 key endpoints
Endpoint Catalog
Filter by product, route, or capability.
Messaging
USSD
Voice & Contact Center
POST
/api/v1/channels/sms/otp
Send a one-time password
Generate and deliver a one-time password through the public messaging API.
Product
Messaging
Group
Sms
Request Format
Structured JSON request
Response Format
Structured JSON response
Parameters
| Name | Type | In | Required |
|---|---|---|---|
| to | string | body | Yes |
| country | string | body | Yes |
| otp | string | body | No |
| from | string | body | No |
| template | string | body | No |
| expiryMinutes | integer | body | No |
Live Request
Call through the local app surface
Requests execute against the current app route in this environment. This explorer is limited to the public integration surface shown here.
Request Example
{
"to": "string",
"country": "string",
"otp": "string",
"from": "string",
"template": "string",
"expiryMinutes": 0
}Response Example
{
"messageId": "string",
"status": "string",
"to": "string",
"otpSent": true,
"expiryMinutes": 0,
"estimatedDeliveryTime": 0,
"operatorUsed": "string",
"expiresAt": "2026-03-06T12:00:00Z"
}