Returns the existing written consent record by ID. Since writes are asynchronous this may return 404 Not Found when called too soon after the POST. Retry with a short backoff.
Path parameters
Name | Type | Notes |
| UUID string | Your ledger UUID. |
| UUID string | The record's ID: |
Authentication
Send a bearer token:
Authorization: Bearer <token>.The token must belong to the ledger's owner. A token of another owner, or a
ledgerIdthat does not exist, is rejected with403 Forbidden.The token must carry the
ledger:readscope. A token without it is rejected with403 Forbidden, whosedetailnames the missing scope.
Responses
Status | Body | Meaning |
|
| The submitted record, split in two. |
|
| A path parameter is not valid, for instance not a valid UUID |
|
| Bearer token is missing, malformed, expired, or revoked |
|
| The token belongs to another owner, the ledger does not exist, or the token lacks the |
|
| No such record, or it is not readable yet. Writes are asynchronous, so retry with a short backoff. |
|
| Other client errors (see "Errors"). |
Example (illustrative values)
GET https://ledger.enzuzo.com/consent/v1/5ae66dc4-2a1a-4c84-b559-c7959100bb24/state/353fabdf-d4fc-4c7d-9e00-ff0c54879f2e Authorization: Bearer <token>
HTTP/1.1 200 OK
{
"apiVersion": "v1",
"kind": "ConsentState",
"metadata": {
"ledgerId": "5ae66dc4-2a1a-4c84-b559-c7959100bb24",
"id": "353fabdf-d4fc-4c7d-9e00-ff0c54879f2e",
"recordedAt": "2026-10-20T17:22:05Z",
"country": "CA",
"region": "Ontario"
},
"spec": {
"surface": { "kind": "web" },
"categories": ["necessary", "analytics"],
"action": "accept"
}
}