...
To create a token use the "token" query parameter in a session GET request:
Code Block |
---|
https://traccariot.powunity.com/api/session?token=YOUR_ACCESS_TOKEN |
...
In addition to the REST API, we provide access to a WebSocket endpoint for live location updates and events. The URL for the connection:
Code Block |
---|
wss://traccariot.powunity.com/api/socket |
Session cookie is the only authorization option for the WebSocket connection.
...
Info |
---|
Non-alert events are ignored for non-b2b users or in case disableWebhooks is "true"! |