# Test 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: Guides. URL: https://kontiga.com/docs/guides/verify-test-mode

Build against Verify without billing: a test key starts test verifications, a try link walks a profile in test mode, and Kontiga's sample IDs, selfies and proofs give the same result every time.

Updated December 1, 2026

## Three ways into test mode

- A test key (`kt_test_`): every verification it starts is a test one.
- A test publishable key (`kt_pub_test_`), for the widget and your app.
- A try link: a test verification of a profile with its own link, open for an hour, even while the profile's walk-in link is off. From Settings, Verify, or with one call:

API:

```bash
curl -X POST https://api.kontiga.com/v1/verification_profiles/vpr_4Tk9Bm2/try \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga verification-profiles try vpr_4Tk9Bm2
```

MCP tool `try_verification_profile`:

```json
{
  "name": "try_verification_profile",
  "arguments": {
    "profile_id": "vpr_4Tk9Bm2"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.portal.tryProfile("vpr_4Tk9Bm2");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.portal.try_profile("vpr_4Tk9Bm2")
```

Go:

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

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.portal().tryProfile("vpr_4Tk9Bm2");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Portal.TryProfileAsync("vpr_4Tk9Bm2");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->portal->tryProfile('vpr_4Tk9Bm2');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.portal.try_profile("vpr_4Tk9Bm2")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .portal()
    .try_profile("vpr_4Tk9Bm2".into())
    .await?;
```

## What a test verification does

- It asks for every step of its profile and is checked the way a live one is, then decided.
- The capture screens offer Kontiga's sample IDs, selfies and proofs in place of the camera and the file picker. A sample gives the same result every time, so a test can count on it.
- Only the samples are taken. Any other photo, selfie or file is refused with `422 test_mode_sample_only`, whose `details.samples` names the samples that step takes. Check your own documents with a live verification.
- It is never billed, and never mixed with live ones: `mode` is `test`, a list in live mode never shows it, and its events go only to test webhook endpoints.

## The samples

Each sample gives the same result every time, so a test can count on it. Only a test verification takes a sample's result; a live one checks every file as it is.

What each sample gives its step

| Sample | Step | Result |
| --- | --- | --- |
| A passport, as a photo or as a one-page PDF | ID document | `passed` |
| A passport with a doubt on it | ID document | `needs_review` |
| A specimen passport, and a specimen ID card's two sides | ID document | `failed`: a specimen is never accepted |
| The face on the passport | Selfie | `passed` |
| Another person's face | Selfie | `failed` |
| A selfie that is not a live person | Selfie | `failed` |
| No face in the frame | Selfie | `waiting`: asked again |
| A face whose age does not fit the ID | Selfie | `needs_review` |
| A utility bill in the person's name | Proof of address | `passed` |
| A bank statement that is too old, or a picture that is not a document | Proof of address | `waiting`: asked again, with the reason |
| An unclear bill, or a file that cannot be read | Proof of address | `needs_review` |
| A bank statement | Proof of funds | `passed` |
| A payslip in another name | Proof of funds | `waiting`: asked again, with the reason |

Whole verifications: the passport and its face are `passed`; the passport with a doubt and the same face, `needs_review`; the passport and a selfie that is not live, `failed`.

## Follow and decide it

Everything works as live: the events, the review list, a member's review, the redo and the report. Read the test verifications with your test key:

API:

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

CLI:

```bash
kontiga identity-verifications list \
  --status needs_review \
  --limit 25
```

MCP tool `list_identity_verifications`:

```json
{
  "name": "list_identity_verifications",
  "arguments": {
    "status": "needs_review",
    "limit": 25
  }
}
```

TypeScript:

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

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

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.list(status="needs_review", limit=25)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.IdentityVerifications.List(ctx, &kontiga.IdentityVerificationsListParams{
	Status: "needs_review",
	Limit:  25,
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.identityVerifications().list(IdentityVerificationsListParams.builder()
    .status("needs_review")
    .limit(25)
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.IdentityVerifications.ListAsync(new IdentityVerificationsListOptions
{
    Status = "needs_review",
    Limit = 25,
});
```

PHP:

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

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.identity_verifications.list(status: "needs_review", limit: 25)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .identity_verifications()
    .list(kontiga::identity_verifications::ListParams {
        status: "needs_review".into(),
        limit: 25,
        ..Default::default()
    })
    .await?;
```

## Going live

Use a live key in place of the test one; nothing else changes. Live verifications are billed as [Verify an identity by API](https://kontiga.com/docs/guides/verify-by-api#what-is-billed) says.
