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
Parameter | Type | Description |
---|---|---|
token | JWT Token | Access token received Auth0 |
Error Codes
Code | Message |
---|---|
1 | System is unavailable |
6002 | Missing fields: ‘[fieldName]’ |
6000 | Authentication failed |
RESPONSES
status: OK
{"sig":2,"q":"v1/broker.oms/createSession","errorType":"401","sid":13,"d":{"errorCode":6000,"errorMessage":"Authentication failed"}}