# guardrail.triggered

Webhook event `guardrail.triggered`, sent as `POST` to your webhook endpoints.

Live: a sentence the assistant was about to say was not spoken. `source`: your assistant's banned phrases (`banned_phrase`), your `assistant.before_speak` hook (`hook`) or the AI safety rules (`moderation`). `action`: `replaced` (`replacement` was said instead) or `blocked` (nothing was said). The transcript shows what the caller heard.

## Payload

| Field | Type | Description |
| --- | --- | --- |
| `id` | `string` | The event ID. Receivers deduplicate on it (it is also the `webhook-id` header). |
| `object` | `"event"` | — |
| `type` | `"guardrail.triggered"` | — |
| `created` | `string` | An ISO-8601 timestamp in UTC. |
| `api_version` | `string` | The API version the payload is rendered in (the endpoint's pinned version). |
| `livemode` | `boolean` | `true` in live mode, `false` in test mode. |
| `org_id` | `string` | The organisation the event belongs to. |
| `data` | `object` | `object` is the object the `guardrail.triggered` event is about. |
| `data.object` | `object` | — |
| `data.previous_attributes` | `object` | For `*.updated`-style events: the changed attributes' previous values. |
| `request` | `object` | — |
| `request.id` | `string \| null` | `req_…` ID. |
| `request.idempotency_key` | `string \| null` | That request's Idempotency-Key, if any. |

Example:

```json
{
  "api_version": "2026-11-01",
  "created": "2026-11-03T09:14:22.000Z",
  "data": {
    "object": {
      "action": "replaced",
      "call_id": "call_8tRPaZp5hLMbrGqdJ9AmNa",
      "match": "guaranteed",
      "replacement": "I can't promise that, but I can explain how it works.",
      "source": "banned_phrase",
      "text": "Results are guaranteed.",
      "turn": 3
    }
  },
  "id": "evt_3fT9kq2ZpLr8YwVbN1cX0a",
  "livemode": true,
  "object": "event",
  "org_id": "org_0000000000000000000001",
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "guardrail.triggered"
}
```

Verify every delivery before you trust it: https://docs.morevoice.ai/webhooks/verify/
