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