> For the complete documentation index, see [llms.txt](https://cde-inc.gitbook.io/cde-cad-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cde-inc.gitbook.io/cde-cad-documentation/fivem-developer-integration/websocket-events.md). Agents can also search and read this documentation through its [MCP server](https://cde-inc.gitbook.io/cde-cad-documentation/~gitbook/mcp).

# WebSocket Events Reference

Successful FiveM API calls emit Socket.IO events that dispatch UIs can subscribe to. You generally do **not** consume these from FiveM (they exist for the CAD frontend), but knowing they fire helps you debug dispatch panel behavior.

| Event                  | Emitted by                                                                                      |
| ---------------------- | ----------------------------------------------------------------------------------------------- |
| `new-call` / `newCall` | `/api/fivem/911`, `/api/fivem/traffic-stop`, `/api/fivem/lbphone/911`, `/api/fivem/ers/callout` |
| `911-marker-added`     | 911 + traffic-stop endpoints when coordinates are present                                       |
| `lbphone-911`          | `/api/fivem/lbphone/911`                                                                        |
| `panic-button`         | `/api/fivem/panic`                                                                              |
| `unitLocationUpdated`  | `/api/dispatch/location-update`                                                                 |
| `call-updated`         | `/api/fivem/lbphone/911/update`                                                                 |
| `alprHit`              | `/api/fivem/alpr/hit`                                                                           |
