Skip to main content

Create Test Run

Execute a workflow without placing a real phone call
1 min read
post/api/v1/workflow/{workflow_id}/runs
Request example
Response
post/api/v1/workflow/{workflow_id}/runs

Creates the run record used by an editor chat or voice session, using the current draft and test context. This request does not itself complete a conversation or establish the media connection. Use the editor or the appropriate session transport to run the test, then inspect its results.

Path parameters

workflow_idintegerrequired#

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
modestringrequired#
namestringrequired#

Responses

application/json
Successful Response
idintegerrequired#
workflow_idintegerrequired#
namestringrequired#
modestringrequired#
created_atstringrequired#
definition_idintegerrequired#
initial_contextobject · null#
Show child attributes