A

AfriRoute

Developer Portal

public api
Sign in
API Reference

Use a curated external API sample for public developer docs

This development portal shows only the external developer-facing contract. Internal platform, console, carrier, routing, fraud, policy, analytics, and infrastructure APIs stay out of the public reference.

External-only index

Lead with public product flows developers actually need, then keep internal systems out of the downloadable reference.

SMS Messaging
Verification
Webhooks

Base URLs

Define the public environment once, then keep examples clean with {BASE_URL}.

Production

https://api.afriroute.ai

Sandbox

https://sandbox.afriroute.ai

{BASE_URL}/api/v1/{endpoint}

OpenAPI-backed sample

AfriRoute External API sample

authorization api-key header

The committed OpenAPI asset is a curated public sample for development portal demos and tooling. It intentionally excludes internal platform, carrier, partner, console, routing, fraud, policy, analytics, and infrastructure endpoints.

Messaging

2 paths

External SMS send and message status samples for developer onboarding.

Verification

2 paths

Managed Verify helper samples that keep OTP infrastructure out of app code.

Webhooks

1 paths

External callback registration for delivery and verification events.

Representative external sample endpoints

Developer flows that matter first

SMSPOST

/api/v1/sms/send

Send a single SMS message through the external developer API sample.

Request

to
message
country
senderId

Response

messageId
status
cost
operator
createdAt
MessagesGET

/api/v1/messages/{messageId}

Read message status from the external messaging surface.

Request

messageId
Authorization header

Response

messageId
status
channel
createdAt
VerificationSDK

afriroute.verify.start

Start a managed phone verification challenge.

Request

phone
channel
fallbackChannel

Response

verificationId
expiresAt
status
VerificationSDK

afriroute.verify.check

Check the user-submitted code against the managed challenge.

Request

verificationId
code

Response

verificationId
status
WebhooksPOST

/api/v1/webhooks

Register a webhook endpoint and subscribe to public delivery and usage events.

Request

url
events[]

Response

webhookId
status
createdAt

Generated reference

Browse the committed external API sample directly

This section is rendered from the committed sample at /openapi.json. It is suitable for public docs, demos, and Postman generation, not for publishing internal API inventory.

Loading OpenAPI reference...