Skip to main content
← All schemas

ConsentBadge

object

Latest consent per channel and purpose from the ledger.

channelrequired
string
purposerequired
string
statusrequired
"granted" | "withdrawn" | "expired"
basisrequired
string
captured_atrequired
DateTime

Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.

expires_atrequired
DateTime or null

Instant in ISO 8601, e.g. 2026-10-03T04:30:00.000Z.

Example
{
  "channel": "string",
  "purpose": "string",
  "status": "granted",
  "basis": "string",
  "captured_at": "2026-10-06T05:30:00.000Z",
  "expires_at": "2026-10-06T05:30:00.000Z"
}