Relay public WebRTC offer
POST /api/v1/public/calls/calls/{callId}/offer
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Path parameters
callId
Call ID
Request
This endpoint expects an object.
sdp
WebRTC SDP offer string
iceServers
ICE servers to forward to the bot for WebRTC connection
useSmartTurn
Whether to use smart TURN server selection
Response
SDP answer
sdp
WebRTC SDP answer string
sdpType
SDP type (always “answer”)
botId
Bot ID that will handle this call
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error