Simulate a session (sandbox)
hellio_ussd_simulateSimulate USSD sessions in test mode without telco or charges. Start with new_session and empty input, then continue with the same session ID and subsequent inputs until the reply returns action: end.
Instructions
Drives a USSD session against one of your own apps in test mode, with no telco, no purchased extension, and no charge. Open with new_session: true and empty input, then repeat with the same session_id and the next input until the reply returns action: end. Requires the ussd scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The subscriber's input for this step. Empty on the first step. | |
| app_id | Yes | The id of one of your USSD apps to simulate. | |
| msisdn | Yes | The simulated subscriber number. | |
| session_id | Yes | Any stable id you choose for this session. | |
| new_session | No | True to open a fresh session. | |
| service_code | No | Optional dialled code. Defaults to the shared short code. |