API Reference
Receive USSD session callback
Webhook your application must implement. When a subscriber dials your USSD code, Beem POSTs session events (initiate, continue, terminate) to the callback URL configured in the Beem dashboard. Respond with the next menu prompt. Replace the server URL with your own HTTPS endpoint.
POST
Body
application/json
Session phase: initiate (first dial), continue (ongoing), or terminate (close session).
Available options:
initiate, continue, terminate Subscriber mobile number.
Mobile network operator, e.g. vodacom, tigo, airtel, halotel, ttcl.
Unique session identifier for the USSD transaction.
Response
200 - application/json
Return the next USSD menu or session termination prompt
