# Cases

> 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/cases

Whatever your workspace calls them on screen (Claims, Applications or its own word), the API, the CLI, the MCP server and webhooks say case and cases. A case is one matter, such as a claim or a loan application, with its parties, documents, checks and decision. Create cases, read them, give them to a member and record their outcome.

Updated November 30, 2026

## Always case and cases

Each workspace chooses the word its team sees for a case, in the setup and in [Settings](https://kontiga.com/docs/settings#read-the-case-rules). It changes the console's menus, titles and buttons. It never changes a name in the API:

- **Endpoints:** `/v1/cases`, `/v1/cases/{case_id}`
- **Ids and fields:** `case_...`, `case_id`, `case_reference`
- **Webhooks and events:** `case.created`, `case.waiting`, `case.decided` and the other `case.*` events
- **CLI:** `kontiga cases`
- **MCP tools:** `create_case`, `get_case`, `list_cases`, `decide_case` and the other case tools

`word_singular` and `word_plural` of [the case rules](https://kontiga.com/docs/settings#read-the-case-rules) give the word, so an agent can use it when it writes to your team. The case's reference keeps its own form. A file is always an uploaded file, even in a workspace that calls its cases Files.

## The case object

- `id` (string): The case's id, starting with `case_`.
- `mode` (enum): `live` or `test`. Test cases never mix with live ones.
- `title` (string): What the case is about, as members see it.
- `reference` (string): Your own reference for the case, such as an application number.
- `state` (enum): `open`, `waiting` (on an end customer), `in_review` or `decided`.
- `verdict` (enum): The most serious verdict of its checked documents: `trusted`, `review` or `high_risk`. `null` until the first is checked.
- `outcome` (object): The decision once the case is decided: `approved`, `rejected` or `needs_attention`, with its note, who decided and when. `null` before.
- `assignee` (string): The member the case is with, or `null`.
- `parties` (array): The people in the case, each with their role.

**A case**

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "mode": "live",
  "title": "Mortgage application, 14 Harbour Row",
  "reference": "APP-20418",
  "state": "in_review",
  "verdict": "review",
  "outcome": null,
  "assignee": "mem_3Rt8Lp2",
  "parties": [
    {
      "id": "pty_9Hd4Vb1",
      "person": "per_2Nc6Qs8",
      "role": "applicant"
    }
  ],
  "documents": 6,
  "created_at": "2026-11-24T09:12:40Z",
  "updated_at": "2026-11-26T08:03:11Z"
}
```

## Create a case

Open a case for a person on a collection, and send them its checklist.

`POST /v1/cases`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga cases create --title <title> --person-id <person_id> --collection-id <collection_id> [--channel <email|sms|email_and_sms|link>]`. MCP tool: `create_case`.

**Parameters**
- `title` (string, required): What the case is about, as members see it. At most 160 characters.
- `person_id` (id (per_), required): The person the case is for, from People.
- `collection_id` (id (col_), required): What to ask them for. A request is sent at once.
- `channel` (enum, default "email_and_sms"): How the request reaches them. The collection's own when left out. `link` sends nothing: get the link to share on your own channel with [Get a new link](https://kontiga.com/docs/requests#get-a-new-link). One of `email`, `sms`, `email_and_sms`, `link`.

**Returns** case: The case, waiting on the person.

API:

```bash
curl -X POST https://api.kontiga.com/v1/cases \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Mortgage application, 14 Harbour Row",
    "person_id": "per_2Nc6Qs8",
    "collection_id": "col_5Gk3Tm7"
  }'
```

CLI:

```bash
kontiga cases create \
  --title 'Mortgage application, 14 Harbour Row' \
  --person-id per_2Nc6Qs8 \
  --collection-id col_5Gk3Tm7
```

MCP tool `create_case`:

```json
{
  "name": "create_case",
  "arguments": {
    "title": "Mortgage application, 14 Harbour Row",
    "person_id": "per_2Nc6Qs8",
    "collection_id": "col_5Gk3Tm7"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.create({
  title: "Mortgage application, 14 Harbour Row",
  person_id: "per_2Nc6Qs8",
  collection_id: "col_5Gk3Tm7",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.create(
    title="Mortgage application, 14 Harbour Row",
    person_id="per_2Nc6Qs8",
    collection_id="col_5Gk3Tm7",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Cases.Create(ctx, &kontiga.CasesCreateParams{
	Title:        "Mortgage application, 14 Harbour Row",
	PersonId:     "per_2Nc6Qs8",
	CollectionId: "col_5Gk3Tm7",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().create(CasesCreateParams.builder()
    .title("Mortgage application, 14 Harbour Row")
    .personId("per_2Nc6Qs8")
    .collectionId("col_5Gk3Tm7")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.CreateAsync(new CasesCreateOptions
{
    Title = "Mortgage application, 14 Harbour Row",
    PersonId = "per_2Nc6Qs8",
    CollectionId = "col_5Gk3Tm7",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->create([
    'title' => 'Mortgage application, 14 Harbour Row',
    'person_id' => 'per_2Nc6Qs8',
    'collection_id' => 'col_5Gk3Tm7',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.create(
  title: "Mortgage application, 14 Harbour Row",
  person_id: "per_2Nc6Qs8",
  collection_id: "col_5Gk3Tm7"
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .create(kontiga::cases::CreateParams {
        title: "Mortgage application, 14 Harbour Row".into(),
        person_id: "per_2Nc6Qs8".into(),
        collection_id: "col_5Gk3Tm7".into(),
        ..Default::default()
    })
    .await?;
```

Response, 201 Created:

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "reference": "KT-4WD9PX2M7A",
  "title": "Mortgage application, 14 Harbour Row",
  "kind": "Mortgage application",
  "collection_id": "col_5Gk3Tm7",
  "state": "waiting",
  "outcome": null,
  "assignee_id": "usr_3Rt8Lp2",
  "parties": [{ "id": "pty_9Hd4Vb1", "person_id": "per_2Nc6Qs8", "role": "Applicant" }],
  "document_ids": [],
  "request_ids": ["rqs_4Gt7Uy2"],
  "amount": null,
  "created_at": "2026-11-24T09:12:40Z",
  "updated_at": "2026-11-24T09:12:40Z",
  "decided_at": null,
  "decision_note": null,
  "verdict": null,
  "primary_name": "Marta Kowalczyk"
}
```

## List cases

Every case of the workspace, newest change first, filtered by state, outcome, verdict, assignee or a search.

`GET /v1/cases`. Who may: Owner, Admin, Analyst and Viewer; Developer in test mode. CLI: `kontiga cases list [--state <open|waiting|in_review|decided>] [--outcome <approved|rejected|needs_attention>] [--verdict <trusted|review|high_risk>] [--assignee <member_id|me|none>] [--q <text>] [--limit <n>]`. MCP tool: `list_cases`.

**Parameters**
- `state` (enum): Only cases in this state. One of `open`, `waiting`, `in_review`, `decided`.
- `outcome` (enum): Only decided cases with this outcome. One of `approved`, `rejected`, `needs_attention`.
- `verdict` (enum): Only cases with this verdict. One of `trusted`, `review`, `high_risk`.
- `assignee` (id (mem_) or literal or literal): A member's id, `me` for your own, or `none` for cases with nobody.
- `q` (string): Words in the title, the reference or a party's name. At most 200 characters.
- `limit` (integer): How many to answer, 1 to 200. The answer's `next_cursor` reads the next page.

**Returns** list of cases: The cases, each with its state, outcome, verdict and first party.

API:

```bash
curl -X GET "https://api.kontiga.com/v1/cases?state=in_review&verdict=high_risk" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga cases list --state in_review --verdict high_risk
```

MCP tool `list_cases`:

```json
{
  "name": "list_cases",
  "arguments": {
    "state": "in_review",
    "verdict": "high_risk"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.list({
  state: "in_review",
  verdict: "high_risk",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.list(state="in_review", verdict="high_risk")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Cases.List(ctx, &kontiga.CasesListParams{
	State:   "in_review",
	Verdict: "high_risk",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().list(CasesListParams.builder()
    .state("in_review")
    .verdict("high_risk")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.ListAsync(new CasesListOptions
{
    State = "in_review",
    Verdict = "high_risk",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->list([
    'state' => 'in_review',
    'verdict' => 'high_risk',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.list(state: "in_review", verdict: "high_risk")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .list(kontiga::cases::ListParams {
        state: "in_review".into(),
        verdict: "high_risk".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "case_7Kq2Xw9",
      "object": "case",
      "title": "Mortgage application, 14 Harbour Row",
      "state": "in_review",
      "verdict": "review"
    },
    {
      "id": "case_4Pm1Zr6",
      "object": "case",
      "title": "Tenancy check, flat 3B, Elm Court",
      "state": "waiting",
      "verdict": null
    }
  ],
  "next_cursor": "eyJpZCI6ImNhc2VfNFBtMVpyNiJ9"
}
```

## Read a case

One case with its parties, documents, requests, verdict, outcome and decision note.

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

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

**Returns** case: The case as it stands.

API:

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

CLI:

```bash
kontiga cases get case_7Kq2Xw9
```

MCP tool `get_case`:

```json
{
  "name": "get_case",
  "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.get("case_7Kq2Xw9");
```

Python:

```python
from kontiga import Kontiga

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

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

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

Rust:

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

Response, 200 OK:

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "mode": "live",
  "title": "Mortgage application, 14 Harbour Row",
  "reference": "APP-20418",
  "state": "in_review",
  "verdict": "review",
  "outcome": null,
  "assignee": "mem_3Rt8Lp2",
  "parties": [
    {
      "id": "pty_9Hd4Vb1",
      "person": "per_2Nc6Qs8",
      "role": "applicant"
    }
  ],
  "documents": 6,
  "created_at": "2026-11-24T09:12:40Z",
  "updated_at": "2026-11-26T08:03:11Z"
}
```

## Assign a case

Give a case to a member, or to nobody.

`POST /v1/cases/{case_id}/assignment`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga cases assign <case_id> --member-id <member_id|none>`. MCP tool: `assign_case`.

**Parameters**
- `case_id` (id (case_), required): The case to give. In the path.
- `member_id` (id (mem_), required): The member to give it to, or `null` for nobody. `null` clears it.

**Returns** case: The case with its new assignee.

API:

```bash
curl -X POST https://api.kontiga.com/v1/cases/case_7Kq2Xw9/assignment \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "member_id": "mem_3Rt8Lp2"
  }'
```

CLI:

```bash
kontiga cases assign case_7Kq2Xw9 --member-id mem_3Rt8Lp2
```

MCP tool `assign_case`:

```json
{
  "name": "assign_case",
  "arguments": {
    "case_id": "case_7Kq2Xw9",
    "member_id": "mem_3Rt8Lp2"
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.assign("case_7Kq2Xw9", {
  member_id: "mem_3Rt8Lp2",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.assign("case_7Kq2Xw9", member_id="mem_3Rt8Lp2")
```

Go:

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

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().assign("case_7Kq2Xw9", CasesAssignParams.builder()
    .memberId("mem_3Rt8Lp2")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.AssignAsync("case_7Kq2Xw9", new CasesAssignOptions
{
    MemberId = "mem_3Rt8Lp2",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->assign('case_7Kq2Xw9', [
    'member_id' => 'mem_3Rt8Lp2',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.assign("case_7Kq2Xw9", member_id: "mem_3Rt8Lp2")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .assign("case_7Kq2Xw9".into(), kontiga::cases::AssignParams {
        member_id: "mem_3Rt8Lp2".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "mode": "live",
  "title": "Mortgage application, 14 Harbour Row",
  "reference": "APP-20418",
  "state": "in_review",
  "verdict": "review",
  "outcome": null,
  "assignee": "mem_3Rt8Lp2",
  "parties": [
    {
      "id": "pty_9Hd4Vb1",
      "person": "per_2Nc6Qs8",
      "role": "applicant"
    }
  ],
  "documents": 6,
  "created_at": "2026-11-24T09:12:40Z",
  "updated_at": "2026-11-26T08:03:11Z"
}
```

## Decide a case

Record the outcome of a case: approved, rejected or needs attention, with a note.

`POST /v1/cases/{case_id}/outcomes`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga cases decide <case_id> --outcome <approved|rejected|needs_attention> [--note <text>]`. MCP tool: `decide_case`.

**Parameters**
- `case_id` (id (case_), required): The case to decide. In the path.
- `outcome` (enum, required): The decision. One of `approved`, `rejected`, `needs_attention`.
- `note` (string): Why, in a sentence or two. It goes into the case's timeline and audit trail. At most 2,000 characters.

**Returns** case: The case, decided, with its outcome and note.

API:

```bash
curl -X POST https://api.kontiga.com/v1/cases/case_7Kq2Xw9/outcomes \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "outcome": "approved",
    "note": "Payslips match the bank statements; the employer was confirmed by phone."
  }'
```

CLI:

```bash
kontiga cases decide case_7Kq2Xw9 \
  --outcome approved \
  --note 'Payslips match the bank statements; the employer was confirmed by phone.'
```

MCP tool `decide_case`:

```json
{
  "name": "decide_case",
  "arguments": {
    "case_id": "case_7Kq2Xw9",
    "outcome": "approved",
    "note": "Payslips match the bank statements; the employer was confirmed by phone."
  }
}
```

TypeScript:

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

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.cases.decide("case_7Kq2Xw9", {
  outcome: "approved",
  note: "Payslips match the bank statements; the employer was confirmed by phone.",
});
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.cases.decide(
    "case_7Kq2Xw9",
    outcome="approved",
    note="Payslips match the bank statements; the employer was confirmed by phone.",
)
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.Cases.Decide(ctx, "case_7Kq2Xw9", &kontiga.CasesDecideParams{
	Outcome: "approved",
	Note:    "Payslips match the bank statements; the employer was confirmed by phone.",
})
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.cases().decide("case_7Kq2Xw9", CasesDecideParams.builder()
    .outcome("approved")
    .note("Payslips match the bank statements; the employer was confirmed by phone.")
    .build());
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.Cases.DecideAsync("case_7Kq2Xw9", new CasesDecideOptions
{
    Outcome = "approved",
    Note = "Payslips match the bank statements; the employer was confirmed by phone.",
});
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->cases->decide('case_7Kq2Xw9', [
    'outcome' => 'approved',
    'note' => 'Payslips match the bank statements; the employer was confirmed by phone.',
]);
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.cases.decide(
  "case_7Kq2Xw9",
  outcome: "approved",
  note: "Payslips match the bank statements; the employer was confirmed by phone."
)
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .cases()
    .decide("case_7Kq2Xw9".into(), kontiga::cases::DecideParams {
        outcome: "approved".into(),
        note: "Payslips match the bank statements; the employer was confirmed by phone.".into(),
        ..Default::default()
    })
    .await?;
```

Response, 200 OK:

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "mode": "live",
  "state": "decided",
  "verdict": "review",
  "outcome": {
    "value": "approved",
    "note": "Payslips match the bank statements; the employer was confirmed by phone.",
    "decided_by": "mem_3Rt8Lp2",
    "decided_at": "2026-11-26T08:41:07Z"
  }
}
```

## Reopen a case

Take a decided case back to review; its outcome is cleared.

`POST /v1/cases/{case_id}/reopen`. Who may: Owner, Admin and Analyst; Developer in test mode. CLI: `kontiga cases reopen <case_id>`. MCP tool: `reopen_case`.

**Parameters**
- `case_id` (id (case_), required): The decided case to take back to review. In the path.

**Returns** case: The case, in review again.

API:

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

CLI:

```bash
kontiga cases reopen case_7Kq2Xw9
```

MCP tool `reopen_case`:

```json
{
  "name": "reopen_case",
  "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.reopen("case_7Kq2Xw9");
```

Python:

```python
from kontiga import Kontiga

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

Go:

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

Java:

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

.NET:

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

PHP:

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

Ruby:

```ruby
require "kontiga"

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

Rust:

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

Response, 200 OK:

```json
{
  "id": "case_7Kq2Xw9",
  "object": "case",
  "mode": "live",
  "title": "Mortgage application, 14 Harbour Row",
  "reference": "APP-20418",
  "state": "in_review",
  "verdict": "review",
  "outcome": null,
  "assignee": "mem_3Rt8Lp2",
  "parties": [
    {
      "id": "pty_9Hd4Vb1",
      "person": "per_2Nc6Qs8",
      "role": "applicant"
    }
  ],
  "documents": 6,
  "created_at": "2026-11-24T09:12:40Z",
  "updated_at": "2026-11-26T08:03:11Z"
}
```
