v45

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

Test call with version config

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

| Initiate a test call using a specific published version's configuration. 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}/versions/{versionId}/test-call

Path parameters

idstring required

The agent ID.

versionIdstring required

The published version 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
}