Guides
Webhooks
Receive real-time notifications when events occur.
Overview
Webhooks let you receive HTTP POST notifications when events happen in the Cara platform. Instead of polling the API, configure a webhook URL and we'll send events to you in real time.
Supported events
| Event | Description |
|---|---|
patient_created | A new patient record was created. |
patient_updated | A patient record was updated. |
appointment_booked | An appointment was booked. |
appointment_cancelled | An appointment was cancelled. |
form_submitted | A form submission was received. |
email_opened | A tracked email was opened. |
email_clicked | A link in a tracked email was clicked. |
Webhook payload
All webhook payloads follow this structure:
Configuring webhooks
Configure your webhook URL in the platform under Settings > Integrations or via the API:
Verifying webhooks
Webhook requests include an x-cara-auth header with the N8N API key configured in your settings. Verify this header to ensure the webhook is authentic:
Best practices
- Respond quickly — Return a 200 status within 5 seconds. Process events asynchronously.
- Handle duplicates — Webhooks may be delivered more than once. Use idempotency keys.
- Verify signatures — Always validate the
x-cara-authheader. - Log everything — Keep logs of received webhooks for debugging.