Add a participant to a session

Subscriptions can optionally be provided as part of this call

Request URL


Basic Authentication

Bandwidth WebRTC API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.

Request Body Parameters

Parameter Description
sessionId Session the subscriptions are associated with.
participants Subset of participants to subscribe to in the session. Optional.

Example: Add a participant to a session

curl -X PUT 
  --url '{accountId}/sessions/{sessionId}/participants/{participantId}' 
  -u '{username}:{password}' 
  -H 'Content-type: application/json' 
     --data-raw '
  "sessionId": "d8886aad-b956-4e1b-b2f4-d7c9f8162772",
  "participants": [



Potential Error Responses

HTTP/1.1 400 (Bad Request)
Content-Type: application/json
HTTP/1.1 401 (Unauthorized)
Content-Type: application/json
HTTP/1.1 403 (Access Denied)
Content-Type: application/json
HTTP/1.1 50x (Unexpected Error)
Content-Type: application/json

results matching ""

    No results matching ""