guardrail.triggered
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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”The event ID (evt_…); the same on every retry. Deduplicate on it.
Example
evt_3fT9kq2ZpLr8YwVbN1cX0aUnix seconds of this delivery attempt. Reject deliveries more than 5 minutes old.
Example
1762161262Space-separated v1,<base64 HMAC-SHA256> signatures of <webhook-id>.<webhook-timestamp>.<body> with the endpoint secret (two while a secret rotates).
Example
v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=Request Bodyrequired
Section titled “Request Bodyrequired”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.
object
The API version the payload is rendered in (the endpoint’s pinned version).
An ISO-8601 timestamp in UTC.
object is the object the guardrail.triggered event is about.
object
object
The banned phrase or rule that matched (banned_phrase, moderation).
What was said instead, with action: replaced.
The sentence that was not said (personal details masked; at most 300 characters).
The assistant’s turn in the call (from 0).
For *.updated-style events: the changed attributes’ previous values.
object
The event ID. Receivers deduplicate on it (it is also the webhook-id header).
true in live mode, false in test mode.
The organisation the event belongs to.
Example
{ "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"}Responses
Section titled “Responses”Acknowledge the event with any 2xx status within 15 seconds. Anything else, or a timeout, is retried for up to 72 hours.