Nigeria Quick Start
Get a Lagos DID and start receiving AI-powered calls in 30 seconds. This guide assumes you already have a Voicebip API key. If not, create one here.
Lagos Number in 30 Seconds
Voicebip gives your AI agent a real Lagos phone number in four API calls. By the end of this guide, anyone in Nigeria can call your number and talk to your AI agent.
Step 1: Create an Agent
Create an AI agent that will handle calls on your Lagos number:
Save the agent_id from the response — you need it in the next steps.
Step 2: Provision a Lagos DID
Get a geographic DID (landline-style number) in Lagos. The /auto endpoint picks the first available number matching your criteria in one call:
Your Lagos number is now live and assigned to your agent.
Step 3: Configure Webhook
Set a webhook URL on your agent to receive real-time call events:
For local development, use ngrok to expose your localhost. See the Testing Locally guide for full setup instructions.
Step 4: Test Your Setup
Verify your webhook handler works before making real calls:
If success is true and response_code is 200, your webhook handler is ready. The test event arrives with a valid X-Voicebip-Signature header so your signature verification code is tested too.
Step 5: Call Your Number
Pick up your phone and dial the Lagos number from the Step 2 response (e.g. +2342011234567). Your AI agent answers, and you receive these webhook events in real time:
call.initiated— the call is ringingcall.transcription— real-time transcript segments as the conversation progressescall.completed— final summary with duration, full transcript, recording URL, andai_mode
That is it. Your Lagos AI agent is live.
Nigerian Tips
Naira Billing
All charges are in Nigerian Naira (NGN), expressed in kobo (100 kobo = 1 NGN). Check your workspace balance at any time:
Fund your workspace via Paystack (card, bank transfer, USSD) with POST /v1/billing/checkout.
MNO Failover
Voicebip automatically routes calls through all four Nigerian MNOs with a 5-second failover budget:
MTN (primary) —> Glo (secondary) —> Airtel (tertiary) —> 9mobile (quaternary)
No configuration needed. Failover happens automatically based on the destination number’s prefix.
CBN Call Windows
Outbound calls are restricted to 08:00 - 20:00 WAT by default (CBN regulation). Customize per agent:
Calls outside the window return 422 CALL_WINDOW_RESTRICTED. Inbound calls are never restricted.
Sandbox Testing
Use a pk_test_ API key to test everything above with zero charges. Sandbox numbers (+234800000xxxx, +234100000xxxx) simulate the full call and SMS lifecycle without touching real MNO infrastructure.
What’s Next
- Nigerian Developer Guide — MNO prefix routing, NDPR compliance, CBN regulations, and Naira billing details
- Testing Locally — ngrok setup, mock payloads, and webhook signature verification
- Webhooks Guide — event types, retry logic, and delivery monitoring
- Voice Calls Guide — inbound/outbound calls, real-time transcription, and recording