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.
Change the base URL and the key
Set the base URL to
https://api.kontiga.com/compatand 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.Settings # 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_...
The same call, before and after
curl https://api.bynn.com/v1/documents \
-u "$BYNN_PRIVATE_KEY:" \
-F file=@invoice-0312.pdf \
-F reference_id=claim-2026-1042The Bynn-compatible API page lists every call, error and limit, and the few things that differ from Bynn.