PUB wss://test-api.synquote.com/ws
This request authenticates a WebSocket connection for a particular account.
REQUEST
HEADER PARAMS
msg_type string required |
id number required |
version integer required |
BODY PARAMS
signature string required |
cancel_on_disconnect bool required |
send_heartbeats bool required |
Example
[
{
"msg_type":"authenticate",
"id": 1002,
"version": 1
},
{
"signature": "test_signature",
"cancel_on_disconnect": true,
"send_heartbeats": true,
}
]RESPONSE
account_id string |
status string |
Example
[
{
"msg_type":"authenticate_response",
"id": 1002,
"version": 1
},
{
"account_id": "0x9f58498b98348b9BFbE53F0E18AA818a4Be0aE49",
"status": "authenticated"
}
]