Base URL and keys
The base URL is https://api.kontiga.com/compat: the same paths, parameters, identifiers, answers, errors, headers and signatures as Bynn’s API. Use a Kontiga secret key, live or test, sent any way Bynn takes one: Authorization: Bearer <key>, the key as the HTTP Basic user name with an empty password, Token token=<key>, or the key alone. A test key makes test documents, never billed.
Any other path or method answers 405 unknown_request.
Send a document
Send the file as file in a multipart form, or its bytes as document_base64_strict, with an optional reference_id of yours (no personal data in it) and optional characteristics. Up to 64 MB. The file’s type is read from its bytes: a PDF, a JPEG, a PNG, or a HEIC or HEIF photo. Other types answer 415 invalid_mime_type, TIFF and WebP included, as on Bynn’s API; Kontiga’s own API takes those two.
curl https://api.kontiga.com/compat/v1/documents \
-u "$KONTIGA_API_KEY:" \
-F file=@bank-statement-may.pdf \
-F reference_id=claim-2026-1042Read the result
While the document is checked, status is pending; then analyzed, with analysis_risk_status and analysis_risk_score, or error if it could not be checked. The answer is the whole document object as Bynn sends it, its findings by name in risk_tags; the sample shows some of its fields.
curl https://api.kontiga.com/compat/v1/documents/7KQH4MZPA \
-H "Authorization: Bearer $KONTIGA_API_KEY"{
"documents": [
{
"submission_id": "document_1112pT7wKcR3aBdEfGhJkLmN",
"document_id": "7KQH4MZPA",
"name": "bank-statement-may.pdf",
"reference_id": "claim-2026-1042",
"status": "analyzed",
"analysis_risk_status": "low",
"analysis_risk_score": 10,
"document_content_type": "bank_statement",
"created_at": "2026-11-30T09:41:22Z"
}
],
"page": 1, "per_page": 50, "total": 1, "total_pages": 1
}{
"submission_id": "document_1112pT7wKcR3aBdEfGhJkLmN",
"document_id": "7KQH4MZPA",
"status": "deleted",
"deleted_at": "2026-11-30T10:02:41Z"
}Errors
Every error is {"error": {"type", "message"}} with its HTTP status, as on Bynn’s API.
{
"error": {
"type": "invalid_mime_type",
"message": "Unsupported media type, allowed mime types are 'image/jpeg','image/jpg','image/png','image/heic','image/heif','application/pdf'"
}
}Limits
500 calls a minute from one address to one path, so reading many documents never shares a count; 10 a minute for each echo and 60 for the public key.
Webhooks
A webhook endpoint in the compatible format gets document.analyzed, document.rejected and document.monitoring_event exactly as Bynn sends them: the body with its jwt, the headers and X-Bynn-Signature, the retries. They are signed with Kontiga’s key, which GET /v1/webhooks/public_key gives. A document whose check fails sends no compatible event; a Kontiga endpoint gets document.failed. See Receive webhooks.
What differs from Bynn
- Keys and documents are Kontiga’s: a Bynn key or a document id from Bynn is not found here.
- Webhooks are signed with Kontiga’s key. A client that fetches the public key from its base URL needs no change; one that stored Bynn’s key fetches Kontiga’s once.
- The
401message points to Kontiga’s console and these docs. - A document past its workspace’s retention is still read by its id, with its extracted data empty and no file links.
- Three findings about files that could not be read in full carry plain titles and descriptions.
- A few fields that only described internal settings are
null. - A base64 document is held to 64 MB once decoded, as a file is.
- There is no anonymous upload (
POST /v1/documents_anonym).