> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobway.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Alerts

> Commands related to the vehicle alert.

### alert

Activate alert

* Description: activates the vehicle alert system by turning on the horn and lights. This can be useful, for example, when the vehicle is difficult to locate.

<Info>
  The alert stops after 30 seconds. Additional alerts can be sent in sequence.
</Info>

* Example:

```json theme={null}
{
  "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5",
  "vin": "6AHFT68CKAF501652",
  "command": "alert",
  "status": "Success",
  "detail": {
    "date_time": "2023-02-14 09:52:48"
  },
  "updated": "2023-02-14 09:53:48"
}
```

### cancel\_alert

Cancel alert

* Description: cancels a previously sent alert command.
* Preconditions:
  * The alert must have been previously activated by remote command.
* Example:

```json theme={null}
{
  "id": "8619b2df-1d68-40e1-8760-cf36f06d00b5",
  "vin": "6AHFT68CKAF501652",
  "command": "cancel_alert",
  "status": "Success",
  "detail": {
    "date_time": "2023-02-14 09:52:48"
  },
  "updated": "2023-02-14 09:53:48"
}
```
