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

# LB Phone 911 Integration

For servers running LB Phone, the `cad-lbphone` resource forwards in-game phone 911 calls and texts directly to dispatch, with two-way SMS replies back to the player.

## Submit a 911 Call

```
POST /api/fivem/lbphone/911
```

Rate-limited per community (separate counter from `/api/fivem/911`).

### Request Body

```json
{
  "callId": "lbphone-internal-id",
  "callerNumber": "555-1234",
  "callerName": "John Doe",
  "callType": "911 Call",
  "location": "Grove Street",
  "postal": "123",
  "coordinates": { "x": 100.0, "y": 200.0, "z": 50.0 },
  "description": "Shots fired",
  "priority": "high",
  "serverName": "My RP Server"
}
```

At least `location` or `callerNumber` is required.

### Response

```json
{
  "success": true,
  "_id": "60f7b2c8e1234a001f345678",
  "incidentNumber": "INC-1717012345678",
  "message": "LB Phone 911 call received."
}
```

## Update an Existing LB Phone 911 Call

```
POST /api/fivem/lbphone/911/update
```

### Request Body

```json
{
  "cadCallId": "60f7b2c8e1234a001f345678",
  "status": "on-scene",
  "location": "Updated address",
  "postal": "123",
  "coordinates": { "x": 100.0, "y": 200.0, "z": 50.0 },
  "note": "Caller hung up"
}
```

Valid statuses: `pending`, `assigned`, `enroute`, `on-scene`, `closed`, `cancelled`.

## Forward a Text Message to Dispatch

```
POST /api/fivem/lbphone/text
```

### Request Body

```json
{
  "senderNumber": "555-1234",
  "message": "There's been an accident at..."
}
```

## Poll Dispatch Replies

```
GET /api/fivem/lbphone/dispatch-replies
```

Resources poll this on a short interval to deliver dispatcher replies as SMS to the player's phone.

### Response

```json
{
  "success": true,
  "replies": [
    {
      "recipientNumber": "555-1234",
      "message": "Unit en route.",
      "cadCallId": "...",
      "timestamp": "2026-05-18T12:00:00Z"
    }
  ]
}
```
