Skip to main content
When a subscriber dials your USSD code, Beem POSTs session events to your callback URL. Your application processes each event and returns the next menu prompt until the session ends. See Receive USSD session callback for the interactive API reference.

Callback flow


Inbound request fields

Beem sends a JSON body on every session step:

Outbound response fields

Return HTTP 200 with a JSON body:
In your response, the payload field is request (the menu text). In Beem’s inbound request, the equivalent subscriber input field is response.

Sample requests


Sample responses


Sample implementations


Session commands

Respond within the operator timeout window (typically a few seconds) to avoid session failure.