Session
Generate Session
To establish a websocket connection, you must first generate a session ID. This session ID is required for authenticating your websocket connection.
Request
Endpoint:
POST {baseUrl}/auth/session
Headers: Provide your
appId
andappSecret
in the request headers.
Response
The session ID is included in the response body as shown below.
Session Expiry: The generated session ID is valid for 6 hours. After expiry, you will need to generate a new session.
To connect to the websocket, include the session ID as a request query param. Detailed instructions on how to establish a websocket connection can be found here
Last updated
Was this helpful?