Skip to main content
ENTERPRISE API PLATFORM

AfriRoute API Reference

Power your applications with enterprise-grade communication and payment APIs designed for Africa

99.9%
Uptime SLA
54+
Countries
6
Core APIs
10M+
Daily Requests
🔒 ISO 27001 Certified✓ SOC 2 Type II⚡ 24/7 Support
QUICK START

Get Started in Minutes

All APIs use RESTful architecture with JSON payloads. Choose your preferred language and start building.

Send SMS ExampleSimple POST request to send an SMS
cURL
curl -X POST https://api.afriroute.ai/api/v1/sms/send \
  -H "Authorization: Bearer $AFRIROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+251912345678",
    "from": "AfriRoute",
    "message": "Hello from AfriRoute!",
    "callback_url": "https://yourdomain.com/webhook"
  }'
⚡ Response Time: ~120ms✓ 99.8% Success Rate

Available APIs

📱

SMS API

Send and receive SMS messages with 99.9% delivery rate across 54+ African countries.

  • ✓ Single & Bulk SMS
  • ✓ Delivery Reports
  • ✓ Two-Way Messaging
  • ✓ Alpha Sender IDs
View Documentation →
💬

WhatsApp API

Send template messages, media, and interactive content via WhatsApp Business API.

  • ✓ Template Messages
  • ✓ Rich Media (Images, Videos, Docs)
  • ✓ Interactive Buttons & Lists
  • ✓ Real-time Webhooks
View Documentation →
📞

Voice API

Build voice applications with IVR, call control, text-to-speech, and recording.

  • ✓ Outbound Calls
  • ✓ IVR Menus
  • ✓ Text-to-Speech (40+ languages)
  • ✓ Call Recording & Analytics
View Documentation →
📧

Email API

Send transactional and marketing emails with templates, attachments, and tracking.

  • ✓ Transactional Emails
  • ✓ Template System
  • ✓ Bulk Campaigns
  • ✓ Deliverability Tracking
View Documentation →
💳

Payments API

Accept payments via mobile money, cards, and bank transfers across Africa.

  • ✓ Mobile Money (M-Pesa, MTN, Telebirr)
  • ✓ Card Payments (Visa, Mastercard)
  • ✓ Bank Transfers
  • ✓ Instant Webhooks
View Documentation →
📲

USSD API

Build interactive USSD applications for feature phones and smartphones.

  • ✓ Session Management
  • ✓ Multi-level Menus
  • ✓ Input Validation
  • ✓ Persistent State
View Documentation →

🌐 Base URLs

Production
https://api.afriroute.ai
Use for live applications
Sandbox
https://sandbox.api.afriroute.ai
Use for testing and development

🔑 Authentication

All API requests require authentication. We support two methods:

API Key (Recommended)

-H "Authorization: Bearer $AFRIROUTE_API_KEY"

Console session

Hosted dashboard sign-in only — not for API integration
Learn more about authentication →