Sendexa LogoDocs

USSD Webhooks

Monitor USSD sessions asynchronously with real-time webhooks.

Session Stats

Receive webhooks about session duration and completion status.

Reliability

Webhook retries ensure you get the data even if your server is briefly down.

Session Completion Webhook

Once a USSD session is finalized, we can send an asynchronous summary to your configured webhook URL.

Payload Example

JSON
{
"event": "ussd.session.completed",
"timestamp": "2024-01-15T10:31:00Z",
"data": {
"sessionId": "ussd_sess_987654321",
"phone": "233555539152",
"network": "MTN",
"duration": 55,
"totalSteps": 4,
"status": "success"
}
}

Webhooks for USSD are useful for analytics and reconciliation, but the primary logic of your application should reside in your actionUrl handler.