Agent Versioning - Drafts

Test call with draft config

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

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

Path parameters

idstring required
Example:60d0fe4f5311236168a109ca

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
}

Changes