Skip to main content

Add a Session Source

Adds a source to a session.

Authorizations: Sessions - CHANGE_SOURCES

Requests

POST /apis/sessions/:sessionId/sources
{
"sourceId": "f4327f7b-3917-4533-b844-8818741cb0bd"
}

Response

Success

{
"data": {
  "sourceId": "f4327f7b-3917-4533-b844-8818741cb0bd",
  "index": 4
}}

Error

Code

Payload

 Description

400
{"code":"010001", "name":"InputValidation",
"message":<Error message>,
"httpStatusCode":400}

Supplied data was insufficient or incorrect.

403
{"code":"040006", "name":"SessionHidden",
"message": "Session hidden",
"httpStatusCode": 403}

Session is hidden and requester does not own the session.

404
{"code":"040006", "name":"SessionNotFound",
"message":"Session not found", "httpStatusCode":404}

Could not find session with the provided id.

404
{"code":"040009", "name":"SourceNotFound",
"message":"Source not found", "httpStatusCode":404}

Source with UUID sourceId not found.

409
{"code":"060003", "name":"RecordingInProgress",
"message":"Recording currently in progress",
"httpStatusCode":409}

There is an active recording on this session.

409
{"code":"060008", "name":"SessionSourceAlreadyExists",
"message":"Source already added to this session",
"httpStatusCode":409}

This source was already added to this session.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.