v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agent Versioning - Branches

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.

post/agent/{id}/branches/{branchId}/test-call

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Request body

includeDraftboolean

When true, the test call uses the branch's open draft. Mutually exclusive with revisionId.

revisionIdstring

Test against a specific committed revision on the branch. Mutually exclusive with includeDraft: true.

mode'webcall' | 'chat' | 'telephony'
toPhonestring

E.164-formatted number. Required when mode is telephony. Omit for webcall and chat.

Response

Test call initiated.

statusboolean

Example response

{
  "status": true
}