Overview
Clarion delivers all webhooks for your organization to one endpoint. You configure that endpoint (URL and optional secret) using the endpoints below. A single payload field,webhook_event, tells your receiver which event triggered the delivery. See End of Call and End of Sequence Report for the payload shapes.
Delivery Model
- One URL per organization. Every webhook Clarion sends goes to this URL.
- Opt-in per agent / campaign. Whether a given voice agent or sequence definition emits a webhook is a separate per-entity setting managed in the Clarion dashboard. If the agent or campaign has webhooks disabled, no delivery is attempted.
- Secret is optional. If you set a
secret, Clarion includes it as anX-Clarion-Secretheader on every request so your receiver can verify the caller. Every request is also signed; see Verifying Webhook Signatures.
Where to Read Webhook Configuration
UseGET /config/organization/webhook to read webhook settings.
Get the Current Webhook Configuration
Returns the organization’s current webhook configuration, ornull if none is set.
Response
Whether a shared secret is configured. When
true, Clarion sends it in the
X-Clarion-Secret header on deliveries.Create or Update the Webhook Configuration
Upserts the organization’s webhook configuration. If a row exists it is updated; otherwise it is created.Request Body
The endpoint Clarion will POST webhook payloads to. Must be reachable from the
public internet.
Optional shared secret. When set, Clarion sends it in the
X-Clarion-Secret
header on every delivery.Write behavior: omit the field to leave the stored secret unchanged; pass a
string to set or replace the secret; pass null to remove it.Response
Returns the saved configuration, with the same shape asGET /config/organization/webhook.
Delete the Webhook Configuration
Removes the organization’s webhook configuration. After deletion, Clarion stops delivering webhooks for the organization until a new configuration is created. Returns204 No Content.
