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

# Alerts

> Test alert configurations

Test alert configurations to ensure they're working correctly.

<RequestExample>
  ```bash theme={null}
  curl -X POST https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/alerts/test \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "alert_type": "security_incident",
      "recipient": "security@example.com"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "sent": true,
    "message": "Test alert sent successfully"
  }
  ```
</ResponseExample>

## Notes

* Requires tenant admin role
* Test alerts are sent immediately
* Use to verify alert delivery configuration
