Skip to main content
POST
/
v2
/
workspaces
/
{workspace_id}
/
sessions
/
{session_id}
/
peers
Add Peers To Session
curl --request POST \
  --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id}/peers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "is_active": true,
  "workspace_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "metadata": {},
  "configuration": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace

session_id
string
required

ID of the session

Body

application/json

List of peer IDs to add to the session

{key}
SessionPeerConfig · object

Response

Successful Response

id
string
required
is_active
boolean
required
workspace_id
string
required
created_at
string<date-time>
required
metadata
Metadata · object
configuration
Configuration · object