Authentication
Property
Type
Command
const authMessage = {
type: 'authenticate',
apiKey: '<API_KEY>',
enterprise: true
}
ws.send(JSON.stringify(authMessage))auth_message={
"type": "authenticate",
"apiKey": "<API KEY>",
"enterprise": True
}
await ws.send(json_dumps(auth_message)){
"type": "success",
"sequence": 2,
"timestamp": 1649898453577592461,
"payload": {
"action": "authenticate"
},
"action": "authenticate"
}{
"type": "error",
"sequence": 2,
"timestamp": 1649898453577592461,
"payload": {
"action": "authenticate"
},
"action": "authenticate"
}Last updated