> For the complete documentation index, see [llms.txt](https://docs.openiam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openiam.com/administration-guide/privacy/look-up-consent.md).

# Look up a person's consent

Find one person's consent state per purpose, read the hash-chained ledger behind it, answer what was true on a past date, produce a consent receipt, and record an event on their behalf.

**Applies to:** OpenIAM 2026.11.1

## What this is, and when you need it

A person asks what they agreed to; an auditor asks what was true on the day of an incident; a support case needs proof that a withdrawal was recorded. **Consent Lookup** answers all three for one person: the current state per purpose, the append-only ledger it was derived from, the state as of any past date, and a **consent receipt** for any event.

Two properties of that ledger shape what you can do here. It is append-only, so **Record event** is the one action on this screen you cannot take back — a mistake is corrected by recording a further event after it, never by removing one. And a person has no ledger at all until they first open the Privacy Center, because that visit is what creates their privacy subject; until then a lookup simply does not find them, which is expected rather than a fault.

The acceptance history of the IT-policy consent feature is a different record — [Consent and IT policy](https://docs.openiam.com/administration-guide/consent/consent-and-it-policy.md#verification). Aggregate numbers across everybody are on the **Dashboard** — [Operate the privacy service](https://docs.openiam.com/administration-guide/privacy/operate-the-privacy-service.md).

## At a glance

|                          |                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| **You will end up with** | The person's consent per purpose, the ledger behind it, and a receipt you can hand them                                  |
| **Where**                | **Governance → Privacy → Consent Lookup**, `/webconsole-v2/privacy-consent`                                              |
| **You need first**       | The person's name, login or email — or their privacy subject id                                                          |
| **Takes**                | Minutes                                                                                                                  |
| **Reversible**           | Looking up is read-only. **Record event** appends to the ledger, which cannot be undone — only followed by another event |

## Find the person

{% stepper %}
{% step %}
Open **Governance → Privacy → Consent Lookup**. Leave **Tenant** at `default` unless your deployment uses another privacy tenant.
{% endstep %}

{% step %}
In **Find by user**, type a name, login or email and pick the person. Their privacy subject id fills **Subject id**. A person who has never opened the Privacy Center has no subject yet, and the field tells you so: `This user has no privacy subject yet — they have not used the Privacy Center.`
{% endstep %}

{% step %}
Optionally narrow to one purpose with **Purpose id**, then click **Look up**.
{% endstep %}
{% endstepper %}

## Read the result

**Current state by purpose** is one row per purpose the person has a consent record for:

| Column             | Shows                                                                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Purpose**        | The purpose name                                                                                                                          |
| **Status**         | `GRANTED`, `DENIED`, `WITHDRAWN` or `EXPIRED`, plus **Re-consent needed** when a material notice change requires the person to re-confirm |
| **Last event**     | The event that produced this state. Click it for the receipt                                                                              |
| **Seq**            | That event's position in the person's ledger for the purpose, from 1                                                                      |
| **Notice version** | The notice the consent was recorded against, as `<notice> v<n> · <locale>`                                                                |
| **Updated**        | When the state last changed                                                                                                               |

A purpose whose lawful authority is not consent-based never has a row: nobody consents to it.

**Ledger timeline** lists every event in sequence order — **Event type** (`GRANT`, `DENY`, `WITHDRAW`, `RENEW`, `EXPIRE`, `REVOKE_BY_AUTHORITY`, `IMPORT`, `CORRECTION`), **Channel** (`SELF_SERVICE` for the Privacy Center), **Occurred**, **Recorded** and **Event hash**. Nothing in it is ever edited or deleted: a withdrawal is a new `WITHDRAW` event, a correction a new `CORRECTION` event. The **Event hash** icon is green when the event's hash links to the one before it and red when the chain is broken at that event.

### What was true on a date

In **State at a point in time**, choose the purpose and an **As of** date, then click **Check state**. The state is rebuilt from the ledger as of the end of that day, after the chain has been re-verified, and nothing is saved. `No consent recorded up to that time` means the person had no event for that purpose by then.

The rebuild uses when each event **occurred**, not when it was recorded, so a consent captured offline and loaded later counts from the moment it was given.

### A consent receipt

Click an event — under **Last event**, or the receipt icon on a timeline row — to open **Consent receipt**. It holds the purpose and its version, the notice version and the fingerprint of its text, the action, the channel, when it occurred, the ledger event and its hash, and a verification level: `HASH_VERIFIED` when the event's hash was recomputed and matched, `UNVERIFIED` otherwise. Switch **Human-readable text** on for the plain-text form that begins `CONSENT RECEIPT`.

Each time a receipt is built it gets a new receipt id and the build is written to the evidence chain, so two receipts for one event differ in their id and agree in everything else. The person can open the same receipt from their own **Privacy Center** → **History**.

## Record an event on a person's behalf

Use **Record event** when the person told you their choice through another channel — a withdrawal by email, a correction of a mis-recorded event. Grants are better left to the person in the Privacy Center, where they read the notice and tick the agreement themselves.

{% stepper %}
{% step %}
With the person looked up, click **Record event**.
{% endstep %}

{% step %}
Choose the **Event type** — `GRANT`, `DENY`, `WITHDRAW` or `CORRECTION` — and enter the **Purpose id** and the **Channel** the choice arrived through, for example `EMAIL`. A `GRANT` also needs the **Notice version id** of the `ACTIVE` notice version the person was shown; a receipt for an earlier grant on that version carries it. For `GRANT` and `DENY`, tick **The subject made a clear, affirmative choice (required for GRANT / DENY)** — only if they did.
{% endstep %}

{% step %}
Click **Append event**, check the summary, and click **Yes**. The toast reads `Consent event recorded` and the timeline gains a row.
{% endstep %}
{% endstepper %}

## Verification

| What to check                     | How                                                                                                                                                                                                  |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You have the right person         | The subject id came from **Find by user**, not typed by hand                                                                                                                                         |
| The state is backed by the ledger | **Seq** under **Current state by purpose** equals the last **Seq** for that purpose in **Ledger timeline**                                                                                           |
| The chain is intact               | Every **Event hash** icon is green; the whole evidence chain is verified on [Health](https://docs.openiam.com/administration-guide/privacy/operate-the-privacy-service.md#verify-the-evidence-chain) |
| An event you recorded is audited  | Search `PRIVACY_CONSENT_EVENT` in **Administration → Log Viewer** — a person's own Privacy Center choices are recorded under the same action                                                         |

## When it goes wrong

| Symptom                                                      | Likely cause                                                                                                                                                                                                                         | Resolution                                                                                                                                                                  |
| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `No consent records for this subject`                        | The person has made no consent choice, the **Tenant** is wrong, or **Purpose id** narrows to a purpose they never answered                                                                                                           | Clear **Purpose id**; confirm the tenant                                                                                                                                    |
| **Find by user** says the person has no privacy subject      | They have never opened the Privacy Center                                                                                                                                                                                            | Expected. The subject is created on their first visit                                                                                                                       |
| `Failed to record the consent event`                         | The ledger refused it — for example a `GRANT` with no `ACTIVE` notice version, no affirmative choice, a purpose that is not `ACTIVE`, a purpose whose authority is not consent-based, or a `CORRECTION` as the purpose's first event | Check the event against the rules in [Privacy reference](https://docs.openiam.com/administration-guide/privacy/privacy-reference.md#rejection-messages) and record it again |
| A red **Event hash** icon                                    | The stored chain does not verify at that event                                                                                                                                                                                       | Do not record further events for the purpose; verify the evidence chain on **Health** and raise a support case with the event id                                            |
| **Re-consent needed** on a person who says they re-confirmed | They re-confirmed a different locale of the notice, or the newest version is not yet `ACTIVE`                                                                                                                                        | Compare **Notice version** with the notice's active version and locale                                                                                                      |

## Related

* [What people see in the Privacy Center](https://docs.openiam.com/administration-guide/privacy/the-privacy-center.md) — where people give, withdraw and review consent themselves
* [Publish a privacy notice](https://docs.openiam.com/administration-guide/privacy/publish-a-privacy-notice.md) — the notice versions consents are recorded against
* [Operate the privacy service](https://docs.openiam.com/administration-guide/privacy/operate-the-privacy-service.md) — aggregate figures and evidence-chain verification
* [Privacy reference](https://docs.openiam.com/administration-guide/privacy/privacy-reference.md) — event types, statuses and rejection messages


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openiam.com/administration-guide/privacy/look-up-consent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
