Create WebRTC test call
Starts a browser call that runs the flow definition sent in the request
instead of the published version, so changes can be tried before
publishing. The definition is validated first. The call is recorded with
version draft and billed like any other call.
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Request
This endpoint expects an object.
definition
Flow definition to run instead of the published version
flowId
Flow ID to test with a draft definition
metadata
Additional metadata to attach to the call
Response
WebRTC test call created
callId
Unique call identifier
flowId
Flow ID used for the AI conversation
status
Current call status
botId
Identifier of the agent instance serving the call, if one is assigned yet
offerDeadlineAt
The agent waits for your SDP offer until this time (RFC 3339), then releases itself and the call can no longer start. Send the offer well before it: connecting still takes a few seconds after the offer. Absent when no agent is assigned or the agent did not report its window.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error