createSession

WS v1/broker.oms/createSession

The createSession API lets you authenticate to Nebula Reporting API.
Prior to any Reporting API call you must create a valid session, this session remains active as long as WebSocket connection remains open.

Request

ParameterTypeDescription
tokenJWT TokenAccess token received Auth0

Error Codes

CodeMessage
1System is unavailable
6002Missing fields: ‘[fieldName]’
6000Authentication failed

RESPONSES

status: OK

{"sig":2,"q":"v1/broker.oms/createSession","errorType":"401","sid":13,"d":{"errorCode":6000,"errorMessage":"Authentication failed"}}