# Identity verifications

> Kontiga is document fraud detection by Bynn Intelligence for insurers, letting agents, lenders and HR screening teams: every document is compared with a proprietary library of more than 300 million original documents, gathered over 20 years.

Documentation index: https://kontiga.com/llms.txt

Section: Reference. URL: https://kontiga.com/docs/identity-verifications

An identity verification confirms that a party is who they say they are: their ID document is read and checked, a selfie shows a live person with the same face, and the other steps of the workspace's verification profile follow. Kontiga's rules decide it, or a person does when the rules are unsure. Pictures are only ever given as links that work for about 5 minutes.

Updated December 1, 2026

## Contents

- [The identity verification object](https://kontiga.com/docs/identity-verifications#the-identity-verification-object)
- [List identity verifications](https://kontiga.com/docs/identity-verifications#list-identity-verifications)
- [Read an identity verification](https://kontiga.com/docs/identity-verifications#read-an-identity-verification)
- [Get a verification's pictures](https://kontiga.com/docs/identity-verifications#get-a-verifications-pictures)
- [Get one of a verification's pictures](https://kontiga.com/docs/identity-verifications#get-one-of-a-verifications-pictures)
- [Read a case's identity part](https://kontiga.com/docs/identity-verifications#read-a-cases-identity-part)
- [Search identity verifications](https://kontiga.com/docs/identity-verifications#search-identity-verifications)
- [Verify a party's identity](https://kontiga.com/docs/identity-verifications#verify-a-partys-identity)
- [Send the link again](https://kontiga.com/docs/identity-verifications#send-the-link-again)
- [Get a session token](https://kontiga.com/docs/identity-verifications#get-a-session-token)
- [Review an unsure step](https://kontiga.com/docs/identity-verifications#review-an-unsure-step)
- [Decide a verification](https://kontiga.com/docs/identity-verifications#decide-a-verification)
- [Ask for a step again](https://kontiga.com/docs/identity-verifications#ask-for-a-step-again)
- [Give more time](https://kontiga.com/docs/identity-verifications#give-more-time)
- [Cancel a verification](https://kontiga.com/docs/identity-verifications#cancel-a-verification)
- [Download the verification report](https://kontiga.com/docs/identity-verifications#download-the-verification-report)
- [Start a verification with a publishable key](https://kontiga.com/docs/identity-verifications#start-a-verification-with-a-publishable-key)
- [Following a verification](https://kontiga.com/docs/identity-verifications#following-a-verification)
- [Errors](https://kontiga.com/docs/identity-verifications#errors)

## The identity verification object

- `id` (string): The verification's id, starting with `idv_`.
- `mode` (enum): `live`, or `test` for one started with a test key or a try link. Test verifications are never billed.
- `person_id` (string): The person in People it verifies, with `person_name`, their name as People holds it.
- `case_id` (string): The case it is for, with `party_id`, the party on it. Both are `null` for a verification started for a person with no case.
- `reference` (string): Your own reference for it, given back on it and on its events. `metadata` holds your own keys the same way.
- `profile` (object): The verification profile it runs under: which steps it asks for.
- `status` (enum): `not_started`, `in_progress`, `needs_review`, `passed`, `failed`, `cancelled` or `expired`. The `status` filter takes the same words.
- `steps` (array): Each step in flow order: `id_document`, `screening`, `liveness`, `phone`, `email`, `proof_of_address`, `proof_of_funds`, `decision`.
  - `status` (enum): `pending`, `waiting`, `received`, `checking`, `passed`, `failed`, `skipped`, `match_confirmed`, `needs_review` or `could_not_check`.
  - `detail` (string): Why the step stands where it does, in plain words. `null` when there is nothing to say.
  - `reused` (boolean): Taken from an earlier verification that is still valid.
  - `completed_at` (string): When the step's check ended. On a verification read by its id; a list answers `null`.
  - `review` (object): A person's review of a step the rules were unsure about: approve or reject, who and when. On a verification read by its id.
- `result` (enum): `passed`, `failed` or `needs_review`. `null` while it waits for the party.
- `decided_by` (enum): `rules`, `person` or `expert`, with `decided_by_name` and `decision_reason` in words.
- `id_document` (object): What was read from the ID: its type and country, number, names, dates, the machine-readable lines, each field as every part of the document gives it, the chip when it was read, the checks and the findings in plain words, the cut-outs taken from its pictures and the photos the capture refused.
- `document` (string): The ID it read, in words, such as `Passport, GB`. `null` before an ID is read.
- `reused_from` (object): When its steps were taken from an earlier verification still valid: `verification_id`, that one's `case_id` and `case_reference` when it was on a case, and `verified_at`, when it was decided. `null` otherwise.
- `again` (object): On a start and a read by its id: `reason`, when it was started again on purpose (`again: true`), so nothing earlier was reused. `null` for any other; not in lists.
- `selfie` (object): On a verification read by its id, once a selfie was judged: the stills and the ID's portrait it was matched with as links that work for about 5 minutes, `face_match` (`match` or `no_match`) and its `similarity` from 0 to 100, `liveness` (`live`, `not_live` or `could_not_check`) and its `liveness_score` from 0 to 100, and the age the face shows against the ID. `null` before, and in lists.
- `link` (object): The link the party verifies on, while they can still open it (on a start, a resend, a redo and a read), when it stops working, and a QR code when asked. The widget or an SDK opens it with a session token from `identity_verifications.session_token`. A read answers it only to a caller who may start its session (a member whose role writes cases, or a key with `identity_verifications:write`); anyone else reads `null`, since the link opens the person's own flow.
- `sent_on` (enum): `email` or `sms`: where the link last went, on every answer and in lists; `null` when it was only shared, or its last message was not sent or failed.
- `delivery` (object): The link's last message, on every answer and in lists: the `channel`, `at` (when it was sent), and `state`: `sent`, `sending` (still being tried; a read later says how it ended), `not_sent` with `reason` (`test_mode_recipient`: in test mode a link goes only to your team's own addresses) or `failed` (resend it). `null` for a link only shared.
- `portrait_url` (string): The person's picture: the latest selfie still, else the portrait from the ID, as a link that works for about 5 minutes. `null` before either, and in lists.
- `closed` (object): When it ended with no decision: `state` (`cancelled` or `expired`), `at`, `by` (the member's or the key's name), `by_kind` (`member`, `key`, `end_customer`, or `system` for one that ran out), `by_id` (the member's id, or the key's `key_` id) and `reason`, the words given on the cancel. `null` otherwise.
- `session` (object): The device it ran on: its state, the device and browser in words, the country, the times, and `same_device`, how many others in the workspace were verified on the same device.
- `moments` (array): What happened, in order, in plain words.
- `proofs` (array): The party's proof of address and proof of funds from their checklist, each with its state: `pending`, `accepted`, `rejected`, `expired` or `needs_review`.

**An identity verification**

```json
{
  "id": "idv_5Wr8Kd3",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "party_id": "pty_9Hd4Vb1",
  "person_id": "per_2Nc6Qs8",
  "person_name": "Clara Whelan",
  "request_id": "rqs_8Bv4Hs1",
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "status": "passed",
  "document": "Passport, Ireland",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "passed",
      "detail": "Irish passport, read on the printed page and the machine-readable lines.",
      "reused": false,
      "completed_at": "2026-11-24T18:31:52Z",
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "passed",
      "detail": "A live person, with the same face as the passport photo.",
      "reused": false,
      "completed_at": "2026-11-24T18:34:10Z",
      "review": null
    },
    {
      "key": "email",
      "label": "Email",
      "status": "passed",
      "detail": "Code confirmed at clara.whelan@mail.example.",
      "reused": false,
      "completed_at": "2026-11-24T18:36:15Z",
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "passed",
      "detail": "Passed by Kontiga's rules.",
      "reused": false,
      "completed_at": "2026-11-24T18:40:05Z",
      "review": null
    }
  ],
  "result": "passed",
  "decided_by": "rules",
  "decided_by_name": "Kontiga's rules",
  "decision_reason": "The passport is genuine, and the selfie is a live person with the same face.",
  "reused_from": null,
  "again": null,
  "id_document": {
    "type": "passport",
    "type_label": "Passport",
    "name": "Irish passport, 2013 series",
    "country": "Ireland",
    "country_code": "IE",
    "issuing_authority": "Department of Foreign Affairs",
    "number": "PX4183920",
    "personal_number": null,
    "issued_on": "2022-03-15",
    "expires_on": "2032-03-14",
    "expired": false,
    "specimen": false,
    "surname": "WHELAN",
    "given_names": "CLARA",
    "surname_latin": null,
    "given_names_latin": null,
    "birth_date": "1988-06-03",
    "place_of_birth": "Cork",
    "nationality": "Irish",
    "sex": "F",
    "document_id": null,
    "captured": "Through the link, on a phone's camera",
    "front": {
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "notes": ["Photo accepted after one retake"]
    },
    "back": null,
    "checks": [
      {
        "key": "document_checks",
        "label": "Document checks",
        "result": "passed",
        "detail": "The passport passed every check."
      }
    ],
    "compared": {
      "sources": ["printed", "mrz"],
      "fields": [
        {
          "field": "surname",
          "label": "Surname",
          "values": {
            "printed": "WHELAN",
            "mrz": "WHELAN"
          },
          "status": "ok"
        },
        {
          "field": "given_names",
          "label": "Given names",
          "values": {
            "printed": "CLARA",
            "mrz": "CLARA"
          },
          "status": "ok"
        },
        {
          "field": "number",
          "label": "Document number",
          "values": {
            "printed": "PX4183920",
            "mrz": "PX4183920"
          },
          "status": "ok"
        },
        {
          "field": "birth_date",
          "label": "Date of birth",
          "values": {
            "printed": "03 JUN 1988",
            "mrz": "880603"
          },
          "status": "ok"
        },
        {
          "field": "expires_on",
          "label": "Date of expiry",
          "values": {
            "printed": "14 MAR 2032",
            "mrz": "320314"
          },
          "status": "ok"
        }
      ],
      "mismatches": 0,
      "warnings": 0
    },
    "findings": [
      {
        "id": "tag_9Dw3Fk5",
        "kind": "positive",
        "title": "The printed page and the machine-readable lines agree",
        "where": "Photo page",
        "detail": "Name, number, date of birth and expiry are the same in both."
      }
    ],
    "chip": null,
    "chip_note": "Not read: the passport was captured in a phone's browser, which cannot read a chip.",
    "status": "verified",
    "problem": null,
    "class_code": "P",
    "nationality_code": "IRL",
    "birth_country_code": "IE",
    "residence_country_code": null,
    "place_of_registration": null,
    "height_cm": null,
    "eye_colour": null,
    "portrait_present": true,
    "signature_present": true,
    "address": null,
    "mrz": {
      "format": "TD3",
      "lines": [
        "P<IRLWHELAN<<CLARA<<<<<<<<<<<<<<<<<<<<<<<<<<",
        "PX41839201IRL8806035F3203145<<<<<<<<<<<<<<08"
      ]
    },
    "driving_licence": null,
    "other_fields": [],
    "sources_read": ["printed", "mrz"],
    "crops": [
      {
        "kind": "portrait",
        "label": "Portrait",
        "side": "front",
        "box": {
          "x": 0.06,
          "y": 0.29,
          "w": 0.27,
          "h": 0.42
        }
      },
      {
        "kind": "signature",
        "label": "Signature",
        "side": "front",
        "box": {
          "x": 0.38,
          "y": 0.62,
          "w": 0.3,
          "h": 0.08
        }
      },
      {
        "kind": "machine_readable_zone",
        "label": "Machine-readable lines",
        "side": "front",
        "box": {
          "x": 0.03,
          "y": 0.8,
          "w": 0.94,
          "h": 0.16
        }
      }
    ],
    "refused": [
      {
        "at": "2026-11-24T18:30:58Z",
        "side": "photo_page",
        "reason": "glare",
        "words": "Light reflected on the photo page. Tilt it away from the lamp."
      }
    ],
    "electronic": null
  },
  "selfie": {
    "frames": [
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_1?expires=1764147900&signature=0b52d9",
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_2?expires=1764147900&signature=7e18aa",
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063"
    ],
    "face_box": {
      "x": 0.31,
      "y": 0.22,
      "w": 0.38,
      "h": 0.47
    },
    "id_portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/portrait?expires=1764147900&signature=58e2b1",
    "matched_with": "printed",
    "glasses": false,
    "face_match": "match",
    "similarity": 94,
    "liveness": "live",
    "liveness_score": 97,
    "attack": null,
    "age_range": "33 to 41",
    "age_consistency": "strong",
    "taken_at": "2026-11-24T18:34:10Z",
    "age": {
      "estimated": [33, 41],
      "age_now": 38,
      "age_at_issue": 33,
      "consistency": "strong",
      "adult": "yes"
    },
    "liveness_status": "passed"
  },
  "portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
  "link": null,
  "locale": "en",
  "closed": null,
  "created_at": "2026-11-24T09:12:41Z",
  "completed_at": "2026-11-24T18:40:05Z",
  "queued_at": null,
  "review_queue": null,
  "collection": {
    "id": "col_5Gk3Tm7",
    "name": "Mortgage application"
  },
  "session": {
    "state": "completed",
    "device": "phone_browser",
    "device_label": "A phone's browser",
    "created_at": "2026-11-24T09:12:41Z",
    "opened_at": "2026-11-24T18:22:07Z",
    "consent_at": "2026-11-24T18:22:40Z",
    "completed_at": "2026-11-24T18:36:15Z",
    "ended_at": "2026-11-24T18:36:15Z",
    "country": "Ireland",
    "browser": "Safari on an iPhone",
    "same_device": 0
  },
  "moments": [
    {
      "at": "2026-11-24T09:12:41Z",
      "kind": "created",
      "words": "Started with the mortgage application's checklist",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:22:07Z",
      "kind": "opened",
      "words": "Clara opened the link on her phone",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:22:40Z",
      "kind": "consent",
      "words": "Clara agreed to the identity check",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:30:58Z",
      "kind": "refused",
      "words": "A photo of the passport was refused: glare on the photo page",
      "tone": "warning"
    },
    {
      "at": "2026-11-24T18:31:52Z",
      "kind": "id_document",
      "words": "Passport read",
      "tone": "success"
    },
    {
      "at": "2026-11-24T18:34:10Z",
      "kind": "selfie",
      "words": "Selfie taken: a live person, the same face",
      "tone": "success"
    },
    {
      "at": "2026-11-24T18:40:05Z",
      "kind": "decided",
      "words": "Passed by Kontiga's rules",
      "tone": "success"
    }
  ],
  "findings": [],
  "proofs": [
    {
      "kind": "address",
      "state": "accepted",
      "item_ids": ["itm_6Nk1Pq9"],
      "document_ids": ["doc_8Jm1Vk4"],
      "document_type": "Electricity bill"
    }
  ]
}
```

## List identity verifications

Identity verifications, newest first: a case's parties, or the workspace's, filtered by status, result, person, profile and when they started. Each has every step in order with its status, the ID document read and the checks on it, the selfie, liveness and face match, and who decided. Pictures come as short-lived links.

`GET /v1/identity_verifications`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications list [--case-id <case_id>] [--person-id <person_id>] [--status <not_started|in_progress|needs_review|passed|failed|cancelled|expired>] [--result <passed|failed|needs_review>] [--profile-id <vpr_id>] [--created-from <time>] [--created-to <time>] [--limit <1-200>] [--cursor <cursor>]`. MCP tool: `list_identity_verifications`.

**Parameters**
- `case_id` (id (case_)): A case: its parties' verifications, in the order of its parties.
- `person_id` (id (per_)): A person: their verifications, on any case or none.
- `status` (enum): Only verifications with this status, one of the seven `status` takes. One of `not_started`, `in_progress`, `needs_review`, `passed`, `failed`, `cancelled`, `expired`.
- `result` (enum): Only verifications with this result: `passed`, `failed` or `needs_review`.
- `profile_id` (id (vpr_)): Only verifications under this profile.
- `created_from` (string): Started at or after this time.
- `created_to` (string): Started before this time.
- `limit` (integer): How many to answer, 1 to 200. 50 a page when left out.
- `cursor` (string): The `next_cursor` of the page before, with the same filters, to read the next one. At most 200 characters.

**Returns** page of identity verifications: The verifications in items, newest first (a case's in the order of its parties), each with its steps, its ID document and its selfie; has_more says another page follows and next_cursor reads it.

API:

```bash
curl -X GET https://api.kontiga.com/v1/identity_verifications \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications list
```

MCP tool `list_identity_verifications`:

```json
{
  "name": "list_identity_verifications",
  "arguments": {}
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.list();
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.list()
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.List(ctx)
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().list();
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ListAsync();
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->list();
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.list
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .list()
    .await?;
```

Response, 200 OK:

```json
{
  "object": "list",
  "items": [
    {
      "id": "idv_5Wr8Kd3",
      "object": "identity_verification",
      "mode": "live",
      "case_id": "case_7Kq2Xw9",
      "party_id": "pty_9Hd4Vb1",
      "person_id": "per_2Nc6Qs8",
      "person_name": "Clara Whelan",
      "request_id": "rqs_8Bv4Hs1",
      "profile": {
        "id": "vpr_4Tk9Bm2",
        "name": "ID and selfie"
      },
      "status": "passed",
      "document": "Passport, Ireland",
      "steps": [
        {
          "key": "id_document",
          "label": "ID document",
          "status": "passed",
          "detail": "Irish passport, read on the printed page and the machine-readable lines.",
          "reused": false,
          "completed_at": "2026-11-24T18:31:52Z",
          "review": null
        },
        {
          "key": "liveness",
          "label": "Selfie",
          "status": "passed",
          "detail": "A live person, with the same face as the passport photo.",
          "reused": false,
          "completed_at": "2026-11-24T18:34:10Z",
          "review": null
        },
        {
          "key": "email",
          "label": "Email",
          "status": "passed",
          "detail": "Code confirmed at clara.whelan@mail.example.",
          "reused": false,
          "completed_at": "2026-11-24T18:36:15Z",
          "review": null
        },
        {
          "key": "decision",
          "label": "Decision",
          "status": "passed",
          "detail": "Passed by Kontiga's rules.",
          "reused": false,
          "completed_at": "2026-11-24T18:40:05Z",
          "review": null
        }
      ],
      "result": "passed",
      "decided_by": "rules",
      "decided_by_name": "Kontiga's rules",
      "decision_reason": "The passport is genuine, and the selfie is a live person with the same face.",
      "reused_from": null,
      "again": null,
      "id_document": {
        "type": "passport",
        "type_label": "Passport",
        "name": "Irish passport, 2013 series",
        "country": "Ireland",
        "country_code": "IE",
        "issuing_authority": "Department of Foreign Affairs",
        "number": "PX4183920",
        "personal_number": null,
        "issued_on": "2022-03-15",
        "expires_on": "2032-03-14",
        "expired": false,
        "specimen": false,
        "surname": "WHELAN",
        "given_names": "CLARA",
        "surname_latin": null,
        "given_names_latin": null,
        "birth_date": "1988-06-03",
        "place_of_birth": "Cork",
        "nationality": "Irish",
        "sex": "F",
        "document_id": null,
        "captured": "Through the link, on a phone's camera",
        "front": {
          "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
          "notes": [
            "Photo accepted after one retake"
          ]
        },
        "back": null,
        "checks": [
          {
            "key": "document_checks",
            "label": "Document checks",
            "result": "passed",
            "detail": "The passport passed every check."
          }
        ],
        "compared": {
          "sources": ["printed", "mrz"],
          "fields": [
            {
              "field": "surname",
              "label": "Surname",
              "values": {
                "printed": "WHELAN",
                "mrz": "WHELAN"
              },
              "status": "ok"
            },
            {
              "field": "given_names",
              "label": "Given names",
              "values": {
                "printed": "CLARA",
                "mrz": "CLARA"
              },
              "status": "ok"
            },
            {
              "field": "number",
              "label": "Document number",
              "values": {
                "printed": "PX4183920",
                "mrz": "PX4183920"
              },
              "status": "ok"
            },
            {
              "field": "birth_date",
              "label": "Date of birth",
              "values": {
                "printed": "03 JUN 1988",
                "mrz": "880603"
              },
              "status": "ok"
            },
            {
              "field": "expires_on",
              "label": "Date of expiry",
              "values": {
                "printed": "14 MAR 2032",
                "mrz": "320314"
              },
              "status": "ok"
            }
          ],
          "mismatches": 0,
          "warnings": 0
        },
        "findings": [
          {
            "id": "tag_9Dw3Fk5",
            "kind": "positive",
            "title": "The printed page and the machine-readable lines agree",
            "where": "Photo page",
            "detail": "Name, number, date of birth and expiry are the same in both."
          }
        ],
        "chip": null,
        "chip_note": "Not read: the passport was captured in a phone's browser, which cannot read a chip.",
        "status": "verified",
        "problem": null,
        "class_code": "P",
        "nationality_code": "IRL",
        "birth_country_code": "IE",
        "residence_country_code": null,
        "place_of_registration": null,
        "height_cm": null,
        "eye_colour": null,
        "portrait_present": true,
        "signature_present": true,
        "address": null,
        "mrz": {
          "format": "TD3",
          "lines": [
            "P<IRLWHELAN<<CLARA<<<<<<<<<<<<<<<<<<<<<<<<<<",
            "PX41839201IRL8806035F3203145<<<<<<<<<<<<<<08"
          ]
        },
        "driving_licence": null,
        "other_fields": [],
        "sources_read": ["printed", "mrz"],
        "crops": [
          {
            "kind": "portrait",
            "label": "Portrait",
            "side": "front",
            "box": {
              "x": 0.06,
              "y": 0.29,
              "w": 0.27,
              "h": 0.42
            }
          },
          {
            "kind": "signature",
            "label": "Signature",
            "side": "front",
            "box": {
              "x": 0.38,
              "y": 0.62,
              "w": 0.3,
              "h": 0.08
            }
          },
          {
            "kind": "machine_readable_zone",
            "label": "Machine-readable lines",
            "side": "front",
            "box": {
              "x": 0.03,
              "y": 0.8,
              "w": 0.94,
              "h": 0.16
            }
          }
        ],
        "refused": [
          {
            "at": "2026-11-24T18:30:58Z",
            "side": "photo_page",
            "reason": "glare",
            "words": "Light reflected on the photo page. Tilt it away from the lamp."
          }
        ],
        "electronic": null
      },
      "selfie": {
        "frames": [
          "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_1?expires=1764147900&signature=0b52d9",
          "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_2?expires=1764147900&signature=7e18aa",
          "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063"
        ],
        "face_box": {
          "x": 0.31,
          "y": 0.22,
          "w": 0.38,
          "h": 0.47
        },
        "id_portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/portrait?expires=1764147900&signature=58e2b1",
        "matched_with": "printed",
        "glasses": false,
        "face_match": "match",
        "similarity": 94,
        "liveness": "live",
        "liveness_score": 97,
        "attack": null,
        "age_range": "33 to 41",
        "age_consistency": "strong",
        "taken_at": "2026-11-24T18:34:10Z",
        "age": {
          "estimated": [33, 41],
          "age_now": 38,
          "age_at_issue": 33,
          "consistency": "strong",
          "adult": "yes"
        },
        "liveness_status": "passed"
      },
      "portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
      "link": null,
      "locale": "en",
      "closed": null,
      "created_at": "2026-11-24T09:12:41Z",
      "completed_at": "2026-11-24T18:40:05Z",
      "queued_at": null,
      "review_queue": null,
      "collection": {
        "id": "col_5Gk3Tm7",
        "name": "Mortgage application"
      },
      "session": {
        "state": "completed",
        "device": "phone_browser",
        "device_label": "A phone's browser",
        "created_at": "2026-11-24T09:12:41Z",
        "opened_at": "2026-11-24T18:22:07Z",
        "consent_at": "2026-11-24T18:22:40Z",
        "completed_at": "2026-11-24T18:36:15Z",
        "ended_at": "2026-11-24T18:36:15Z",
        "country": "Ireland",
        "browser": "Safari on an iPhone",
        "same_device": 0
      },
      "moments": [
        {
          "at": "2026-11-24T09:12:41Z",
          "kind": "created",
          "words": "Started with the mortgage application's checklist",
          "tone": "info"
        },
        {
          "at": "2026-11-24T18:22:07Z",
          "kind": "opened",
          "words": "Clara opened the link on her phone",
          "tone": "info"
        },
        {
          "at": "2026-11-24T18:22:40Z",
          "kind": "consent",
          "words": "Clara agreed to the identity check",
          "tone": "info"
        },
        {
          "at": "2026-11-24T18:30:58Z",
          "kind": "refused",
          "words": "A photo of the passport was refused: glare on the photo page",
          "tone": "warning"
        },
        {
          "at": "2026-11-24T18:31:52Z",
          "kind": "id_document",
          "words": "Passport read",
          "tone": "success"
        },
        {
          "at": "2026-11-24T18:34:10Z",
          "kind": "selfie",
          "words": "Selfie taken: a live person, the same face",
          "tone": "success"
        },
        {
          "at": "2026-11-24T18:40:05Z",
          "kind": "decided",
          "words": "Passed by Kontiga's rules",
          "tone": "success"
        }
      ],
      "findings": [],
      "proofs": [
        {
          "kind": "address",
          "state": "accepted",
          "item_ids": ["itm_6Nk1Pq9"],
          "document_ids": ["doc_8Jm1Vk4"],
          "document_type": "Electricity bill"
        }
      ]
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

Every list and search answers `items`, `has_more` and `next_cursor`, and pages with `limit` and `cursor`. A parameter the call does not take, a parameter given twice, a `created_from` that is not before `created_to`, and a `cursor` from a page answered under other filters are refused with `400 invalid_input` on the parameter's name, so a misspelt or doubled filter never answers the whole workspace. Every refusal carries `request_id` in its `error`, the id to quote when you ask us about it.

## Read an identity verification

One identity verification in full: every step with its status, the ID document's data as each part of it reads, the reader's checks and findings, the chip, the selfie with its liveness and face match, and who decided and why.

`GET /v1/identity_verifications/{verification_id}`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications get <verification_id>`. MCP tool: `get_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The verification to read. In the path.

**Returns** identity verification: The verification, with its pictures as links that work for about 5 minutes.

API:

```bash
curl -X GET https://api.kontiga.com/v1/identity_verifications/idv_5Wr8Kd3 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications get idv_5Wr8Kd3
```

MCP tool `get_identity_verification`:

```json
{
  "name": "get_identity_verification",
  "arguments": {
    "verification_id": "idv_5Wr8Kd3"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.get("idv_5Wr8Kd3");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.get("idv_5Wr8Kd3")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Get(ctx, "idv_5Wr8Kd3")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().get("idv_5Wr8Kd3");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.GetAsync("idv_5Wr8Kd3");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->get('idv_5Wr8Kd3');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.get("idv_5Wr8Kd3")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .get("idv_5Wr8Kd3".into())
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_5Wr8Kd3",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_7Kq2Xw9",
  "party_id": "pty_9Hd4Vb1",
  "person_id": "per_2Nc6Qs8",
  "person_name": "Clara Whelan",
  "request_id": "rqs_8Bv4Hs1",
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "status": "passed",
  "document": "Passport, Ireland",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "passed",
      "detail": "Irish passport, read on the printed page and the machine-readable lines.",
      "reused": false,
      "completed_at": "2026-11-24T18:31:52Z",
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "passed",
      "detail": "A live person, with the same face as the passport photo.",
      "reused": false,
      "completed_at": "2026-11-24T18:34:10Z",
      "review": null
    },
    {
      "key": "email",
      "label": "Email",
      "status": "passed",
      "detail": "Code confirmed at clara.whelan@mail.example.",
      "reused": false,
      "completed_at": "2026-11-24T18:36:15Z",
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "passed",
      "detail": "Passed by Kontiga's rules.",
      "reused": false,
      "completed_at": "2026-11-24T18:40:05Z",
      "review": null
    }
  ],
  "result": "passed",
  "decided_by": "rules",
  "decided_by_name": "Kontiga's rules",
  "decision_reason": "The passport is genuine, and the selfie is a live person with the same face.",
  "reused_from": null,
  "again": null,
  "id_document": {
    "type": "passport",
    "type_label": "Passport",
    "name": "Irish passport, 2013 series",
    "country": "Ireland",
    "country_code": "IE",
    "issuing_authority": "Department of Foreign Affairs",
    "number": "PX4183920",
    "personal_number": null,
    "issued_on": "2022-03-15",
    "expires_on": "2032-03-14",
    "expired": false,
    "specimen": false,
    "surname": "WHELAN",
    "given_names": "CLARA",
    "surname_latin": null,
    "given_names_latin": null,
    "birth_date": "1988-06-03",
    "place_of_birth": "Cork",
    "nationality": "Irish",
    "sex": "F",
    "document_id": null,
    "captured": "Through the link, on a phone's camera",
    "front": {
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "notes": ["Photo accepted after one retake"]
    },
    "back": null,
    "checks": [
      {
        "key": "document_checks",
        "label": "Document checks",
        "result": "passed",
        "detail": "The passport passed every check."
      }
    ],
    "compared": {
      "sources": ["printed", "mrz"],
      "fields": [
        {
          "field": "surname",
          "label": "Surname",
          "values": {
            "printed": "WHELAN",
            "mrz": "WHELAN"
          },
          "status": "ok"
        },
        {
          "field": "given_names",
          "label": "Given names",
          "values": {
            "printed": "CLARA",
            "mrz": "CLARA"
          },
          "status": "ok"
        },
        {
          "field": "number",
          "label": "Document number",
          "values": {
            "printed": "PX4183920",
            "mrz": "PX4183920"
          },
          "status": "ok"
        },
        {
          "field": "birth_date",
          "label": "Date of birth",
          "values": {
            "printed": "03 JUN 1988",
            "mrz": "880603"
          },
          "status": "ok"
        },
        {
          "field": "expires_on",
          "label": "Date of expiry",
          "values": {
            "printed": "14 MAR 2032",
            "mrz": "320314"
          },
          "status": "ok"
        }
      ],
      "mismatches": 0,
      "warnings": 0
    },
    "findings": [
      {
        "id": "tag_9Dw3Fk5",
        "kind": "positive",
        "title": "The printed page and the machine-readable lines agree",
        "where": "Photo page",
        "detail": "Name, number, date of birth and expiry are the same in both."
      }
    ],
    "chip": null,
    "chip_note": "Not read: the passport was captured in a phone's browser, which cannot read a chip.",
    "status": "verified",
    "problem": null,
    "class_code": "P",
    "nationality_code": "IRL",
    "birth_country_code": "IE",
    "residence_country_code": null,
    "place_of_registration": null,
    "height_cm": null,
    "eye_colour": null,
    "portrait_present": true,
    "signature_present": true,
    "address": null,
    "mrz": {
      "format": "TD3",
      "lines": [
        "P<IRLWHELAN<<CLARA<<<<<<<<<<<<<<<<<<<<<<<<<<",
        "PX41839201IRL8806035F3203145<<<<<<<<<<<<<<08"
      ]
    },
    "driving_licence": null,
    "other_fields": [],
    "sources_read": ["printed", "mrz"],
    "crops": [
      {
        "kind": "portrait",
        "label": "Portrait",
        "side": "front",
        "box": {
          "x": 0.06,
          "y": 0.29,
          "w": 0.27,
          "h": 0.42
        }
      },
      {
        "kind": "signature",
        "label": "Signature",
        "side": "front",
        "box": {
          "x": 0.38,
          "y": 0.62,
          "w": 0.3,
          "h": 0.08
        }
      },
      {
        "kind": "machine_readable_zone",
        "label": "Machine-readable lines",
        "side": "front",
        "box": {
          "x": 0.03,
          "y": 0.8,
          "w": 0.94,
          "h": 0.16
        }
      }
    ],
    "refused": [
      {
        "at": "2026-11-24T18:30:58Z",
        "side": "photo_page",
        "reason": "glare",
        "words": "Light reflected on the photo page. Tilt it away from the lamp."
      }
    ],
    "electronic": null
  },
  "selfie": {
    "frames": [
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_1?expires=1764147900&signature=0b52d9",
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_2?expires=1764147900&signature=7e18aa",
      "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063"
    ],
    "face_box": {
      "x": 0.31,
      "y": 0.22,
      "w": 0.38,
      "h": 0.47
    },
    "id_portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/portrait?expires=1764147900&signature=58e2b1",
    "matched_with": "printed",
    "glasses": false,
    "face_match": "match",
    "similarity": 94,
    "liveness": "live",
    "liveness_score": 97,
    "attack": null,
    "age_range": "33 to 41",
    "age_consistency": "strong",
    "taken_at": "2026-11-24T18:34:10Z",
    "age": {
      "estimated": [33, 41],
      "age_now": 38,
      "age_at_issue": 33,
      "consistency": "strong",
      "adult": "yes"
    },
    "liveness_status": "passed"
  },
  "portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
  "link": null,
  "locale": "en",
  "closed": null,
  "created_at": "2026-11-24T09:12:41Z",
  "completed_at": "2026-11-24T18:40:05Z",
  "queued_at": null,
  "review_queue": null,
  "collection": {
    "id": "col_5Gk3Tm7",
    "name": "Mortgage application"
  },
  "session": {
    "state": "completed",
    "device": "phone_browser",
    "device_label": "A phone's browser",
    "created_at": "2026-11-24T09:12:41Z",
    "opened_at": "2026-11-24T18:22:07Z",
    "consent_at": "2026-11-24T18:22:40Z",
    "completed_at": "2026-11-24T18:36:15Z",
    "ended_at": "2026-11-24T18:36:15Z",
    "country": "Ireland",
    "browser": "Safari on an iPhone",
    "same_device": 0
  },
  "moments": [
    {
      "at": "2026-11-24T09:12:41Z",
      "kind": "created",
      "words": "Started with the mortgage application's checklist",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:22:07Z",
      "kind": "opened",
      "words": "Clara opened the link on her phone",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:22:40Z",
      "kind": "consent",
      "words": "Clara agreed to the identity check",
      "tone": "info"
    },
    {
      "at": "2026-11-24T18:30:58Z",
      "kind": "refused",
      "words": "A photo of the passport was refused: glare on the photo page",
      "tone": "warning"
    },
    {
      "at": "2026-11-24T18:31:52Z",
      "kind": "id_document",
      "words": "Passport read",
      "tone": "success"
    },
    {
      "at": "2026-11-24T18:34:10Z",
      "kind": "selfie",
      "words": "Selfie taken: a live person, the same face",
      "tone": "success"
    },
    {
      "at": "2026-11-24T18:40:05Z",
      "kind": "decided",
      "words": "Passed by Kontiga's rules",
      "tone": "success"
    }
  ],
  "findings": [],
  "proofs": [
    {
      "kind": "address",
      "state": "accepted",
      "item_ids": ["itm_6Nk1Pq9"],
      "document_ids": ["doc_8Jm1Vk4"],
      "document_type": "Electricity bill"
    }
  ]
}
```

## Get a verification's pictures

Short-lived links to the pictures of an identity verification: the ID's front and back, the portrait cut from it, the selfie stills with where the face is on each, and the cut-outs taken from the ID.

`GET /v1/identity_verifications/{verification_id}/files`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications files <verification_id> [--output <dir>]`. MCP tool: `list_identity_verification_files`.

**Parameters**
- `verification_id` (id (idv_), required): The verification whose pictures to get. The CLI saves them to the folder `--output` names. In the path.

**Returns** files: Each picture by name (front, back, portrait, selfie_1 to selfie_3 with its face_box, crop_portrait, crop_signature, crop_machine_readable_zone and the other cut-outs as their side's picture with the crop box), with a link that works for about 5 minutes.

API:

```bash
curl -X GET https://api.kontiga.com/v1/identity_verifications/idv_5Wr8Kd3/files \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications files idv_5Wr8Kd3
```

MCP tool `list_identity_verification_files`:

```json
{
  "name": "list_identity_verification_files",
  "arguments": {
    "verification_id": "idv_5Wr8Kd3"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.files("idv_5Wr8Kd3");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.files("idv_5Wr8Kd3")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Files(ctx, "idv_5Wr8Kd3")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().files("idv_5Wr8Kd3");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.FilesAsync("idv_5Wr8Kd3");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->files('idv_5Wr8Kd3');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.files("idv_5Wr8Kd3")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .files("idv_5Wr8Kd3".into())
    .await?;
```

Response, 200 OK:

```json
{
  "object": "list",
  "verification_id": "idv_5Wr8Kd3",
  "has_more": false,
  "next_cursor": null,
  "items": [
    {
      "name": "front",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "expires_at": "2026-11-26T09:05:00Z"
    },
    {
      "name": "portrait",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/portrait?expires=1764147900&signature=58e2b1",
      "expires_at": "2026-11-26T09:05:00Z"
    },
    {
      "name": "selfie_1",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_1?expires=1764147900&signature=0b52d9",
      "expires_at": "2026-11-26T09:05:00Z",
      "face_box": {
        "x": 0.33,
        "y": 0.2,
        "w": 0.36,
        "h": 0.46
      }
    },
    {
      "name": "selfie_2",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_2?expires=1764147900&signature=7e18aa",
      "expires_at": "2026-11-26T09:05:00Z",
      "face_box": {
        "x": 0.3,
        "y": 0.23,
        "w": 0.38,
        "h": 0.47
      }
    },
    {
      "name": "selfie_3",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
      "expires_at": "2026-11-26T09:05:00Z",
      "face_box": {
        "x": 0.31,
        "y": 0.22,
        "w": 0.38,
        "h": 0.47
      }
    },
    {
      "name": "crop_portrait",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "expires_at": "2026-11-26T09:05:00Z",
      "crop": {
        "x": 0.06,
        "y": 0.29,
        "w": 0.27,
        "h": 0.42
      }
    },
    {
      "name": "crop_signature",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "expires_at": "2026-11-26T09:05:00Z",
      "crop": {
        "x": 0.38,
        "y": 0.62,
        "w": 0.3,
        "h": 0.08
      }
    },
    {
      "name": "crop_machine_readable_zone",
      "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/front?expires=1764147900&signature=a71c3e",
      "expires_at": "2026-11-26T09:05:00Z",
      "crop": {
        "x": 0.03,
        "y": 0.8,
        "w": 0.94,
        "h": 0.16
      }
    }
  ]
}
```

`face_box` and `crop` give a box on the picture as fractions of its width and height, from the top left: `x`, `y`, `w`, `h`. A cut-out comes as its side's picture with the box to cut. Show the pictures to a person; never store them.

## Get one of a verification's pictures

A short-lived link to one picture of an identity verification, by the name its pictures are listed under: a side of the ID, the portrait, a selfie still or a cut-out.

`GET /v1/identity_verifications/{verification_id}/files/{file}`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications file <verification_id> <file> [--output <path>]`. MCP tool: `get_identity_verification_file`.

**Parameters**
- `verification_id` (id (idv_), required): The verification. In the path.
- `file` (string, required): The picture's name, as the list of its pictures gives it: `front`, `back`, `portrait`, `selfie_1` and so on, or a cut-out such as `crop_portrait`. In the path.

**Returns** file: The picture's link, which works for about 5 minutes, with the face's box or the cut-out's box where it has one.

API:

```bash
curl -X GET https://api.kontiga.com/v1/identity_verifications/idv_5Wr8Kd3/files/selfie_2 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications file idv_5Wr8Kd3 selfie_2
```

MCP tool `get_identity_verification_file`:

```json
{
  "name": "get_identity_verification_file",
  "arguments": {
    "verification_id": "idv_5Wr8Kd3",
    "file": "selfie_2"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.file("idv_5Wr8Kd3", "selfie_2");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.file("idv_5Wr8Kd3", "selfie_2")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.File(ctx, "idv_5Wr8Kd3", "selfie_2")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().file("idv_5Wr8Kd3", "selfie_2");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.FileAsync("idv_5Wr8Kd3", "selfie_2");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->file('idv_5Wr8Kd3', 'selfie_2');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.file("idv_5Wr8Kd3", "selfie_2")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .file("idv_5Wr8Kd3".into(), "selfie_2".into())
    .await?;
```

Response, 200 OK:

```json
{
  "object": "file",
  "verification_id": "idv_5Wr8Kd3",
  "name": "selfie_2",
  "content_type": "image/jpeg",
  "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_2?expires=1764147900&signature=7e18aa",
  "expires_at": "2026-11-26T09:05:00Z",
  "face_box": {
    "x": 0.3,
    "y": 0.23,
    "w": 0.38,
    "h": 0.47
  }
}
```

## Read a case's identity part

Whatever your workspace calls them on screen, the API, CLI, MCP and webhooks say case and cases. In one call, what a case holds on who its parties are: each party with their facts, their identity verification, their proof of address and proof of funds, and their screening.

`GET /v1/cases/{case_id}/identity`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga cases identity <case_id>`. MCP tool: `get_case_identity`.

**Parameters**
- `case_id` (id (case_), required): The case to read. In the path.

**Returns** case identity: The case's reference, state and outcome, and each party with their facts, verification, proofs and screening. Pictures are links that work for about 5 minutes.

API:

```bash
curl -X GET https://api.kontiga.com/v1/cases/case_7Kq2Xw9/identity \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga cases identity case_7Kq2Xw9
```

MCP tool `get_case_identity`:

```json
{
  "name": "get_case_identity",
  "arguments": {
    "case_id": "case_7Kq2Xw9"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.identity("case_7Kq2Xw9");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.identity("case_7Kq2Xw9")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Cases.Identity(ctx, "case_7Kq2Xw9")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().identity("case_7Kq2Xw9");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.IdentityAsync("case_7Kq2Xw9");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->identity('case_7Kq2Xw9');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.identity("case_7Kq2Xw9")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .identity("case_7Kq2Xw9".into())
    .await?;
```

Response, 200 OK:

```json
{
  "object": "case_identity",
  "case_id": "case_7Kq2Xw9",
  "reference": "APP-20418",
  "state": "in_review",
  "outcome": null,
  "parties": [
    {
      "party_id": "pty_9Hd4Vb1",
      "person_id": "per_2Nc6Qs8",
      "role": "applicant",
      "facts": {
        "full_name": "Clara Whelan",
        "first_name": "Clara",
        "last_name": "Whelan",
        "name_latin": null,
        "date_of_birth": "1988-06-03",
        "sex": "female",
        "personal_number": null,
        "nationality": "Irish",
        "nationality_code": "IRL",
        "birth_country_code": "IE",
        "place_of_birth": "Cork",
        "residence_country": "Ireland",
        "height_cm": null,
        "email": "clara.whelan@mail.example",
        "phone": "+353 87 412 6630",
        "occupation": "Logistics planner",
        "employer": "Corrib Freight Ltd",
        "address": {
          "full": "22 Lower Mallow Street, Limerick V94 K6T2",
          "street": "Lower Mallow Street",
          "house_number": "22",
          "flat": null,
          "postal_code": "V94 K6T2",
          "city": "Limerick"
        }
      },
      "verification": {
        "id": "idv_5Wr8Kd3",
        "object": "identity_verification",
        "mode": "live",
        "case_id": "case_7Kq2Xw9",
        "party_id": "pty_9Hd4Vb1",
        "person_id": "per_2Nc6Qs8",
        "person_name": "Clara Whelan",
        "profile": {
          "id": "vpr_4Tk9Bm2",
          "name": "ID and selfie"
        },
        "status": "passed",
        "document": "Passport, Ireland",
        "result": "passed",
        "decided_by": "rules",
        "decided_by_name": "Kontiga's rules",
        "portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
        "created_at": "2026-11-24T09:12:41Z",
        "completed_at": "2026-11-24T18:40:05Z"
      },
      "proofs": [
        {
          "item_id": "itm_6Nk1Pq9",
          "label": "Proof of address",
          "kind": "address",
          "item_state": "received",
          "address": {
            "status": "accepted",
            "document_id": "doc_8Jm1Vk4",
            "document_type": "Electricity bill",
            "name": "Clara Whelan",
            "address": "22 Lower Mallow Street, Limerick V94 K6T2",
            "provider": "Shannonside Energy",
            "issued_on": "2026-10-09"
          },
          "funds": null,
          "reused_from": null
        }
      ],
      "screening": {
        "id": "scr_0193a7c2e4b87d10a5f2c9e81b6d4f30",
        "object": "screening",
        "state": "possible_match",
        "lists": [
          "EU financial sanctions list",
          "UN Security Council consolidated list",
          "UK sanctions list",
          "Politically exposed persons"
        ],
        "screened_at": "2026-11-24T18:41:10Z",
        "matches": [
          {
            "id": "mtc_7Qe2Vn5",
            "listed_name": "Clara Whelan",
            "list": "Politically exposed persons",
            "status": "undecided"
          }
        ]
      }
    }
  ]
}
```

## Search identity verifications

Every identity verification of the workspace, newest first, found by the person's name, the start of the verification's reference or the verification's id, its status, its profile and when it was started.

`GET /v1/identity_verifications/search`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications search [--q <text>] [--status <not_started|in_progress|needs_review|passed|failed|cancelled|expired>] [--profile-id <vpr_id>] [--created-from <time>] [--created-to <time>] [--limit <1-200>] [--cursor <cursor>]`. MCP tool: `search_identity_verifications`.

**Parameters**
- `q` (string): A verification's id, the start of your reference for it, or a person's name (among the 1,000 most recently active people it fits), 2 to 200 characters. One character answers `400 invalid_input` on `q`.
- `status` (enum): Only verifications with this status. One of `not_started`, `in_progress`, `needs_review`, `passed`, `failed`, `cancelled`, `expired`.
- `profile_id` (id (vpr_)): Only verifications under this profile.
- `created_from` (string): Started at or after this time.
- `created_to` (string): Started before this time.
- `limit` (integer): How many to answer, 1 to 200. 50 a page when left out.
- `cursor` (string): The `next_cursor` of the page before, with the same filters, to read the next one. At most 200 characters.

**Returns** page of identity verifications: Up to limit verifications, newest first, with has_more and the next cursor.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/identity_verifications/search?q=Whelan&status=passed&limit=25" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications search \
  --q Whelan \
  --status passed \
  --limit 25
```

MCP tool `search_identity_verifications`:

```json
{
  "name": "search_identity_verifications",
  "arguments": {
    "q": "Whelan",
    "status": "passed",
    "limit": 25
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.search({
  q: "Whelan",
  status: "passed",
  limit: 25,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.search(
    q="Whelan",
    status="passed",
    limit=25,
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Search(ctx, &kontiga.IdentityVerificationsSearchParams{
	Q:      "Whelan",
	Status: "passed",
	Limit:  25,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().search(IdentityVerificationsSearchParams.builder()
    .q("Whelan")
    .status("passed")
    .limit(25)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.SearchAsync(new IdentityVerificationsSearchOptions
{
    Q = "Whelan",
    Status = "passed",
    Limit = 25,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->search([
    'q' => 'Whelan',
    'status' => 'passed',
    'limit' => 25,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.search(
  q: "Whelan",
  status: "passed",
  limit: 25
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .search(kontiga::identity_verifications::SearchParams {
        q: "Whelan".into(),
        status: "passed".into(),
        limit: 25,
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "object": "list",
  "items": [
    {
      "id": "idv_5Wr8Kd3",
      "object": "identity_verification",
      "mode": "live",
      "case_id": "case_7Kq2Xw9",
      "party_id": "pty_9Hd4Vb1",
      "person_id": "per_2Nc6Qs8",
      "person_name": "Clara Whelan",
      "profile": {
        "id": "vpr_4Tk9Bm2",
        "name": "ID and selfie"
      },
      "status": "passed",
      "document": "Passport, Ireland",
      "result": "passed",
      "decided_by": "rules",
      "decided_by_name": "Kontiga's rules",
      "portrait_url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/selfie_3?expires=1764147900&signature=c4f063",
      "created_at": "2026-11-24T09:12:41Z",
      "completed_at": "2026-11-24T18:40:05Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

## Verify a party's identity

Start an identity verification for one party of a case, or for a person with no case (by their id, or by your reference or their details, found in People or added), with the workspace's verification profile, and send them the link or get it to share.

`POST /v1/identity_verifications`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications create (--case-id <case_id> --party-id <party_id> | --person-id <person_id> | --person '{"reference":"CUST-88412","first_name":"Liam","last_name":"Byrne","email":"liam@example.com"}') [--profile-id <vpr_id>] [--deliver <email|sms|link>] [--locale <en|pt|es|ar|zht|zhs|fr|de|ja|hi|ru|sv>] [--qr] [--reference <text>] [--metadata <json>] [--again --reason <text>]`. MCP tool: `start_identity_verification`.

**Parameters**
- `case_id` (id (case_)): The case the party is on.
- `party_id` (id (pty_)): The party to verify.
- `person_id` (id (per_)): Instead of a case's party: a person in People, verified with no case.
- `person` (object): Instead of either: `reference`, `first_name`, `last_name`, `email` and `phone`. Your reference finds someone already in People, then the email does; otherwise the person is added.
- `profile_id` (id (vpr_)): The verification profile. Left out, the one the case's checklist uses, else the workspace's default.
- `deliver` (enum, default "email"): `email` or `sms` sends the link to the address or number held for the person; `link` sends nothing and answers the link for you to share.
- `locale` (enum): The language the party is shown. Left out, their own. One of `en`, `pt`, `es`, `ar`, `zht`, `zhs`, `fr`, `de`, `ja`, `hi`, `ru`, `sv`.
- `qr` (boolean): `true` adds a QR code of the link, as a PNG in base64.
- `reference` (string): Your own reference for this verification, 1 to 255 characters, given back on it.
- `metadata` (record): Your own keys: a flat object of up to 20 keys (lower case, a letter then letters, digits and `_`, up to 40) to text of up to 500 characters, given back on it. A control character such as a line break is refused in either.
- `again` (boolean): `true` verifies them again from the start: nothing they hold is reused, so every step is asked and the link goes out. Give a `reason`. On a decided case, reopen it first.
- `reason` (string): With `again` only: why they are verified again, 1 to 500 characters, kept on the verification as `again.reason`.

**Returns** identity verification: The verification, waiting for the person, with its link, when the link stops working, where it was sent, and a QR code of it when asked; case_id and party_id are null when it was started for a person with no case. A session token for an SDK or the widget comes from identity_verifications.session_token.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "case_id": "case_4Pm1Zr6",
    "party_id": "pty_1Qr5Ls3",
    "deliver": "sms",
    "qr": true
  }'
```

CLI:

```bash
kontiga identity-verifications create \
  --case-id case_4Pm1Zr6 \
  --party-id pty_1Qr5Ls3 \
  --deliver sms \
  --qr
```

MCP tool `start_identity_verification`:

```json
{
  "name": "start_identity_verification",
  "arguments": {
    "case_id": "case_4Pm1Zr6",
    "party_id": "pty_1Qr5Ls3",
    "deliver": "sms",
    "qr": true
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.create({
  case_id: "case_4Pm1Zr6",
  party_id: "pty_1Qr5Ls3",
  deliver: "sms",
  qr: true,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.create(
    case_id="case_4Pm1Zr6",
    party_id="pty_1Qr5Ls3",
    deliver="sms",
    qr=True,
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Create(ctx, &kontiga.IdentityVerificationsCreateParams{
	CaseId:  "case_4Pm1Zr6",
	PartyId: "pty_1Qr5Ls3",
	Deliver: "sms",
	Qr:      true,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().create(IdentityVerificationsCreateParams.builder()
    .caseId("case_4Pm1Zr6")
    .partyId("pty_1Qr5Ls3")
    .deliver("sms")
    .qr(true)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.CreateAsync(new IdentityVerificationsCreateOptions
{
    CaseId = "case_4Pm1Zr6",
    PartyId = "pty_1Qr5Ls3",
    Deliver = "sms",
    Qr = true,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->create([
    'case_id' => 'case_4Pm1Zr6',
    'party_id' => 'pty_1Qr5Ls3',
    'deliver' => 'sms',
    'qr' => true,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.create(
  case_id: "case_4Pm1Zr6",
  party_id: "pty_1Qr5Ls3",
  deliver: "sms",
  qr: true
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .create(kontiga::identity_verifications::CreateParams {
        case_id: "case_4Pm1Zr6".into(),
        party_id: "pty_1Qr5Ls3".into(),
        deliver: "sms".into(),
        qr: true,
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "id": "idv_2Hb6Wm9",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "party_id": "pty_1Qr5Ls3",
  "person_id": "per_4Vn8Pj2",
  "person_name": "Ewa Nowak",
  "request_id": null,
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "status": "not_started",
  "document": "Not sent yet",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "waiting",
      "detail": "Waiting for Ewa.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "pending",
      "detail": "After the ID document.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "pending",
      "detail": "Once every step is in.",
      "reused": false,
      "completed_at": null,
      "review": null
    }
  ],
  "result": null,
  "decided_by": null,
  "decided_by_name": null,
  "decision_reason": null,
  "reused_from": null,
  "again": null,
  "id_document": null,
  "selfie": null,
  "portrait_url": null,
  "link": {
    "url": "https://verify.kontiga.com/v/kt_vlt_6ba80c41b78a2c6a9a76b10867920e405ce73f14abe2001e670607b03e4da56a",
    "expires_at": "2026-11-27T09:20:14Z",
    "qr_png_base64": "iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA9..."
  },
  "sent_on": "sms",
  "delivery": {
    "channel": "sms",
    "state": "sent",
    "reason": null,
    "at": "2026-11-26T09:20:14Z"
  },
  "locale": "en",
  "closed": null,
  "created_at": "2026-11-26T09:20:14Z",
  "completed_at": null
}
```

Name one of three: a case's party (`case_id` with `party_id`), a person (`person_id`), or a person to find or add (`person`). Started for a person, the verification has no case: `case_id` and `party_id` are `null`. A start takes no return address: the party returns to the verification profile's `return_url`, where `{reference}` and `{verification}` are filled in.

A live start holds its identity verification at once, so one that nothing covers answers `402 insufficient_credit`, with `details.reason` (`free_allowance_used`, `plan_required`, `allowance_used` or `balance_empty`), and nothing is made: no verification, no person, no message counted. Cancelling it, or its link running out, gives it back while no step has passed or failed. A test key is never billed. With no `profile_id` and no profile yet, the first start makes the workspace's first profile, ID document and selfie, and uses it. A `person.reference` that already belongs to someone with other names answers `409 person_mismatch` with that person's `details.person_id`: start for them by `person_id`, or give a new reference. A start for a case's party that still has an open verification answers `409 verification_open` with its `details.verification_id`, with `again: true` too: resend its link, or cancel it and start again, so the person never holds two links. An email that is not one answers `400 invalid_input` on `person.email`. A start that sends past your workspace's messages for the day (2,000 text messages, 10,000 emails) answers `429 rate_limited` with `details.reason` `daily_message_limit`; share the link instead. Send an `Idempotency-Key` header: a retry with the same key within 24 hours gets the first answer and never starts a second verification. A step the person already passed, and that is still valid, is reused; when every step is, the verification is decided at once and nothing is sent.

To verify someone again from the start, send `again: true` with a `reason`: nothing they hold is reused, every step is asked, and the reason comes back as `again.reason` on the start's answer and on a read by its id (`again` is `null` on any other). A reason without `again`, or `again` without a reason, answers `400 invalid_input` on `reason`. A case's party on a decided case answers `409 case_decided`: reopen the case first. The earlier verification stays as it ended; while a party's is still open, `again` answers `409 verification_open` too, so cancel that one first.

**Started for a person with no case**

```json
{
  "id": "idv_6Wn3Rk8",
  "object": "identity_verification",
  "mode": "live",
  "case_id": null,
  "party_id": null,
  "person_id": "per_9Lb2Tx5",
  "person_name": "Liam Byrne",
  "request_id": null,
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "status": "not_started",
  "document": "Not sent yet",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "waiting",
      "detail": "Waiting for Liam.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie and liveness",
      "status": "pending",
      "detail": "After the ID document.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "pending",
      "detail": "Once every step is in.",
      "reused": false,
      "completed_at": null,
      "review": null
    }
  ],
  "result": null,
  "reference": "LOAN-55120",
  "metadata": {
    "channel": "branch",
    "branch": "dublin_2"
  },
  "link": {
    "url": "https://verify.kontiga.com/v/kt_vlt_9e36a92eb58b59f5ae168867ccfc9fb18eeac3cff6dd725892fe80c0a5c6e4b9",
    "expires_at": "2026-12-06T09:15:00Z",
    "qr_png_base64": null
  },
  "sent_on": "email",
  "locale": "en",
  "closed": null,
  "created_at": "2026-11-29T09:15:00Z",
  "completed_at": null
}
```

## Send the link again

Sends an open identity verification's link to the person again: on the channel it first went out on, or by email or text message to what is on file. The link stays the same and keeps its end time.

`POST /v1/identity_verifications/{verification_id}/resend`. Who may: Owner, Admin and Analyst. CLI: `kontiga identity-verifications resend <verification_id> [--channel <email|sms|link>]`. MCP tool: `resend_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The open verification. In the path.
- `channel` (enum): `email` or `sms`, to the address or number held for the person. Left out, the channel the link first went out on; a link given to share needs one. `link` sends nothing and answers the link again.

**Returns** identity verification: The verification, its link sent again on the channel named.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_2Hb6Wm9/resend \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "sms"
  }'
```

CLI:

```bash
kontiga identity-verifications resend idv_2Hb6Wm9 --channel sms
```

MCP tool `resend_identity_verification`:

```json
{
  "name": "resend_identity_verification",
  "arguments": {
    "verification_id": "idv_2Hb6Wm9",
    "channel": "sms"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.resend("idv_2Hb6Wm9", {
  channel: "sms",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.resend("idv_2Hb6Wm9", channel="sms")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Resend(ctx, "idv_2Hb6Wm9", &kontiga.IdentityVerificationsResendParams{
	Channel: "sms",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().resend("idv_2Hb6Wm9", IdentityVerificationsResendParams.builder()
    .channel("sms")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ResendAsync("idv_2Hb6Wm9", new IdentityVerificationsResendOptions
{
    Channel = "sms",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->resend('idv_2Hb6Wm9', [
    'channel' => 'sms',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.resend("idv_2Hb6Wm9", channel: "sms")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .resend("idv_2Hb6Wm9".into(), kontiga::identity_verifications::ResendParams {
        channel: "sms".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_2Hb6Wm9",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "party_id": "pty_1Qr5Ls3",
  "person_id": "per_4Vn8Pj2",
  "person_name": "Ewa Nowak",
  "request_id": null,
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "status": "not_started",
  "document": "Not sent yet",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "waiting",
      "detail": "Waiting for Ewa.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "pending",
      "detail": "After the ID document.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "pending",
      "detail": "Once every step is in.",
      "reused": false,
      "completed_at": null,
      "review": null
    }
  ],
  "result": null,
  "decided_by": null,
  "decided_by_name": null,
  "decision_reason": null,
  "reused_from": null,
  "id_document": null,
  "selfie": null,
  "portrait_url": null,
  "link": {
    "url": "https://verify.kontiga.com/v/kt_vlt_6ba80c41b78a2c6a9a76b10867920e405ce73f14abe2001e670607b03e4da56a",
    "expires_at": "2026-11-27T09:20:14Z",
    "qr_png_base64": "iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA9..."
  },
  "sent_on": "sms",
  "delivery": {
    "channel": "sms",
    "state": "sent",
    "reason": null,
    "at": "2026-11-26T09:20:14Z"
  },
  "locale": "en",
  "closed": null,
  "created_at": "2026-11-26T09:20:14Z",
  "completed_at": null
}
```

A link goes out at most once a minute, 3 times an hour and 10 times a day. Past that the resend answers `429 rate_limited` with `details.reason` `resend_limit` and the seconds to wait in `Retry-After`; when its count cannot be read just then, `503 unavailable` with `Retry-After`. A read that answers `link: null` gets the link again here with `channel` `link`.

## Get a session token

A token your app or page opens an identity verification with, in Kontiga's SDKs or the widget. It belongs to the first device that uses it, works for 30 minutes and is renewed while in use; get a new one when it runs out.

`POST /v1/identity_verifications/{verification_id}/session_tokens`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications session-token <verification_id>`. MCP tool: `create_identity_verification_session_token`.

**Parameters**
- `verification_id` (id (idv_), required): The open verification your app or page opens. In the path.

**Returns** session token: The token, and when it stops working unless it is used.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_2Hb6Wm9/session_tokens \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications session-token idv_2Hb6Wm9
```

MCP tool `create_identity_verification_session_token`:

```json
{
  "name": "create_identity_verification_session_token",
  "arguments": {
    "verification_id": "idv_2Hb6Wm9"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.sessionToken("idv_2Hb6Wm9");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.session_token("idv_2Hb6Wm9")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.SessionToken(ctx, "idv_2Hb6Wm9")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().sessionToken("idv_2Hb6Wm9");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.SessionTokenAsync("idv_2Hb6Wm9");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->sessionToken('idv_2Hb6Wm9');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.session_token("idv_2Hb6Wm9")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .session_token("idv_2Hb6Wm9".into())
    .await?;
```

Response, 201 Created:

```json
{
  "object": "verification_session",
  "verification_id": "idv_2Hb6Wm9",
  "token": "kt_vst_23689ea7f3deec14a9012b7a13f25faa169994a4085da01d120c936981f6e9f6",
  "expires_at": "2026-11-26T09:50:14Z"
}
```

Hand the token to the end customer's app or page only, and never log it. It belongs to the first device that uses it, works for 30 minutes and is renewed while in use; get a new one for the same verification when it runs out. The SDKs and the widget send it in the `Authorization` header. A verification opens at most 50 sessions in all; past that a new token answers `409 session_limit_reached`, and the person needs a new verification.

## Review an unsure step

Approve or reject one step of an identity verification that a person has to look at, with a reason; the verification is decided again.

`POST /v1/identity_verifications/{verification_id}/steps/{step}/review`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications review-step <verification_id> <step> --decision <approve|reject> --reason <code> [--note <text>]`. MCP tool: `review_identity_verification_step`.

**Parameters**
- `verification_id` (id (idv_), required): The verification with a step in review. In the path.
- `step` (enum, required): The step to review. Only a step in `needs_review` can be. One of `id_document`, `screening`, `liveness`, `phone`, `email`, `proof_of_address`, `proof_of_funds`, `decision`. In the path.
- `decision` (enum, required): `approve` or `reject`.
- `reason` (enum, required): Why. Approving takes `document_genuine`, `face_matches`, `live_person` or `other`; rejecting takes `document_not_genuine`, `face_differs`, `not_live` or `other`.
- `note` (string): What you saw, for the case's timeline. At most 500 characters.

**Returns** identity verification: The verification with the step approved or rejected and the result decided again.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_9Cs4Lt7/steps/liveness/review \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "decision": "approve",
    "reason": "live_person",
    "note": "In the second still he turns his head as asked; the face matches the ID card."
  }'
```

CLI:

```bash
kontiga identity-verifications review-step idv_9Cs4Lt7 liveness \
  --decision approve \
  --reason live_person \
  --note 'In the second still he turns his head as asked; the face matches the ID card.'
```

MCP tool `review_identity_verification_step`:

```json
{
  "name": "review_identity_verification_step",
  "arguments": {
    "verification_id": "idv_9Cs4Lt7",
    "step": "liveness",
    "decision": "approve",
    "reason": "live_person",
    "note": "In the second still he turns his head as asked; the face matches the ID card."
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.reviewStep("idv_9Cs4Lt7", "liveness", {
  decision: "approve",
  reason: "live_person",
  note: "In the second still he turns his head as asked; the face matches the ID card.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.review_step(
    "idv_9Cs4Lt7",
    "liveness",
    decision="approve",
    reason="live_person",
    note="In the second still he turns his head as asked; the face matches the ID card.",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.ReviewStep(ctx, "idv_9Cs4Lt7", "liveness", &kontiga.IdentityVerificationsReviewStepParams{
	Decision: "approve",
	Reason:   "live_person",
	Note:     "In the second still he turns his head as asked; the face matches the ID card.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().reviewStep("idv_9Cs4Lt7", "liveness", IdentityVerificationsReviewStepParams.builder()
    .decision("approve")
    .reason("live_person")
    .note("In the second still he turns his head as asked; the face matches the ID card.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ReviewStepAsync("idv_9Cs4Lt7", "liveness", new IdentityVerificationsReviewStepOptions
{
    Decision = "approve",
    Reason = "live_person",
    Note = "In the second still he turns his head as asked; the face matches the ID card.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->reviewStep('idv_9Cs4Lt7', 'liveness', [
    'decision' => 'approve',
    'reason' => 'live_person',
    'note' => 'In the second still he turns his head as asked; the face matches the ID card.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.review_step(
  "idv_9Cs4Lt7",
  "liveness",
  decision: "approve",
  reason: "live_person",
  note: "In the second still he turns his head as asked; the face matches the ID card."
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .review_step("idv_9Cs4Lt7".into(), "liveness".into(), kontiga::identity_verifications::ReviewStepParams {
        decision: "approve".into(),
        reason: "live_person".into(),
        note: "In the second still he turns his head as asked; the face matches the ID card.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_9Cs4Lt7",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "party_id": "pty_6Ft2Bk9",
  "person_id": "per_7Xs3Dm1",
  "person_name": "Marek Nowak",
  "status": "passed",
  "document": "Identity card, Poland",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "passed",
      "detail": "Polish identity card, read on both sides.",
      "reused": false,
      "completed_at": "2026-11-25T20:11:37Z",
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "passed",
      "detail": "The room was dark, so liveness could not be decided by the rules.",
      "reused": false,
      "completed_at": "2026-11-25T20:13:02Z",
      "review": {
        "decision": "approve",
        "reason_label": "A live person",
        "note": "In the second still he turns his head as asked; the face matches the ID card.",
        "by": "Tomas Lindqvist",
        "at": "2026-11-26T08:52:19Z"
      }
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "passed",
      "detail": "Passed after a person's review.",
      "reused": false,
      "completed_at": "2026-11-26T08:52:19Z",
      "review": null
    }
  ],
  "result": "passed",
  "decided_by": "person",
  "decided_by_name": "Tomas Lindqvist",
  "decision_reason": "A live person: approved by Tomas Lindqvist.",
  "completed_at": "2026-11-26T08:52:19Z"
}
```

## Decide a verification

Pass or fail a whole identity verification yourself, with a reason, whatever its steps and the rules found. It overturns an earlier result, and the person's verified facts follow.

`POST /v1/identity_verifications/{verification_id}/review`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications review <verification_id> --decision <approve|reject> --reason <code> [--note <text>]`. MCP tool: `decide_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The verification to decide, once its captures are in. In the path.
- `decision` (enum, required): `approve` passes it, `reject` fails it, whatever the rules or an earlier person found.
- `reason` (enum, required): Why, from the same codes as a step's review. One of `document_genuine`, `face_matches`, `live_person`, `document_not_genuine`, `face_differs`, `not_live`, `other`.
- `note` (string): What you saw. Required with `other`. At most 500 characters.

**Returns** identity verification: The verification, passed or failed by you, with your reason.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_9Cs4Lt7/review \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "decision": "approve",
    "reason": "face_matches",
    "note": "I compared the stills with the card'\''s photo side by side."
  }'
```

CLI:

```bash
kontiga identity-verifications review idv_9Cs4Lt7 \
  --decision approve \
  --reason face_matches \
  --note 'I compared the stills with the card'\''s photo side by side.'
```

MCP tool `decide_identity_verification`:

```json
{
  "name": "decide_identity_verification",
  "arguments": {
    "verification_id": "idv_9Cs4Lt7",
    "decision": "approve",
    "reason": "face_matches",
    "note": "I compared the stills with the card's photo side by side."
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.review("idv_9Cs4Lt7", {
  decision: "approve",
  reason: "face_matches",
  note: "I compared the stills with the card's photo side by side.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.review(
    "idv_9Cs4Lt7",
    decision="approve",
    reason="face_matches",
    note="I compared the stills with the card's photo side by side.",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Review(ctx, "idv_9Cs4Lt7", &kontiga.IdentityVerificationsReviewParams{
	Decision: "approve",
	Reason:   "face_matches",
	Note:     "I compared the stills with the card's photo side by side.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().review("idv_9Cs4Lt7", IdentityVerificationsReviewParams.builder()
    .decision("approve")
    .reason("face_matches")
    .note("I compared the stills with the card's photo side by side.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ReviewAsync("idv_9Cs4Lt7", new IdentityVerificationsReviewOptions
{
    Decision = "approve",
    Reason = "face_matches",
    Note = "I compared the stills with the card's photo side by side.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->review('idv_9Cs4Lt7', [
    'decision' => 'approve',
    'reason' => 'face_matches',
    'note' => 'I compared the stills with the card\'s photo side by side.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.review(
  "idv_9Cs4Lt7",
  decision: "approve",
  reason: "face_matches",
  note: "I compared the stills with the card's photo side by side."
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .review("idv_9Cs4Lt7".into(), kontiga::identity_verifications::ReviewParams {
        decision: "approve".into(),
        reason: "face_matches".into(),
        note: "I compared the stills with the card's photo side by side.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_9Cs4Lt7",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "party_id": "pty_6Ft2Bk9",
  "person_id": "per_7Xs3Dm1",
  "person_name": "Marek Nowak",
  "status": "passed",
  "document": "Identity card, Poland",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "passed",
      "detail": "Polish identity card, read on both sides.",
      "reused": false,
      "completed_at": "2026-11-25T20:11:37Z",
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "needs_review",
      "detail": "The room was dark, so liveness could not be decided by the rules.",
      "reused": false,
      "completed_at": "2026-11-25T20:13:02Z",
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "passed",
      "detail": "Passed after a person's review.",
      "reused": false,
      "completed_at": "2026-11-26T08:52:19Z",
      "review": null
    }
  ],
  "result": "passed",
  "decided_by": "person",
  "decided_by_name": "Tomas Lindqvist",
  "decision_reason": "The face matches the ID card: I compared the stills with the card's photo side by side.",
  "completed_at": "2026-11-26T08:52:19Z"
}
```

Deciding a verification fires `identity_verification.completed`. A failed one takes back the facts it had verified on the person.

## Ask for a step again

Ask the person to do one or more steps of their identity verification again, such as a sharper photo of the ID or a new selfie, with the reason they will read. The same link reaches them on the same channel.

`POST /v1/identity_verifications/{verification_id}/redo`. Who may: Owner, Admin and Analyst. CLI: `kontiga identity-verifications redo <verification_id> --steps <id_document|liveness|phone|email|proof_of_address|proof_of_funds>,... --reason <text>`. MCP tool: `redo_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The verification to ask again on. In the path.
- `steps` (array of enum, required): The steps to do again: `id_document`, `liveness`, `phone`, `email`, `proof_of_address` or `proof_of_funds`. At most 6 items.
- `reason` (string, required): Why, in words the person reads, up to 500 characters. Never give a fraud finding as the reason.

**Returns** identity verification: The verification that carries the redo: the same one before a decision, a new one after it.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_2Hb6Wm9/redo \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "steps": [
      "id_document"
    ],
    "reason": "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light."
  }'
```

CLI:

```bash
kontiga identity-verifications redo idv_2Hb6Wm9 \
  --steps id_document \
  --reason 'The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.'
```

MCP tool `redo_identity_verification`:

```json
{
  "name": "redo_identity_verification",
  "arguments": {
    "verification_id": "idv_2Hb6Wm9",
    "steps": [
      "id_document"
    ],
    "reason": "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light."
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.redo("idv_2Hb6Wm9", {
  steps: ["id_document"],
  reason: "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.redo(
    "idv_2Hb6Wm9",
    steps=["id_document"],
    reason="The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Redo(ctx, "idv_2Hb6Wm9", &kontiga.IdentityVerificationsRedoParams{
	Steps:  []string{"id_document"},
	Reason: "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().redo("idv_2Hb6Wm9", IdentityVerificationsRedoParams.builder()
    .steps(List.of("id_document"))
    .reason("The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.RedoAsync("idv_2Hb6Wm9", new IdentityVerificationsRedoOptions
{
    Steps = new[] { "id_document" },
    Reason = "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->redo('idv_2Hb6Wm9', [
    'steps' => ['id_document'],
    'reason' => 'The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.redo(
  "idv_2Hb6Wm9",
  steps: ["id_document"],
  reason: "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light."
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .redo("idv_2Hb6Wm9".into(), kontiga::identity_verifications::RedoParams {
        steps: vec!["id_document".into()],
        reason: "The photo of your ID card is blurred at the bottom, so your date of birth cannot be read. Please take it again in good light.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_2Hb6Wm9",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "party_id": "pty_1Qr5Ls3",
  "person_name": "Ewa Nowak",
  "status": "in_progress",
  "steps": [
    {
      "key": "id_document",
      "label": "ID document",
      "status": "waiting",
      "detail": "Asked again: the photo of the ID card is blurred at the bottom.",
      "reused": false,
      "completed_at": null,
      "review": null
    },
    {
      "key": "liveness",
      "label": "Selfie",
      "status": "passed",
      "detail": "A live person.",
      "reused": false,
      "completed_at": "2026-11-26T10:04:51Z",
      "review": null
    },
    {
      "key": "decision",
      "label": "Decision",
      "status": "pending",
      "detail": "Once every step is in.",
      "reused": false,
      "completed_at": null,
      "review": null
    }
  ],
  "result": null,
  "link": {
    "url": "https://verify.kontiga.com/v/kt_vlt_6ba80c41b78a2c6a9a76b10867920e405ce73f14abe2001e670607b03e4da56a",
    "expires_at": "2026-11-27T09:20:14Z",
    "qr_png_base64": null
  },
  "closed": null
}
```

Before a decision, the steps go back to waiting on the same verification. After one, a new verification asks only for those steps and reuses the rest. Either way the same link reaches the person on the same channel, and the case waits on them.

## Give more time

Move when a verification's link stops working to a later time, so the person can still finish it. Only an open verification can be given more time.

`POST /v1/identity_verifications/{verification_id}/extend`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications extend <verification_id> --expires-at <time>`. MCP tool: `extend_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The open verification. In the path.
- `expires_at` (string, required): The new time its link stops working: after its current `expires_at`, at most a year from now. A time before it answers `400 invalid_input` on `expires_at`; to end a verification sooner, cancel it.

**Returns** identity verification: The verification, its link working until the new time.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_2Hb6Wm9/extend \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "expires_at": "2026-12-03T18:00:00Z"
  }'
```

CLI:

```bash
kontiga identity-verifications extend idv_2Hb6Wm9 \
  --expires-at 2026-12-03T18:00:00Z
```

MCP tool `extend_identity_verification`:

```json
{
  "name": "extend_identity_verification",
  "arguments": {
    "verification_id": "idv_2Hb6Wm9",
    "expires_at": "2026-12-03T18:00:00Z"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.extend("idv_2Hb6Wm9", {
  expires_at: "2026-12-03T18:00:00Z",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.extend("idv_2Hb6Wm9", expires_at="2026-12-03T18:00:00Z")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Extend(ctx, "idv_2Hb6Wm9", &kontiga.IdentityVerificationsExtendParams{
	ExpiresAt: "2026-12-03T18:00:00Z",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().extend("idv_2Hb6Wm9", IdentityVerificationsExtendParams.builder()
    .expiresAt("2026-12-03T18:00:00Z")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ExtendAsync("idv_2Hb6Wm9", new IdentityVerificationsExtendOptions
{
    ExpiresAt = "2026-12-03T18:00:00Z",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->extend('idv_2Hb6Wm9', [
    'expires_at' => '2026-12-03T18:00:00Z',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.extend("idv_2Hb6Wm9", expires_at: "2026-12-03T18:00:00Z")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .extend("idv_2Hb6Wm9".into(), kontiga::identity_verifications::ExtendParams {
        expires_at: "2026-12-03T18:00:00Z".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_2Hb6Wm9",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "person_name": "Ewa Nowak",
  "status": "in_progress",
  "result": null,
  "link": {
    "url": "https://verify.kontiga.com/v/kt_vlt_6ba80c41b78a2c6a9a76b10867920e405ce73f14abe2001e670607b03e4da56a",
    "expires_at": "2026-12-03T18:00:00Z",
    "qr_png_base64": null
  },
  "closed": null
}
```

## Cancel a verification

Stop an identity verification that is not decided yet: its link stops working at once, every device it is open on is told, and nothing is charged.

`POST /v1/identity_verifications/{verification_id}/cancel`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga identity-verifications cancel <verification_id> [--reason <text>]`. MCP tool: `cancel_identity_verification`.

**Parameters**
- `verification_id` (id (idv_), required): The verification to stop. One already decided cannot be cancelled. In the path.
- `reason` (string): Why, for the team. At most 500 characters.

**Returns** identity verification: The verification, cancelled, with who cancelled it and why.

API:

```bash
curl -X POST https://api.kontiga.com/v1/identity_verifications/idv_2Hb6Wm9/cancel \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "Ewa Nowak is no longer a tenant on this application."
  }'
```

CLI:

```bash
kontiga identity-verifications cancel idv_2Hb6Wm9 \
  --reason 'Ewa Nowak is no longer a tenant on this application.'
```

MCP tool `cancel_identity_verification`:

```json
{
  "name": "cancel_identity_verification",
  "arguments": {
    "verification_id": "idv_2Hb6Wm9",
    "reason": "Ewa Nowak is no longer a tenant on this application."
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.cancel("idv_2Hb6Wm9", {
  reason: "Ewa Nowak is no longer a tenant on this application.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.cancel("idv_2Hb6Wm9", reason="Ewa Nowak is no longer a tenant on this application.")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Cancel(ctx, "idv_2Hb6Wm9", &kontiga.IdentityVerificationsCancelParams{
	Reason: "Ewa Nowak is no longer a tenant on this application.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().cancel("idv_2Hb6Wm9", IdentityVerificationsCancelParams.builder()
    .reason("Ewa Nowak is no longer a tenant on this application.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.CancelAsync("idv_2Hb6Wm9", new IdentityVerificationsCancelOptions
{
    Reason = "Ewa Nowak is no longer a tenant on this application.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->cancel('idv_2Hb6Wm9', [
    'reason' => 'Ewa Nowak is no longer a tenant on this application.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.cancel("idv_2Hb6Wm9", reason: "Ewa Nowak is no longer a tenant on this application.")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .cancel("idv_2Hb6Wm9".into(), kontiga::identity_verifications::CancelParams {
        reason: "Ewa Nowak is no longer a tenant on this application.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "idv_2Hb6Wm9",
  "object": "identity_verification",
  "mode": "live",
  "case_id": "case_4Pm1Zr6",
  "person_name": "Ewa Nowak",
  "status": "cancelled",
  "result": null,
  "link": null,
  "closed": {
    "state": "cancelled",
    "at": "2026-11-26T11:02:37Z",
    "by": "Tomas Lindqvist",
    "by_kind": "member",
    "by_id": "5b1f0c2e-7d4a-4c1e-9a52-3f6d8e2b9c41",
    "reason": "Ewa Nowak is no longer a tenant on this application."
  }
}
```

## Download the verification report

The identity verification as a PDF in your brand kit: the person, the ID document read, the selfie, every step with its result, and who decided and why. Made once it is decided, and made again when it changes.

`GET /v1/identity_verifications/{verification_id}/report`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga identity-verifications report <verification_id> [--output <file.pdf>]`. MCP tool: `get_identity_verification_report`.

**Parameters**
- `verification_id` (id (idv_), required): The verification to report on. The CLI saves the PDF where `--output` says. In the path.

**Returns** verification report: The PDF's link, which works for about 5 minutes, its file name and when it was made.

API:

```bash
curl -X GET https://api.kontiga.com/v1/identity_verifications/idv_5Wr8Kd3/report \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga identity-verifications report idv_5Wr8Kd3
```

MCP tool `get_identity_verification_report`:

```json
{
  "name": "get_identity_verification_report",
  "arguments": {
    "verification_id": "idv_5Wr8Kd3"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.identityVerifications.report("idv_5Wr8Kd3");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.report("idv_5Wr8Kd3")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.Report(ctx, "idv_5Wr8Kd3")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().report("idv_5Wr8Kd3");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ReportAsync("idv_5Wr8Kd3");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->identityVerifications->report('idv_5Wr8Kd3');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.report("idv_5Wr8Kd3")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .report("idv_5Wr8Kd3".into())
    .await?;
```

Response, 200 OK:

```json
{
  "object": "verification_report",
  "verification_id": "idv_5Wr8Kd3",
  "file_name": "identity-verification-idv_5Wr8Kd3.pdf",
  "content_type": "application/pdf",
  "made_at": "2026-11-24T18:40:09Z",
  "url": "https://files.kontiga.com/v1/idv_5Wr8Kd3/report.pdf?expires=1764147900&signature=3c9e51",
  "expires_at": "2026-11-26T09:05:00Z"
}
```

A report not made yet is made now, and the call answers `503 report_not_ready` at once with `Retry-After`: ask again after it.

## Start a verification with a publishable key

From your page or app, with a publishable key and a verification profile: finds the person by your reference or email, or adds them, opens a case, and starts their identity verification. Answers the session token, the link, a QR code and the brand kit.

`POST /v1/verify/sessions`. Who may: Your page or app, with a publishable key. CLI: `kontiga verify-sessions create --profile-id <vpr_id> --first-name <name> --last-name <name> [--reference <text>] [--email <address>] [--phone <+number>] [--locale <en|pt|es|ar|zht|zhs|fr|de|ja|hi|ru|sv>] [--qr]`. MCP tool: `start_verification_session`.

**Parameters**
- `profile_id` (id (vpr_), required): The verification profile to run.
- `first_name` (string, required): The person's first name. At most 80 characters.
- `last_name` (string, required): The person's last name. At most 80 characters.
- `reference` (string): Your own reference for the person. It finds someone already in People before anything else does. At most 100 characters.
- `email` (email): Their email. Without a reference, it finds someone already in People. At most 255 characters.
- `phone` (string): Their phone number, with its country code.
- `locale` (enum): The language they are spoken to in. One of `en`, `pt`, `es`, `ar`, `zht`, `zhs`, `fr`, `de`, `ja`, `hi`, `ru`, `sv`.
- `qr` (boolean): `true` adds a QR code of the link, as a PNG in base64.

**Returns** verification session: The verification started, with its session token, its link and when it ends, the QR code when asked, and what the page shows first.

API:

```bash
curl -X POST https://api.kontiga.com/v1/verify/sessions \
  -H "Authorization: Bearer <your publishable key>" \
  -H "Content-Type: application/json" \
  -d '{
    "profile_id": "vpr_4Tk9Bm2",
    "first_name": "Liam",
    "last_name": "Byrne",
    "reference": "CUST-88412",
    "email": "liam.byrne@mail.example",
    "phone": "+353862307745",
    "locale": "en",
    "qr": true
  }'
```

CLI:

```bash
kontiga verify-sessions create \
  --profile-id vpr_4Tk9Bm2 \
  --first-name Liam \
  --last-name Byrne \
  --reference CUST-88412 \
  --email liam.byrne@mail.example \
  --phone +353862307745 \
  --locale en \
  --qr
```

MCP tool `start_verification_session`:

```json
{
  "name": "start_verification_session",
  "arguments": {
    "profile_id": "vpr_4Tk9Bm2",
    "first_name": "Liam",
    "last_name": "Byrne",
    "reference": "CUST-88412",
    "email": "liam.byrne@mail.example",
    "phone": "+353862307745",
    "locale": "en",
    "qr": true
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // no key needed
const result = await kontiga.verifySessions.create({
  profile_id: "vpr_4Tk9Bm2",
  first_name: "Liam",
  last_name: "Byrne",
  reference: "CUST-88412",
  email: "liam.byrne@mail.example",
  phone: "+353862307745",
  locale: "en",
  qr: true,
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # no key needed
result = kontiga.verify_sessions.create(
    profile_id="vpr_4Tk9Bm2",
    first_name="Liam",
    last_name="Byrne",
    reference="CUST-88412",
    email="liam.byrne@mail.example",
    phone="+353862307745",
    locale="en",
    qr=True,
)
```

Go:

```go
client := kontiga.NewClient() // no key needed
result, err := client.VerifySessions.Create(ctx, &kontiga.VerifySessionsCreateParams{
	ProfileId: "vpr_4Tk9Bm2",
	FirstName: "Liam",
	LastName:  "Byrne",
	Reference: "CUST-88412",
	Email:     "liam.byrne@mail.example",
	Phone:     "+353862307745",
	Locale:    "en",
	Qr:        true,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // no key needed
var result = kontiga.verifySessions().create(VerifySessionsCreateParams.builder()
    .profileId("vpr_4Tk9Bm2")
    .firstName("Liam")
    .lastName("Byrne")
    .reference("CUST-88412")
    .email("liam.byrne@mail.example")
    .phone("+353862307745")
    .locale("en")
    .qr(true)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // no key needed
var result = await kontiga.VerifySessions.CreateAsync(new VerifySessionsCreateOptions
{
    ProfileId = "vpr_4Tk9Bm2",
    FirstName = "Liam",
    LastName = "Byrne",
    Reference = "CUST-88412",
    Email = "liam.byrne@mail.example",
    Phone = "+353862307745",
    Locale = "en",
    Qr = true,
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // no key needed
$result = $kontiga->verifySessions->create([
    'profile_id' => 'vpr_4Tk9Bm2',
    'first_name' => 'Liam',
    'last_name' => 'Byrne',
    'reference' => 'CUST-88412',
    'email' => 'liam.byrne@mail.example',
    'phone' => '+353862307745',
    'locale' => 'en',
    'qr' => true,
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # no key needed
result = kontiga.verify_sessions.create(
  profile_id: "vpr_4Tk9Bm2",
  first_name: "Liam",
  last_name: "Byrne",
  reference: "CUST-88412",
  email: "liam.byrne@mail.example",
  phone: "+353862307745",
  locale: "en",
  qr: true
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // no key needed
let result = kontiga
    .verify_sessions()
    .create(kontiga::verify_sessions::CreateParams {
        profile_id: "vpr_4Tk9Bm2".into(),
        first_name: "Liam".into(),
        last_name: "Byrne".into(),
        reference: "CUST-88412".into(),
        email: "liam.byrne@mail.example".into(),
        phone: "+353862307745".into(),
        locale: "en".into(),
        qr: true,
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "object": "verification_session",
  "mode": "live",
  "verification_id": "idv_6Rt1Mc8",
  "case_id": "case_2Vb9Kx4",
  "person_id": "per_5Hy3Nw7",
  "party_id": "pty_8Ld2Qs6",
  "person_added": true,
  "profile": {
    "id": "vpr_4Tk9Bm2",
    "name": "ID and selfie"
  },
  "token": "kt_vst_419cbcc8fff3f3c096f231f071fa36dd6468996c67b51a92d8215f5ca6b6b2e1",
  "token_expires_at": "2026-11-26T09:45:00Z",
  "url": "https://verify.kontiga.com/v/kt_vlt_46c2239838a9d7136dbdcb05e845033c8c0120c969b6c7c21dd76411e2e54693",
  "expires_at": "2026-11-27T09:15:00Z",
  "qr_png_base64": "iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA9...",
  "locale": "en",
  "brand_kit": {
    "name": "Harbourline Lending",
    "logo": "https://files.kontiga.com/v1/brand/harbourline/logo.svg",
    "brand_color": "#14365C",
    "accent_color": "#2B8A6E",
    "privacy_url": "https://harbourline.example/privacy",
    "terms_url": "https://harbourline.example/terms",
    "consent_text": "Harbourline Lending checks your ID and a selfie to confirm who you are.",
    "consent_link": "https://harbourline.example/privacy#identity",
    "return_url": "https://harbourline.example/apply/done"
  }
}
```

> **Called with a publishable key** This start is made from your page or your app with a publishable key (`kt_pub_live_` or `kt_pub_test_`), from the origins you allow, never with a secret key. The widget or the SDK then sends the session token in the `Authorization` header. A test key makes test verifications.

## Following a verification

Each moment is a webhook event and a message on the realtime channel. An event carries ids and statuses only: the verification's `id`, `status`, `result`, `decided_by`, the person, case, party and profile ids, your `reference`, and each step's `key`, `status` and `reused`. No name, document number, date of birth, address or picture is ever in one: read the verification with your key for those. See [Webhooks](https://kontiga.com/docs/webhooks).

Verify's events

| Event | When |
| --- | --- |
| `identity_verification.created` | Started, with its link. |
| `identity_verification.started` | The person opened the link and agreed. |
| `identity_verification.step_received` | A capture for a step arrived: the ID's pictures, the selfie, a proof or a chip read. |
| `identity_verification.step_completed` | A step was checked: the payload names the step and its status. |
| `identity_verification.submitted` | Nothing waits for the person any more. |
| `identity_verification.queued_for_review` | It needs a person, and is on the review list with its reason. |
| `identity_verification.completed` | The result is `passed` or `failed`, by the rules or a person, and again when a person changes it. |
| `identity_verification.cancelled` | Cancelled before a decision. Its link stops working. |
| `identity_verification.expired` | The link ran out before the person finished. |
| `proof_of_address.accepted`, `.rejected`, `.queued_for_review`, `.expired` | A proof of address, in a verification or on a checklist, was decided, needs a person, or is too old. |

> **Decide on your server.** Never take a result from the person's browser or app: anyone can call a page's own callbacks. Wait for `identity_verification.completed`, or read the verification with your key, before anything is unlocked.

## Errors

What a server call can answer

| Answer | Means | Do |
| --- | --- | --- |
| `400 invalid_input` | A field or a parameter is missing, not in its form, holds a control character, or is not one the call takes: `issues` names it. | Fix the field. |
| `402 insufficient_credit` | A live start that nothing covers: the free start, the plan and the credit are used. | Add credit or choose a plan. Test keys are never refused. |
| `403 workspace_suspended` | The workspace is paused, so no new verification starts. | See Billing and plan. |
| `403 needs_expert_review` | An expert choice without the expert review add-on. | Turn the add-on on, or choose your own team. |
| `404 not_found` | No such verification in this workspace and mode. | Check the id, and live or test. |
| `409 verification_closed` | The verification is decided, cancelled or expired. | Start a new one, or ask for a redo. |
| `409 conflict` | Its state does not allow the change, such as a step not in review. | Read the verification again. |
| `409 case_decided` | A start again (`again: true`) for a party of a decided case. | Reopen the case, then start again. |
| `409 verification_open` | A start for a party that still has an open verification, named in `details.verification_id`. | Resend its link or cancel it. To verify the party again on purpose, send `again: true` with a reason. |
| `409 session_limit_reached` | The verification has opened all the sessions it can. | Start a new verification for the person. |
| `429 rate_limited` | Too many calls, or a link sent too often (`details.reason` `resend_limit`) or past the workspace's messages for the day (`daily_message_limit`). | Wait the seconds in `Retry-After`. |
| `503 unavailable` | Busy for a moment. | Try again after `Retry-After`. |

- [Verify an identity by API](https://kontiga.com/docs/guides/verify-by-api): From your server, end to end.
- [The verification client API](https://kontiga.com/docs/guides/verify-client-api): What the end customer's device calls.
- [Test identity verifications](https://kontiga.com/docs/guides/verify-test-mode): Test keys, try links and the samples.
