---
title: "POST safety_alert_created"
method: POST
path: "safety_alert_created"
---

# POST safety_alert_created

`POST safety_alert_created` (webhook)

Sent when an approved safety alert is available for an API project.
Retrieve the alert with a project API key granted `api.safety.alerts.read`.

## Payload

- WebhookSafetyAlertCreated: Sent when an approved safety alert is available for an API project.
  - `id` string, required: The unique ID of the webhook event.
  - `object` 'event', required: Always `event`.
  - `created_at` integer, required: The Unix timestamp in seconds when the event was created.
  - `type` 'safety.alert.created', required: Always `safety.alert.created`.
  - `data` object, required
    - `id` string, required: The safety alert ID to pass to `GET /v1/safety/alerts/{id}`.

## Acknowledgement `200`

Return any 2xx status code to acknowledge receipt. A 410 Gone response also stops retries; other non-2xx responses are retried.

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
