Authentication

Channel

private/auth

Description

You must successfully call private/auth first before accessing private channels.

Parameters

Parameter Type Required Description
signature string true Signature
timestamp long true Valid timestamp, for example: 1672387200000. Must be the most recent timestamp
authorization string true Sign Key, for example: Bearer ApiKey
nonce string true Required to be unique each time

Request Example

{
  "method": "private/auth",
  "rid": 2,
  "params": {
    "signature": "TgetUEEUbYX/RDasFQcMVs3QRYGQ5WmJMbzJlRymIdk=",
    "timestamp": 1755243445450,
    "authorization": "Bearer tyx100681yuxiang",
    "nonce": "175524344545000"
  }
}

Response Example

Success:

{
  "rid": 2,
  "jsonrpc": "2.0",
  "result": 200,
  "error": null
}

Failed:

{
  "rid": 2,
  "jsonrpc": "2.0",
  "error": {
    "code": 403,
    "message": "token invalid"
  }
}

results matching ""

    No results matching ""