Request Authentication Token
WebSocket connection token can be generated using this REST endpoint as shown below.
Domain: Authentication
Request
Section titled “Request”POST https://trade-uk.sandbox.zodiamarkets.com/api/3/zm/rest/auth/tokenHeaders
Section titled “Headers”| Header | Required | Description |
|---|---|---|
Rest-Key |
yes | API Key for authentication |
Rest-Sign |
yes | Calculated API Signature |
| Field | Type | Required | Description |
|---|---|---|---|
tonce |
integer (int64) | yes | The current Unix time in microseconds. |
Responses
Section titled “Responses”SUCCESS
Section titled “SUCCESS”| Field | Type | Required | Description |
|---|---|---|---|
token |
string | ||
message |
string |
Failed
Section titled “Failed”| Field | Type | Required | Description |
|---|---|---|---|
token |
string | ||
message |
string |