Global PlatformCommunications, payments, and governed AI infrastructure
EnglishDocsSupportLogin
A
AfriRouteConnect Platform
Products
Platform
Enterprise
Developers
Markets
Company
Pricing
Book a DemoGet Started
Pricing
Sign InCreate Account
Documentation

Get Started

  • Overview
  • Quickstart
  • Authentication
  • Webhooks

Core

  • Authentication
  • Versioning
  • Webhooks
  • Errors
  • Rate Limits

API Reference

  • API Overview
  • Messages API
  • Voice API
  • API Endpoints

Governance

  • Compliance
  • Architecture

Messaging

  • Messaging API
  • SMS
  • WhatsApp Business
  • Telegram

Voice

  • Voice API
  • IVR Builder
  • SIP Trunking
  • Number Masking

Engagement

  • Contact Center
  • AIT Assist
  • AI Chatbots
  • Video API

Trust & Payments

  • Verify
  • Number Lookup
  • Fraud Guard
  • Payments
Need help?

Join our developer community or contact support.

Get Support
Getting Started
OverviewQuickstartAPI ReferenceSDKsWebhooks
Services
MessagingVoice & IVRContact CenterUSSDPaymentsAirtime & DataAI ChatbotsAnalytics

Webhooks

Subscribe to real-time events, verify signatures, and manage webhook endpoints through the AfriRoute API.

Webhook Management API

Use the endpoint paths below with your configured BASE_URL.

  • POST /api/v1/webhooks creates a webhook endpoint
  • GET /api/v1/webhooks lists configured endpoints
  • PUT /api/v1/webhooks/{webhookId} updates endpoint settings
  • DELETE /api/v1/webhooks/{webhookId} removes an endpoint

Event Types

EventDescription
message.deliveredMessage successfully reached the handset
message.failedDelivery failed (e.g. carrier blocked, invalid number)
call.completedVoice call ended, includes duration and cost
payment.receivedMobile money collection confirmed
otp.verifiedVerification flow completed successfully

Secure your webhooks

AfriRoute signs every webhook request so you can verify it was sent by us.

  • Retrieve your webhook secret from the Console.
  • Look for the x-afriroute-signature header.
  • Calculate the HMAC SHA256 of the payload body using your secret.
  • Compare the hashes.

Retry Schedule

If your endpoint returns anything other than a 2xx status code, AfriRoute retries delivery with backoff while preserving the original payload and signature headers:

  • Immediately
  • After 1 minute
  • After 5 minutes
  • After 30 minutes
  • After 3 hours
Live Examples
Node.js Verify
javascript
1const crypto = require('crypto');
2
3function verifySignature(req, secret) {
4 const signature = req.headers['x-afriroute-signature'];
5 const payload = JSON.stringify(req.body);
6
7 const expected = crypto
8 .createHmac('sha256', secret)
9 .update(payload)
10 .digest('hex');
11
12 if (signature !== expected) {
13 throw new Error('Invalid signature');
14 }
15}
Demo-mode examples are safe to run and show request shapes.
AfriRoute dispatch

Product launches, market moves, and customer growth ideas worth opening.

Join the AfriRoute newsletter for practical rollout notes, operator and market updates, messaging playbooks, and launch-ready ideas across voice, USSD, payments, and AI-powered communications.

Launch Notes
Fresh product releases and roadmap movement.
Market Signals
Country, operator, and rollout insights that matter.
Growth Plays
Messaging and engagement ideas for real campaigns.
Subscribe

Get AfriRoute in your inbox

One practical email stream for builders, operators, and commercial teams. No generic noise.

Why subscribe
Launch alerts, platform ideas, operator context, and deployment guidance for teams moving fast.
Trust CenterSecurity, compliance, and audit posture

Products

  • Messaging API
  • SMS
  • WhatsApp Business
  • Voice API
  • USSD
  • Payments
  • AIT Assist
  • AI Chatbots

Platform

  • Countries
  • Telecom
  • AI Platform
  • Network
  • Onboarding
  • Unified API
  • Security

Solutions

  • Financial Services
  • E-Commerce
  • Healthcare
  • Government
  • Enterprise

Developers

  • Documentation
  • API Reference
  • SDKs
  • Quickstart
  • Status Page
  • Community

Company

  • About Us
  • CareersHiring
  • Blog
  • Partners
  • Trust Center
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Commercial License
  • SLA
A
AfriRoute
© 2026 AfriRoute Communications Platform. All rights reserved.
SOC 2 (2026)99.9%+ Uptime TargetGlobal Coverage

AfriRoute is a global Communications Platform as a Service (CPaaS), infrastructure, and AI orchestration platform built for high-regulation and high-resilience markets. Programmable APIs for messaging, voice, USSD, mobile money payments, and contact center operations. Born in Africa. Built for the world's most complex markets. AfriRoute is not affiliated with mining, logistics, commodity intelligence, or precious metals businesses using a similar name.