Skip to main content
POST
Register a WebRTC connection

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Headers

Reactor-API-Version
string

The API protocol version the client speaks. Currently 1. Older versions than the server's minimum get 426.

Example:

"1"

Reactor-WebRTC-Version
string

The WebRTC signaling protocol version, as major.minor.

Example:

"1.0"

Path Parameters

session_id
string<uuid>
required

The session's ID, as returned by POST /sessions.

Body

application/json
client_info
object

The SDK the client uses. Optional, and recorded for diagnostics.

Response

The connection was registered.

connection_id
integer<int32>
required

The server-assigned connection ID, from 1002 to 4999.

Example:

4321