Send a key
Send the key as a bearer token on https://api.kontiga.com. Never put a secret key in a browser, an app or a URL.
Authorization: Bearer kt_live_...Key kinds
Test mode
- A test key, or the console’s test switch, makes test objects. They never bill and never touch the free start.
- Test mode takes Kontiga’s sample documents, sample identities and sample people only. Any other file is refused with
422 test_mode_sample_only, which lists where the samples are. - The sample documents:
sample-payslip-altered.pdf, a payslip whose net pay was changed after it was issued;sample-bank-statement-altered.pdf, a bank statement with a salary credit added after it was issued;sample-invoice-altered.pdf, an invoice whose total and payment account were changed after it was issued. - A sample is sent like any file: upload it (
POST /v1/uploads, thenPUTits bytes to the address given), then check it withPOST /v1/documentsand itsupload_id. Check your first document has every step. - Every result is computed by the real checks, never stored or made up.
- Test and live never mix: not in lists, exports or insights. Test events go only to webhook endpoints registered for test.
- A test request is delivered only to the email addresses of the workspace’s members.