v45

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

Test call with draft config

Deprecated. Test-calls are exempt from the v1 write-block and remain functional. Migrate to POST /agent/{id}/branches/{branchId}/test-call with includeDraft: true. Will be removed at the sunset date.

Initiate a test call using the draft's resolved configuration.

post/agent/{id}/drafts/{draftId}/test-call

Path parameters

idstring required

The agent ID.

draftIdstring required

The draft ID

Request body

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

Test call mode. Defaults to webcall when omitted.

toPhonestring

Phone number to call. Required only when mode is telephony. Omit for webcall and chat.

Response

Test call initiated

statusboolean

Example response

{
  "status": true
}