Websocket API
Access the Sonoran CAD API via WSS to reduce authentication overhead for frequent API calls.
Use the websocket API for persistent, low-overhead integration traffic.
For frequent live-map location updates, prefer the websocket API over the HTTP v2 endpoint:
Websocket
unitLocationupdates can be sent every200msminimum. In practice, sending every250msis a safe default.HTTP v2
PATCH /v2/emergency/servers/{serverId}/unit-locationsis rate limited to12 requests per minute, which is effectively one request every5 seconds.
Current websocket API features include:
Authenticating once and reusing the session for repeated calls
Sending frequent
unitLocationupdates for the live mapReceiving Sonoran CAD
pushEventmessages for a specificserverId, including normal push-event traffic before HTTP listener fallback is used
Pages
Last updated
Was this helpful?

