Auth
Overview
You must successfully call private/auth first before making other private API calls.
Request Parameters
| Name | Type | Description |
|---|---|---|
| Signalplus-API-Signature | string | Signature |
| Signalplus-API-Timestamp | long | Valid timestamp (e.g., 1672387200000). Must be the most recent timestamp |
| Authorization | string | Sign key (e.g., Bearer ApiKey) |
| Signalplus-API-Nonce | string | Required to be unique each time |
Request Example
{
"method": "private/auth",
"rid": 2,
"params": {
"Signalplus-API-Signature": "TgetUEEUbYX/RDasFQcMVs3QRYGQ5WmJMbzJlRymIdk=",
"Signalplus-API-Timestamp": 1755243445450,
"Authorization": "Bearer tyx100681yuxiang",
"Signalplus-API-Nonce": "175524344545000"
}
}
Response Examples
Success:
{"rid": 2, "jsonrpc": "2.0", "result": 200, "error": null}
Failed:
{"rid": 2, "jsonrpc": "2.0", "error": {"code": 403, "message": "token invalid"}}