> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/api-and-integrations/api-integrations/emergency-endpoints/create-911-call.md).

# Create 911 Call

This endpoint allows you to create a call that is specific to an emergency call.

{% hint style="warning" %}
This endpoint requires **any** ImperialCAD subscription.
{% endhint %}

### Create911Call(data, callback)

<mark style="color:green;">`POST`</mark> `https://imperialcad.app/api/1.1/wf/create911call`

***

#### Request Body

| Name          | Type   | Description      |
| ------------- | ------ | ---------------- |
| `name`        | string | Caller's name    |
| `street`      | string | Street name      |
| `crossStreet` | string | Cross street     |
| `postal`      | string | Postal           |
| `city`        | string | City of Call     |
| `county`      | string | County of Call   |
| `info`        | string | Call information |

***

{% tabs %}
{% tab title="Example" %}

```lua
exports["ImperialCAD"]:Create911Call({
    name = "Caller Name",
    street = "Main St",
    crossStreet = "2nd Ave",
    postal = "102",
    city = "Los Santos",
    county = "Los Santos County",
    info = "Suspicious vehicle parked on the curb"
  }, function(success, res)
  print(success and "Call sent!" or ("Failed: " .. res))
end)
```

{% endtab %}

{% tab title="Response of Example" %}

```lua
{
  "status": "success",
  "response": {
    "callId": "A1B2C3D4E5",
    "callnum": 203
  }
}
```

{% endtab %}
{% endtabs %}
