# Set E911

## GET or POST Request

{% hint style="info" %}
<https://v1.api19.com/e911/set>
{% endhint %}

Set 911 information for a number

## HTTP Post Variables Supported

<table data-header-hidden><thead><tr><th width="123.9090576171875"></th><th width="108.54547119140625"></th><th></th></tr></thead><tbody><tr><td>Argument</td><td>Required</td><td>Type</td></tr><tr><td>did</td><td>yes</td><td>10 digit number</td></tr><tr><td>key</td><td>yes</td><td>api key</td></tr><tr><td>address1</td><td>yes</td><td>string</td></tr><tr><td>address2</td><td>no</td><td>string</td></tr><tr><td>city</td><td>yes</td><td>string</td></tr><tr><td>state</td><td>yes</td><td>2 character state code</td></tr><tr><td>zip</td><td>yes</td><td>string</td></tr></tbody></table>

{% tabs %}
{% tab title="Curl Post" %}

<pre class="language-php"><code class="lang-php"><strong>curl https://v1.api19.com/e911/get \
</strong> -d 'key=api_token' \
 -d 'did=5555555555' \
 -d 'address1=123 Some Street' \
 -d 'city=Denver' \
 -d 'state=CO' \
 -d 'zip=55555'
</code></pre>

{% endtab %}

{% tab title="JSON Response" %}

```json
{
  "status":"ok",
  "data":"E911 updated"
}
```

{% 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://apidocs.api19.com/e911/set-e911.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.
