Agent Versioning - Versions

Test call with version config

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
Example:60d0fe4f5311236168a109ca

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
}

Changes