Start a test call against a branch
Start a test call using the branch’s current config. Send includeDraft: true to test the open draft, or send revisionId to test a specific committed revision on the branch. Sending both is a validation error.
The response always includes conversationId and callId. For webcall and chat, it also includes token, roomName, and host. Those fields are omitted for telephony.
Authentication
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Path parameters
Request
When true, the test call uses the branch's open draft. Mutually exclusive with revisionId.
Test against a specific committed revision on the branch. Mutually exclusive with includeDraft: true.
E.164-formatted number. Required when mode is telephony. Omit for webcall and chat.
Response
Returned by POST /agent/{id}/branches/{branchId}/test-call.