Send a WebRTC offer (browser)
Sends the browser’s SDP offer (sdp, type, optional pc_id and restart_pc) and returns the answer (sdp, type, pc_id); the agent starts once the connection is up. Call it straight from the page with the session’s X-Webcall-Grant and no API key; the session must have been created with allowed_origin set to this page’s origin. The grant is single-use: a second, different offer is refused with 409, and an identical retry returns the same answer.
Auth: the session’s X-Webcall-Grant only, no API key. Call it from the browser on the session’s allowed_origin; other origins get 403.
Authorizations
A web call's single-use grant, from POST /v1/web-call-sessions (created on your server with your API key and allowed_origin). Only the browser's /client operations take it, from that origin only; they need no API key.
Headers
The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.
2026-11-07 "2026-11-07"
Path Parameters
Body
Small WebRTC transport session arguments for the runner.
Parameters: sdp: The SDP string (Session Description Protocol). type: The type of the SDP, either "offer" or "answer". pc_id: Optional identifier for the peer connection. restart_pc: Optional whether to restart the peer connection. request_data: Optional custom data sent by the customer.