> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proofage.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Data models

> Field-by-field reference for the objects the ProofAge API returns: the verification, the document result, the age estimation result and the workspace.

The objects below are what the API returns, without an envelope. New fields can be added within `v1`; ignore the ones you do not know. The event sent to your webhook URL is described in [Decision webhook](https://docs.proofage.net/api-reference/webhook-decision.md).

## Verification

Returned by `POST /verifications` and `GET /verifications/{verification}`.

**id** `string (uuid)`

The verification ID. Keep it next to your user.

**external\_id** `string | null`

Your identifier for the person, as sent on create. `null` when the create request was not signed.

**external\_metadata** `object | null`

The metadata you sent on create, returned as sent.

**redirect\_url** `string | null`

Where the person's browser goes after the final screen: the `callback_url` of this verification, or the workspace's redirect URL.

**status** `string`

One of `created`, `started`, `documents_required`, `submitted`, `review`, `resubmission_requested`, `approved`, `declined`, `abandoned`, `expired`. See [Verification statuses](https://docs.proofage.net/integration/verification-statuses.md).

**reason** `string | null`

The [decision reason](https://docs.proofage.net/core-technology/decision-reasons.md) when the status is `declined` or `resubmission_requested`; `null` otherwise, and also `null` while the status is `documents_required`. When attempts run out, a `declined` verification carries the last attempt's reason.

**duplicate\_check** `object`

The result of [duplicate detection](https://docs.proofage.net/core-technology/duplicate-detection.md).

**properties**

**checked** `boolean`

`false` until the check has run, and on workspaces where it does not run.

**duplicate\_count** `integer`

How many other accounts (distinct `external_id`s) in the workspace show the same face.

**duplicates** `object[]`

**properties**

**verification\_id** `string (uuid)`

The earlier verification.

**external\_id** `string | null`

Its `external_id`.

**similarity\_score** `number`

How similar the two faces are; higher is more similar.

**verified\_at** `string | null`

When the earlier verification's identity was recorded.

**erasure** `object | null`

`null` unless the verification's personal data was erased on request. Empty fields then mean "erased", not "never captured". The scheduled deletion of images after the retention period does not set it: those images just have a `null` `url`. See [Data retention and erasure](https://docs.proofage.net/console/data-retention.md).

**properties**

**erased\_at** `string`

When the data was erased.

**scope** `string`

`personal_data`: media, document fields and analysis results are gone; the status, reason, dates and audit trail remain.

**reason** `string | null`

`data_subject_request`, `customer_request`, `retention_policy`, `test_data` or `other`.

**requested\_via** `string | null`

`customer` (your team, in the console, the MCP server or the API), `proofage` (ProofAge staff) or `retention` (an automatic erasure ProofAge set up for the workspace).

**consent\_accepted\_at** `string | null`

When the person accepted the consent text.

**created\_at** `string`

When the verification was created.

**updated\_at** `string`

When it last changed.

**reauth** `object`

Present only on a [face re-verification](https://docs.proofage.net/integration/face-reverification.md), created with `reference_verification_id`. Every other verification has no `reauth` key. Nothing of the reference's document is in it.

**properties**

**reference\_verification\_id** `string (uuid) | null`

The earlier approved document verification the face is compared with. `null` only if that verification has been deleted.

**reference\_verified\_at** `string | null`

When the reference verification was approved.

**url** `string`

Returned by `POST /verifications` only: the link that opens the verification for the person.

## Document result

Returned by `GET /verifications/{verification}/document`.

**document.type** `string | null`

`passport`, `id`, `driver_license`, `residence_permit` or `other`; `null` when the type could not be determined. An open enum: handle values you do not know. `other` is a readable document that is not an identity card, passport, driving licence or residence permit, such as a health insurance card. `id` is the same value the upload endpoint takes.

**document.issuing\_country** `string | null`

The issuing country, ISO 3166-1 alpha-2 (`XK` for Kosovo); `null` when it could not be read. Present on every workspace.

**document.issuing\_subdivision** `string | null`

The state or province that issued the document, as a bare code beside `issuing_country` (for example `FL` with `US`); `null` when unknown or when `issuing_country` is `null`. Today it is filled for US driving licences and ID cards. Present on every workspace and kept after erasure.

**document.fields** `object`

What was read from the identity document. Each field is `null` when it was not read or is not printed on the document. Dates are `YYYY-MM-DD`. Age workspaces receive only `first_name`, `last_name`, `date_of_birth` and `document_number`; the seven fields marked KYC workspaces only are absent there.

**properties**

**first\_name** `string | null`

**middle\_name** `string | null`

KYC workspaces only.

**last\_name** `string | null`

**date\_of\_birth** `string (date) | null`

`YYYY-MM-DD`. A partially printed date is `null`, never rounded.

**gender** `string | null`

KYC workspaces only. `F`, `M` or `X` (an open enum). `X` means the document states that the sex is unspecified. The German identity card prints no sex. `null` on a Mexican voter card or driving licence created before 20 August 2026 17:00 UTC.

**nationality** `string | null`

KYC workspaces only. ISO 3166-1 alpha-2 (`XK` for Kosovo), published only when the document itself states it. Can differ from `issuing_country`, for example on a residence permit.

**place\_of\_birth** `string | null`

KYC workspaces only. The printed text, not normalised.

**address** `string | null`

KYC workspaces only. The printed text as read: trimmed, `null` when empty, not parsed and not normalised. It may contain line breaks.

**document\_number** `string | null`

**issue\_date** `string (date) | null`

KYC workspaces only. `YYYY-MM-DD`; a partially printed date is `null`.

**expiry\_date** `string (date) | null`

KYC workspaces only. `YYYY-MM-DD`. A document that prints only the month or year reports the last day of that period. A permanent document (for example `PERMANENTE` or `INDEFINIDA`) is `null`.

**media** `object[]`

The images of the attempt the decision is based on, selfie first, then the document front and back.

**properties**

**id** `string (uuid)`

**type** `string`

`selfie`, `document_front` or `document_back`.

**url** `string | null`

An API URL to download the image with a signed request; `null` once the image has been deleted.

**meta.attempt\_id** `string | null`

The attempt these results come from. A verification can have several attempts when the person is asked to try again.

## Age estimation result

Returned by `GET /verifications/{verification}/estimation`.

**verification\_id** `string (uuid)`

**attempt\_id** `string | null`

The attempt the estimate comes from.

**age\_threshold** `object`

**properties**

**minimum** `integer | null`

The workspace's minimum age.

**passed** `boolean | null`

Whether the person was estimated to be at or above it; `null` before the estimate exists.

**confidence** `number | null`

How confident the estimate is in that answer, from 0 to 1.

**gender** `object | null`

**properties**

**value** `integer | null`

`0` female, `1` male, `null` unknown.

**confidence** `number | null`

From 0 to 1.

## Workspace

Returned by `GET /workspace`: the configuration of the workspace the public key belongs to.

**id** `string (uuid)`

**name** `string`

**flow\_type** `string`

`kyc` or `age`.

**mode** `string`

`test` or `live`.

**age\_mode** `string | null`

On `age` workspaces: `estimation` (Facial age estimation) or `document_verification` (Age verification by ID document).

**age\_threshold** `integer | null`

On `age` workspaces: the minimum age.

**verification\_type** `string`

What the person is asked for by default: `selfie` or `documents_and_liveness`.

**redirect\_url** `string | null`

The default redirect URL after the final screen.

**webhook\_url** `string | null`

Where decision webhooks are sent: a public `http` or `https` URL, see [the webhook URL](https://docs.proofage.net/integration/webhooks.md#the-webhook-url).

**webhook\_include\_document\_data** `boolean`

Whether webhooks to `webhook_url` carry `document`, `fingerprint_signals` and `manual_moderation.performed_by`. When `false`, `data.updated` is not sent there either. See [webhooks without document data](https://docs.proofage.net/integration/webhooks.md#webhooks-without-document-data).

**allow\_expired\_documents** `boolean`

Whether expired identity documents are accepted.

**allow\_duplicate\_accounts** `boolean`

Whether one face may verify under several `external_id`s.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.