Identify · API reference
Disclosure requests
Asking who stands behind a pseudonym, with the person's consent or Provenance's audited review.
Related guide: People behind agents
The identify disclosure request object
Attributes
idstring- Unique identifier for the object.
objectenum- The type of object. One of
identify_disclosure_request. pseudonymstring- The pseudonym asked about.
reasonstring- Why the site asked.
evidenceobject- The decisions and note the site gave.
statusenum- Where the request is. One of
pending_consent,consented,declined,in_review,approved,denied,expired,withdrawn. subjectobject- Operator and review views only: who the pseudonym resolved to.
consent_expires_attimestamp- When an unanswered request goes to review.
review_due_atstring | null- When an undecided review expires.
decided_atstring | null- When it got its outcome.
outcomeenum- The outcome. One of
released,refused. reviewobject- The review's basis.
releasedobject- Merchant view only, after consent or an approved review: what Provenance holds about the person.
consent_bindingobject- Operator view only: the action payload the person approves to consent.
termsobject- The consent terms the person is shown (marked DRAFT until counsel signs).
eventsarray of objects- Every step: at, actor and event.
created_attimestamp- When it was filed.
The identify disclosure request object
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "pending_consent",
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": null,
"decided_at": null,
"outcome": null,
"events": [
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "merchant",
"event": "filed"
},
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "system",
"event": "consent_requested"
}
],
"created_at": "2026-10-25T19:40:00.000Z"
}Events
Sent to your webhook endpoints when they subscribe:
identify.disclosure_request.createdidentify.disclosure_request.resolved
Retrieve a disclosure request
GET/v1/identify/disclosure_requests/{id}
Returns one request with its events. The merchant sees what was released once the person consented or review approved; the operator sees the binding its person approves.
Parameters
idstringpathRequired- The request's ID.
Returns
The request. See the identify disclosure request object.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "consented",
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": null,
"decided_at": "2026-10-25T20:02:13.000Z",
"outcome": "released",
"released": {
"kind": "device_operator",
"device_id": "dev_00000000000000000000000000000001",
"operator": {
"name": "Pantry Pal",
"email": "ops@pantrypal.example"
},
"note": "Provenance holds the approving device and the account that enrolled it. That account knows the person."
},
"events": [
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "merchant",
"event": "filed"
},
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "system",
"event": "consent_requested"
},
{
"at": "2026-10-25T20:02:13.000Z",
"actor": "person",
"event": "consented"
},
{
"at": "2026-10-25T20:02:13.000Z",
"actor": "person",
"event": "released"
}
],
"created_at": "2026-10-25T19:40:00.000Z"
}List disclosure requests
GET/v1/identify/disclosure_requests
Lists the disclosure requests you filed, or with role=operator the requests about people on devices your account enrolled, newest first.
Parameters
roleenumquery- Whose requests. One of
merchant,operator.
Returns
The requests.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/identify/disclosure_requests" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/identify/disclosure_requests", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"object": "list",
"data": [],
"has_more": false,
"next_cursor": null
}File a disclosure request
POST/v1/identify/disclosure_requests
Asks who stands behind a pseudonym from one of your verdicts. The person is asked first; a decline or no answer goes to Provenance review. Identity is released only on consent or an approved review. Pro and up.
Parameters
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
pseudonymstringRequired- A hum_ pseudonym from one of your recorded verdicts.
reasonstringRequired- Why you need to know (shown to the person and to review).
evidenceobject- What shows it.
Show child attributes
decision_idsarray of strings- Your recorded decisions (at most 50).
notestring- A short note (at most 500 characters).
Returns
The request, with its events. See the identify disclosure request object.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/identify/disclosure_requests" \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Content-Type: application/json" \
-d '{
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person'\''s agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
}
}'const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests`, {
method: "POST",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
body: JSON.stringify({
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
}
}),
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/identify/disclosure_requests", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
}
}).json()Response 201
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "pending_consent",
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": null,
"decided_at": null,
"outcome": null,
"events": [
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "merchant",
"event": "filed"
},
{
"at": "2026-10-25T19:40:00.000Z",
"actor": "system",
"event": "consent_requested"
}
],
"created_at": "2026-10-25T19:40:00.000Z"
}Withdraw a disclosure request
POST/v1/identify/disclosure_requests/{id}/withdraw
Withdraws a request you filed, before it has an outcome.
Parameters
idstringpathRequired- The request's ID.
Returns
The request. See the identify disclosure request object.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/withdraw" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/withdraw`, {
method: "POST",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/withdraw", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "withdrawn",
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": null,
"decided_at": "2026-10-25T19:45:00.000Z",
"outcome": "refused",
"created_at": "2026-10-25T19:40:00.000Z"
}Relay a person's consent
POST/v1/identify/disclosure_requests/{id}/approve
For the account that enrolled the person's device: send the intent token the person approved on that device, bound to the request's consent_binding. Their identity is then released to the merchant.
Parameters
idstringpathRequired- The request's ID.
intent_tokenstringRequired- The person's approval: action_payload = consent_binding, on the device the request is about.
Returns
The request. See the identify disclosure request object.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/approve" \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Content-Type: application/json" \
-d '{
"intent_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEifQ.c2lnbmF0dXJl"
}'const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/approve`, {
method: "POST",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
body: JSON.stringify({
"intent_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEifQ.c2lnbmF0dXJl"
}),
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/approve", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
"intent_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEifQ.c2lnbmF0dXJl"
}).json()Response 200
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "consented",
"subject": {
"kind": "device",
"ref": "dev_00000000000000000000000000000001"
},
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": null,
"decided_at": "2026-10-25T20:02:13.000Z",
"outcome": "released",
"consent_binding": {
"kind": "identify_disclosure_consent",
"request_id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"merchant_account_id": "acct_000000000000000000000000000000a9",
"pseudonym": "hum_htyvjuup3dipluuzj6ov"
},
"terms": {
"draft": true,
"marker": "DRAFT — pending counsel review",
"version": "draft-2026-10-25"
},
"created_at": "2026-10-25T19:40:00.000Z"
}Relay a person's decline
POST/v1/identify/disclosure_requests/{id}/decline
For the account that enrolled the person's device. The request goes to Provenance review; nothing is released unless review approves it.
Parameters
idstringpathRequired- The request's ID.
Returns
The request. See the identify disclosure request object.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/decline" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/decline`, {
method: "POST",
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/identify/disclosure_requests/idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB/decline", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"object": "identify_disclosure_request",
"pseudonym": "hum_htyvjuup3dipluuzj6ov",
"reason": "Card testing: 140 failed checkouts in one hour from this person's agents",
"evidence": {
"decision_ids": [
"tas_01M5T7VVDVNHV05N8JN46YNCZC"
]
},
"status": "in_review",
"subject": {
"kind": "device",
"ref": "dev_00000000000000000000000000000001"
},
"consent_expires_at": "2026-11-01T19:40:00.000Z",
"review_due_at": "2026-11-08T19:50:00.000Z",
"decided_at": null,
"outcome": null,
"consent_binding": {
"kind": "identify_disclosure_consent",
"request_id": "idr_01M5T9ZK2Y6Q2CW3V8N5H7J4RB",
"merchant_account_id": "acct_000000000000000000000000000000a9",
"pseudonym": "hum_htyvjuup3dipluuzj6ov"
},
"terms": {
"draft": true,
"marker": "DRAFT — pending counsel review",
"version": "draft-2026-10-25"
},
"created_at": "2026-10-25T19:40:00.000Z"
}Count the sites that identified a person
GET/v1/identify/exposure
For the account that enrolled a device, the number of sites whose verdicts carried a pseudonym for that device's person. Counts only.
Parameters
device_idstringqueryRequired- A device your account minted approvals on.
Returns
The count.
Errors
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/identify/exposure?device_id=dev_00000000000000000000000000000001" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/identify/exposure?device_id=dev_00000000000000000000000000000001`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/identify/exposure?device_id=dev_00000000000000000000000000000001", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()Response 200
{
"object": "identify_exposure",
"device_id": "dev_00000000000000000000000000000001",
"merchants_identified": 2
}