Voice
Make outbound calls, control call state, and handle call events
The existing AfriRoute voice APIs include call initiation, DTMF, hangup, recordings, IVR, and text-to-speech. Public docs should lead with the smallest useful path: create a call and listen for outcomes.
Docs mode
Reference and guide
Keep the task clear, the example nearby, and the next step obvious.
Start with one call workflow
Document call creation first, then layer in status lookups, recordings, DTMF, and IVR only after the developer understands the base lifecycle.
Use webhook callbacks or status polling as the explicit public pattern. Avoid mixing operational internals into the developer experience.
Voice endpoints
POST /api/v1/voice/call/make
GET /api/v1/voice/call/{callId}
POST /api/v1/voice/call/{callId}/hangup
GET /api/v1/voice/recordings/{callId}