Skip to main content

Get Websockets Token

POST 

/private/GetWebSocketsToken

An authentication token must be requested via this REST API endpoint in order to connect to and authenticate with our Websockets API. The token should be used within 15 minutes of creation, but it does not expire once a successful Websockets connection and private subscription has been made and is maintained.

API Key Permissions Required: WebSocket interface - On

Request

Body

required
    nonce int64required

    Nonce used in construction of API-Sign header

Responses

Websockets token retrieved.

Schema
    result object
    token string

    Websockets token

    expires integer

    Time (in seconds) after which the token expires

    error string[]
Loading...