ErasureDocs
Webhooks

Webhooks

Consent project webhooks and Rights delete webhook Systems.

Webhooks

Erasure has two different outbound webhook ideas. Do not mix them up.

KindProductPurpose
Project consent webhookAccordNotify your backend when consent updates
Webhook SystemRightsSigned delete notifications during fulfillment jobs

Optional project setting: notify your backend when consent updates after a receipt is stored (async; does not block the SDK).

TopicDocumented behaviour
Eventconsent.updated
Signature headerX-Accord-Signature: HMAC-SHA256 of the raw body
SecretSigning secret encrypted at rest (same class as connector secrets)
DeliveryHMAC signature; SSRF checks; no unsafe redirects
ConsoleProject settings; webhook get/put; regenerate secret (Owner); test when supported
IntegrationVerify on the server (Express/Fastify examples in console Develop where present)

Config surface: project webhook get/put, regenerate secret (Owner), test, under project-scoped Accord routes.

TODO: Publish full JSON payload schema field-by-field when product freezes a public schema. Until then, verify signature on the raw body and treat unknown fields as additive.

  • Endpoint HTTPS in production
  • Verify X-Accord-Signature on raw body
  • Idempotent handling (retries may exist)
  • Never log raw signing secrets

2. Rights Webhook System

A System connector type that receives signed delete notifications when Rights jobs run.

TopicDocumented behaviour
WhereRights → Systems → Webhook
ConfigEndpoint URL
AuthSigning secret (encrypted at rest)
ExecutionPOST signed payload; no redirect following
LimitsTreat as notification, not sole delete path
RotateOwner rotate; secrets may reveal once

Guide: Connect a Webhook.

Prefer a real delete capability (SQL/HTTP) when you need guaranteed erasure; use webhook Systems to notify systems Erasure cannot reach inbound.


Security checklist

  • Secrets never committed
  • Signature verified (consent: X-Accord-Signature, HMAC-SHA256 raw body)
  • Endpoint not open redirector
  • Idempotent handling on your side
  • SSRF-safe endpoints

Systems · SDKs · Security · Consent