Webhooks

Outbound: content changed

Set SVITRIO_CONTENT_WEBHOOK_URL (and optionally SVITRIO_CONTENT_WEBHOOK_SECRET) on the instance. On a node update/publish or a translation write, svitrio fires a fire-and-forget POST:

POST <your-url>
X-Svitrio-Secret: <secret>

{ "event": "translation.updated", "project_id": "01K…" }

Best-effort: a slow or down receiver never blocks the request that triggered it. This is exactly how svitrio.com rebuilds itself the moment its content is edited.

Inbound receivers

  • POST /api/p/{ref}/billing/webhooks/{kind} — payment-provider events, verified by HMAC signature against the provider config’s webhook_secret. Idempotent on the provider event id.

  • POST /api/p/{ref}/tickets/inbound (+ /inbound/brevo) — inbound email → ticket, gated by SVITRIO_TICKETS_INBOUND_SECRET / SVITRIO_TICKETS_BREVO_SECRET (unset ⇒ 404).