WebRTC

Create WebRTC agent routing code

Creates a code that lets WebRTC clients connect to your agent.

post/v1/webrtc/codes

Request

Query parameters

expires_ininteger nullable

Lifetime of the code in seconds. If omitted, the code never expires.

labelstring nullable

Human-readable label for the code.

require_tokenboolean

If true, clients must present a token to connect, not just the code.

Response

Successful Response

webrtc_codestring required
labelstring nullable required
require_tokenboolean required
created_atstring date-time required
expires_atstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.