# Switch from Bynn

> 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/switch-from-bynn

Move a client of Bynn's document API to Kontiga by changing its base URL to https://api.kontiga.com/compat and its key. The paths, parameters, answers, errors and webhooks stay as they are.

Updated November 30, 2026

## Before you start

- A Kontiga workspace and a secret key, made in the console under Developers, Keys. Make a test key too, to try the switch without being billed.
- Your client's settings for Bynn's base URL and private key.

## Add your webhook address

In the console, add a webhook endpoint in the compatible format with your existing address. It takes `document.analyzed`, `document.rejected` and `document.monitoring_event`, all three ticked, sent exactly as Bynn sends them.

## Change the base URL and the key

Set the base URL to `https://api.kontiga.com/compat` and the key to your Kontiga secret key. Nothing else in your code changes: the key is still sent as the Basic user name or as a Bearer token.

```bash
# before
BYNN_BASE_URL=https://api.bynn.com
BYNN_PRIVATE_KEY=private_...

# after
BYNN_BASE_URL=https://api.kontiga.com/compat
BYNN_PRIVATE_KEY=kt_live_...
```

## Fetch Kontiga's public key once

If your code verifies `X-Bynn-Signature` or the body's `jwt` with a key it stored, fetch Kontiga's key once and store it instead. Code that fetches the key from its base URL needs no change.

```bash
curl https://api.kontiga.com/compat/v1/webhooks/public_key
```

## Try it with the test key

Send a document with the test key and follow it to `analyzed`, as you do today. Then switch to the live key.

## The same call, before and after

**Send a document**

Bynn:

```bash
curl https://api.bynn.com/v1/documents \
  -u "$BYNN_PRIVATE_KEY:" \
  -F file=@invoice-0312.pdf \
  -F reference_id=claim-2026-1042
```

Kontiga:

```bash
curl https://api.kontiga.com/compat/v1/documents \
  -u "$KONTIGA_API_KEY:" \
  -F file=@invoice-0312.pdf \
  -F reference_id=claim-2026-1042
```

> **Your documents at Bynn stay there.** Documents checked by Bynn are not in Kontiga: a document id from Bynn answers `404` here. Read old results from Bynn until you no longer need them.

The [Bynn-compatible API](https://kontiga.com/docs/compatible-api) page lists every call, error and limit, and the few things that differ from Bynn.
