Edit Phone Scenario
Edit an existing phone scenario.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Body
application/jsonThe ID of the scenario to edit
The name or title of the scenario
A brief description of what the scenario is testing (generic, no hardcoded test data)
The persona used in this scenario
List of expected outcomes/validation criteria with {placeholders} for test data
The first speaker in the scenario
Optional test profile ID to associate with this scenario
Whether this scenario reserves a dedicated phone number
Optional agent profile ID to associate with this scenario
Maximum call duration in seconds (60-3600). Defaults to 500 if not set.
Whole-call silence cap in seconds (30-180). The call is ended if neither party speaks for this long. Defaults to 30s if not set.
Whether this scenario requires DTMF tool for IVR navigation
User-provided IVR navigation instructions injected verbatim into the prompt
Enable for scenarios where the agent under test transfers the call to a human. The simulator waits silently for the human to pick up and continues the conversation with them, instead of ending the call on the transfer.
Inbound region override for this scenario (e.g. 'us', 'eu'). Null clears the override and inherits the suite-level region.
VAPI assistant tool IDs enabled for this scenario.
Scenario instructions for triggering the selected VAPI tools of the agent under test.
Response
application/jsonSuccessful Response
Whether the operation was successful
Response message
The updated scenario