A consent change is only as good as its delivery. The store can be correct, the validation endpoint can be fast, and the withdrawal still fails if the marketing platform, the CRM and the partner API never hear about it. Notifications are therefore not a messaging feature bolted onto the consent system. They are the distribution layer of the consent decision.

Two audiences, two guarantees

DimensionThe Data PrincipalThe Data Fiduciary and Processor
GoalUnderstand what happened and what to do nextStop, start or re-scope processing without ambiguity
ChannelSMS, email or in-app, in the chosen languageAuthenticated API call, with email as a fallback
EvidenceDelivery receipt and optional acknowledgementHMAC-signed request, response, acknowledgement and action taken
FailureRetry, then surface a support routeRetry with backoff, then dead-letter and escalate
EscalationA person can reach a humanUnacknowledged instruction reaches the DPO

One message cannot serve both. A citizen message that reads like an API payload is not usable; an API payload that reads like a marketing email cannot be automated.

Principal notifications

The principal is told when something changes, not when a marketing calendar says it is a good time to send.

TriggerMessageChannel and timing
Consent grantedConfirmation with the purposes, notice version and how to change itImmediate, chosen channel
Consent updatedWhat changed, what did not, and what happens nextImmediate
Expiring soonWhich purposes lapse, when, and what stopsAbout thirty days before expiry, with a reminder closer to the date
Consent withdrawnThe purposes stopped, the effective time, and how to restore if they chooseImmediate
Request or grievance updateStatus, owner and next stepAt each status change

Three operating rules keep these messages useful. Use the principal's chosen language and channel, and store that preference. Keep customer-facing consent messages in a separate priority lane from marketing mail, so a withdrawal confirmation cannot sit behind a campaign. And keep template versions: the message that was sent is evidence, so the wording must be reproducible.

API contract

Queue a principal notification

Suggested Design
POST/v1/notificationsResponse 202

Internal endpoint that turns a consent event into a templated message on the principal's preferred channel and language.

Request body

{
  "principal_id": "usr_8f3a",
  "template": "WITHDRAWAL_CONFIRMED",
  "channel": "sms",
  "language": "ta",
  "context": {
    "purpose_id": "P-MKT",
    "effective_at": "2026-11-19T10:15:00Z"
  }
}

Response

{
  "notification_id": "ntf_55",
  "state": "QUEUED",
  "template_version": "7"
}

What the implementation must hold

  • Triggered by events, not called directly by client applications.
  • Resolve template and language, then render. Never build message text in the caller.
  • Acknowledgement is optional and logged where the message asks for it.
  • Keep a delivery receipt per channel so a dispute can show what was sent and when.

The fiduciary alert contract

The specification names POST /api/alerts/notify as the broadcast endpoint. Treat it as a contract with the receiver, not a notification your team sends when convenient.

The payload carries the decision, not just the news. consent.withdrawn without an action leaves the receiver to guess. Send action: STOP_PROCESSING, the affected purpose identifiers, the artifact version and the time the change took effect. A receiver that gets a higher version discards the older message instead of applying it out of order.

Sign the body. Compute HMAC-SHA256 over the raw request body with a per-recipient secret, send it in a signature header, and include a timestamp header so a captured request cannot be replayed. The receiver verifies before parsing. Rotate secrets with an overlap window, and never put the secret in the payload.

Make the receiver's job possible. Include an alert identifier, the affected principal (pseudonymous), the consent identifier, the purposes, the action, the deadline to acknowledge and a link to the acknowledgement endpoint. Do not require the receiver to call back for the details.

Acknowledge the action, not the delivery. POST /api/alerts/{alert_id}/ack should require a reference to what the receiver actually did: the job run, the ticket, the batch that stopped. "Received" is not evidence that processing stopped.

API contract

Broadcast a fiduciary alert

Statutory Standard
POST/api/alerts/notifyResponse 202

Pushes a consent change to every subscribing fiduciary and processor, with the action they must take on the payload.

Request body

{
  "alert_id": "alt_301",
  "event": "consent.withdrawn",
  "principal_id": "usr_8f3a",
  "purpose_ids": [
    "P-MKT"
  ],
  "action": "STOP_PROCESSING",
  "occurred_at": "2026-11-19T10:15:00Z",
  "signature": "hmac-sha256:4b7c..."
}

Response

{
  "received": true,
  "must_acknowledge_by": "2026-11-19T10:45:00Z"
}

What the implementation must hold

  • Sign every webhook with HMAC-SHA256 over the raw body, and let the receiver verify before parsing.
  • Retry with exponential backoff on a non-2xx response, then park in a dead-letter queue.
  • An alert that is not acknowledged before its deadline escalates to the DPO.
  • Send the action, not just the event name. The receiver should not have to infer what to stop.

API contract

Acknowledge an alert

Suggested Design
POST/api/alerts/{alert_id}/ackResponse 200

Closes the loop: the recipient confirms that processing has actually stopped, not merely that the message arrived.

Request body

{
  "received_by": "dp_77",
  "action_taken": "STOP_PROCESSING",
  "evidence_ref": "run_8842"
}

Response

{
  "alert_id": "alt_301",
  "acknowledged_at": "2026-11-19T10:15:00Z",
  "state": "CLOSED"
}

What the implementation must hold

  • Acknowledgement is evidence of action, so require a reference to the job, ticket or run that stopped processing.
  • Escalate on time, not on volume: an unacknowledged alert is a live compliance exposure.
  • Keep acknowledgements append-only, like every other consent action.

Retry, acknowledgement and escalation

Delivery failures are normal. Silent failures are the problem.

StageBehaviourWhat is recorded
First attemptImmediate signed request, short timeoutRequest id, timestamp, response code
RetryExponential backoff with jitter, bounded attemptsEvery attempt with its response
Dead letterMessage parked with an owner and a reasonThe payload, the failure and the queue
AcknowledgementReceiver confirms the action before the deadlineActor, action, evidence reference
EscalationUnacknowledged or failed alert moves to the DPOEscalation time, owner and outcome

Two design choices make the ladder work. Deadlines are explicit in the payload, so the receiver can route the alert to the right on-call person. And acknowledgement is idempotent, so a receiver retrying its own ack does not create duplicate closure events.

Operating rules

  • Deduplicate by event id. At-least-once delivery means duplicates; the receiver should be able to drop a repeat safely.
  • Keep the ordering signal in the version. Do not rely on network order.
  • Monitor the gap. Alert every message that is older than its deadline, not only messages that returned an error.
  • Separate lanes by urgency. Withdrawal and expiry traffic must not share a queue with a weekly digest.
  • Rate-limit outbound alerts per recipient. A mass withdrawal event should not look like a denial-of-service attack on a partner.
  • Log the payload hash, not the payload. The ledger needs to prove what was sent without copying personal data into a second store.

Failure patterns to design out

  • The email-only cascade. A human inbox becomes the integration, and nobody can tell whether anyone acted.
  • The unsigned webhook. Any caller can tell a processor to stop or, worse, to resume.
  • The fire-and-forget alert. No retry, no acknowledgement, no escalation, and no way to answer an auditor's question about what happened after the withdrawal.
  • The marketing queue. A consent message delayed behind a campaign, which turns an immediate obligation into a next-day one.
  • The duplicate storm. Retries without idempotency create ten stop instructions and one confused processor.
  • The unversioned template. The message changes, the evidence no longer matches what was sent, and the record becomes an approximation.

Next step

A person who cannot get an answer needs a route that is tracked, not a mailbox: grievance and dispute management. If you need help with any of this, write to us and we will help.