> For the complete documentation index, see [llms.txt](https://docs.therocketcad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.therocketcad.com/developers/new-endpoints/panic-button.md).

# Panic Button

## Panic Button

<mark style="color:green;">`POST`</mark> `https://api.therocketcad.com/api/1.1/wf/panic?api_key=DEVELOPER_TESTING`

This endpoint allows you to initiate a panic button for an on-duty unit

#### Query Parameters

| Name     | Type   | Description                                                                                                                |
| -------- | ------ | -------------------------------------------------------------------------------------------------------------------------- |
| api\_key | string | The API Key query parameter is required for all requests. API Keys can be generated from the Owner Panel > API Access tab. |

#### Request Body

| Name     | Type   | Description                                              |
| -------- | ------ | -------------------------------------------------------- |
| ServerID | string | The ID of the Server (Found on Owner Panel > API Access) |
| SteamHex | string | The Steam Hex of the user, formatted with regard to      |
| Name     | string | The Name/Callsign of the Unit                            |
| Street   | string | The Street Location of the Unit                          |
| Cross    | string | The Cross Street Location of the Unit                    |
| callX    | string | The X-Coordinate Location of the Unit                    |
| callY    | string | The Y-Coordinate Location of the Unit                    |

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

```
{
    "status": "success",
    "response": {
        "success": true,
        "message": "Panic Button Successfully Sent!",
        "requestID": "JFBFJMUPVK5OYRF"
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.therocketcad.com/developers/new-endpoints/panic-button.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.
