# Create 911 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imperialcad.app/api-and-integrations/api-integrations/emergency-endpoints/create-911-call.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
