Generate Phone Scenarios
Generate phone test scenarios (inbound — the simulator calls the bot). Generation may run in the background; generated scenarios are saved automatically. Poll GET /api/projects/{project_id}/phone-scenarios/saved to retrieve them, and delete any you don't want to keep.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Body
application/jsonNumber of scenarios to generate (1-20)
List of personas to use for scenarios. If empty or None, all available personas will be used
Special instructions for scenario generation, e.g., multilingual scenarios
List of languages to use for scenarios. If empty or None, default languages will be used
When true, all generated scenarios will have DTMF enabled
IVR navigation instructions to store on each generated scenario (injected into prompt at call time)
Optional subset of scenario generation types to focus on. Phone callers support 4: happy-path (plain/untagged baseline), negative, edge-case, red-team (integration is not applicable to voice). If empty or None, defaults to the full 4-type mix — happy-path stays plain, the other three are tagged. Send ['normal'] to force fully plain generation.
Response
application/jsonSuccessful Response
Generated phone scenarios