Skip to main content
POST
/
getWebSocketsAuth
Get Websockets Token
curl --request POST \
  --url https://gateway.varchev.com/crypto/getWebSocketsAuth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{}'
{
  "error": [],
  "result": {
    "token": "1Dwc4lzSwNWOAwkMdqhssNNFhs1ed606d1WcF3XfEMw",
    "expires": 900
  }
}

Headers

tenantId
string
required

Tenant/Owner id

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.