> 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/dispatch-feed.md). Agents can also search and read this documentation through its [MCP server](https://cde-inc.gitbook.io/cde-cad-documentation/~gitbook/mcp).

# Dispatch Feed

Endpoints for a dispatch/CAD feed: the active call list and the units on duty.

{% hint style="info" %}
There is no push channel on the API-key path. Poll these endpoints. Every 5 to 10 seconds is reasonable for the call feed. The FiveM API key shares the standard rate limit (the community metrics endpoint documents `120/min`).
{% endhint %}

## Active Calls

```
GET /api/fivem/dispatch/calls
```

All active (non-closed, non-cancelled) calls for the community. `limit` defaults to 100 (max 200).

### Response

```json
{
  "success": true,
  "total": 1,
  "calls": [
    {
      "id": "INC-1717012345678",
      "incidentNumber": "INC-1717012345678",
      "callType": "ROBBERY",
      "location": "Legion Square",
      "postal": "342",
      "city": "Los Santos",
      "county": "Los Santos County",
      "description": "Armed robbery in progress",
      "status": "assigned",
      "priority": "high",
      "coordinates": { "x": 195.2, "y": -933.7, "z": 30.6 },
      "assignedUnits": [ { "unitId": "665f0a1b2c3d4e5f6a7b8c9d", "status": "enroute" } ],
      "createdAt": "2026-08-07T14:35:00.000Z",
      "updatedAt": "2026-08-07T14:36:10.000Z"
    }
  ]
}
```

## Units On Duty & Officer Identity

```
GET /api/fivem/dispatch/units
GET /api/fivem/dispatch/units?discordId=DISCORD_USER_ID
```

Without a `discordId`, returns every unit currently on duty in this community. With a `discordId`, returns just that officer's unit profile, or `unit: null` if they aren't in the community. That single-officer form is the officer-identity lookup: name, callsign, rank, department, and on-duty status for a Discord ID.

### Response

```json
{
  "success": true,
  "total": 1,
  "units": [
    {
      "discordId": "1234567890",
      "displayName": "Officer Smith",
      "callSign": "1-A-12",
      "rank": "Sergeant",
      "badgeNumber": "4021",
      "department": "Los Santos Police Department",
      "status": "10-8",
      "onDuty": true,
      "lastActive": "2026-08-07T14:35:00.000Z"
    }
  ]
}
```

Single-officer response:

```json
{
  "success": true,
  "unit": {
    "discordId": "1234567890",
    "displayName": "Officer Smith",
    "callSign": "1-A-12",
    "rank": "Sergeant",
    "badgeNumber": "4021",
    "department": "Los Santos Police Department",
    "status": "10-8",
    "onDuty": true,
    "lastActive": "2026-08-07T14:35:00.000Z"
  }
}
```
