The endpoint object
idThe endpoint’s id, starting with
whe_.urlThe https address events are sent to.
formatkontigafor Kontiga’s own events, signed withKontiga-Signature;compatiblefor Bynn’sdocument.*events, sent and signed exactly as Bynn sends them.modeliveortest. Test events go only to test endpoints, live events only to live ones; a test send you ask for goes anywhere.eventsThe event types it receives.
stateenabled,failing(deliveries are failing and being retried) ordisabled.healthIts last 24 hours: requests, delivered, failed, the error rate and the response times in milliseconds.
secretThe last four characters of its signing secret, and of the previous one while it still verifies after a roll. The secret itself is shown once.
retry_rulesHow deliveries are retried and when the endpoint is turned off, in words: its
summaryon every endpoint, and on a single endpoint’s read alsosuccess,redirect,retries,goneanddisabling.
Every delivery is signed. To check one came from Kontiga, answer it and test it with the inbox, see Receive webhooks.
A workspace has at most 10 live endpoints and 10 test endpoints, the test inbox aside, and adds at most 100 in 24 hours, deleted ones counted. The signing secret is in the answer once: a repeat of the call with the same Idempotency-Key answers the endpoint with signing_secret null. Roll the secret if it was lost.
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"description": "Loan origination system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.received", "document.checked", "document.failed"],
"state": "enabled",
"disabled": null,
"last_error": null,
"failing_since": null,
"disables_at": null,
"last_delivery": { "at": "2026-11-27T08:51:14Z", "status": 200, "state": "delivered" },
"health": { "requests": 318, "delivered": 316, "failed": 2, "error_rate": 0.0063, "avg_ms": 182, "min_ms": 74, "max_ms": 1210, "hourly": [{ "at": "2026-11-27T07:00:00Z", "delivered": 14, "failed": 0 }, { "at": "2026-11-27T08:00:00Z", "delivered": 12, "failed": 1 }] },
"created_at": "2026-09-03T10:11:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "Qe7m", "created_at": "2026-09-03T10:11:00Z", "previous": null },
"method": "post",
"is_inbox": false,
"retry_rules": {
"success": "A 2xx answer within 10 seconds.",
"redirect": "A redirect is a failure: it is not followed.",
"retries": "Retried with waits that double from about 1 minute, up to 6 hours apart, for 72 hours. A Retry-After header is honoured.",
"gone": "A 410 Gone disables the endpoint at once.",
"disabling": "After 72 hours of failures with no success the endpoint is disabled, and owners, admins and developers get one email.",
"summary": "Kontiga retries each delivery for 72 hours, the waits doubling from about 1 minute, and turns the endpoint off after 72 hours of failures."
},
"recoverable": 0,
"delayed": false
}POST/v1/webhook_endpoints
Register an https address for Kontiga’s own events or for the compatible document events, live or test; its signing secret is shown once.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks create --url <https://...> --events <type,type> [--format <kontiga|compatible>] [--mode <live|test>] [--description <text>] [--source <custom|zapier|make|n8n>] [--max-retries <0-65>] [--retry-frequency-minutes <1-1440>]- MCP tool
create_webhook_endpoint- Returns
- The endpoint, and its signing secret shown this once.
Parameters
urlRequiredThe https address to send to, on any port. An address on a private network is refused, now and at every send. At most 2,048 characters.
eventsRequiredThe event types to receive, from the list of event types. A compatible endpoint takes document.analyzed, document.rejected and document.monitoring_event, all three when left out. At most 60 items.
formatKontiga’s own events, or the compatible document events. It cannot be changed later. One of
kontiga,compatible.modeLive or test. It cannot be changed later. One of
live,test.descriptionWhat the endpoint is, for your team. At most 240 characters.
sourceWhat receives the events: your own code or a no-code automation tool. One of
custom,zapier,make,n8n.max_retriesFor a compatible endpoint: the attempts per delivery, 0 to 65.
retry_frequency_minutesFor a compatible endpoint: the base retry interval, 1 to 1440 minutes. Kept for compatibility; the waits follow the compatible schedule.
curl -X POST https://api.kontiga.com/v1/webhook_endpoints \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://claims.harbourline.example/kontiga/events",
"events": [
"document.checked",
"document.failed"
],
"format": "kontiga",
"mode": "live",
"description": "Claims system"
}'POST /v1/webhook_endpoints
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718297",
"object": "webhook_endpoint",
"url": "https://claims.harbourline.example/kontiga/events",
"description": "Claims system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.checked", "document.failed"],
"state": "enabled",
"last_delivery": null,
"created_at": "2026-11-27T11:50:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "m2Lw", "created_at": "2026-11-27T11:50:00Z", "previous": null },
"signing_secret": "whsec_sample0secret0shown0once0m2Lw"
}GET/v1/webhook_endpoints
Where the workspace receives events: each endpoint of a mode, newest first, with its state, its last delivery and its 24 hours' totals.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks list [--mode <live|test>] [--limit <n>] [--cursor <whe_...>]- MCP tool
list_webhook_endpoints- Returns
- The endpoints, Kontiga’s own and the compatible ones; next_cursor reads the page after.
Parameters
modeThe mode’s endpoints:
liveortest. Left out, the call’s own (a key’s mode).limitHow many on a page, 1 to 100. Left out, 100: a workspace has at most 10 of a mode and the test inbox, so one page holds them all.
cursorThe next_cursor of the page before, to read the page after it. has_more says whether there is one.
curl -X GET https://api.kontiga.com/v1/webhook_endpoints \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_endpoints
{
"object": "list",
"items": [{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"description": "Loan origination system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.received", "document.checked", "document.failed"],
"state": "enabled",
"disabled": null,
"last_error": null,
"failing_since": null,
"disables_at": null,
"last_delivery": { "at": "2026-11-27T08:51:14Z", "status": 200, "state": "delivered" },
"health": { "requests": 318, "delivered": 316, "failed": 2, "error_rate": 0.0063, "avg_ms": 182, "min_ms": 74, "max_ms": 1210 },
"created_at": "2026-09-03T10:11:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "Qe7m", "created_at": "2026-09-03T10:11:00Z", "previous": null },
"method": "post",
"is_inbox": false,
"retry_rules": {
"summary": "Kontiga retries each delivery for 72 hours, the waits doubling from about 1 minute, and turns the endpoint off after 72 hours of failures."
},
"recoverable": 0,
"delayed": false
}],
"next_cursor": null,
"has_more": false
}An endpoint’s health holds its 24 hours' totals. The hour by hour series, health.hourly, is in the health call’s list and in a single endpoint’s read; a list’s and a change’s answer leave it out. delayed is true while deliveries wait more than 5 minutes past their time because sending is running late: they are kept and sent once it catches up. Deliveries can arrive out of order, after a delay or a retry: an event’s created_at orders them.
GET/v1/webhook_endpoints/health
Every endpoint of a mode, Kontiga’s own and the compatible ones, with its state, its last delivery and its requests, failures and times over 24 hours.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks health [--mode <live|test>]- MCP tool
get_webhook_health- Returns
- The endpoints with their health; never a secret, only its last four characters.
Parameters
modeThe mode’s endpoints:
liveortest. Left out, the call’s own (a key’s mode). Live and test are never mixed in a list.
curl -X GET https://api.kontiga.com/v1/webhook_endpoints/health \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_endpoints/health
{
"object": "list",
"items": [{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"description": "Loan origination system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.received", "document.checked", "document.failed"],
"state": "enabled",
"disabled": null,
"last_error": null,
"failing_since": null,
"disables_at": null,
"last_delivery": { "at": "2026-11-27T08:51:14Z", "status": 200, "state": "delivered" },
"health": { "requests": 318, "delivered": 316, "failed": 2, "error_rate": 0.0063, "avg_ms": 182, "min_ms": 74, "max_ms": 1210, "hourly": [{ "at": "2026-11-27T07:00:00Z", "delivered": 14, "failed": 0 }, { "at": "2026-11-27T08:00:00Z", "delivered": 12, "failed": 1 }] },
"created_at": "2026-09-03T10:11:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "Qe7m", "created_at": "2026-09-03T10:11:00Z", "previous": null },
"method": "post",
"is_inbox": false,
"retry_rules": {
"summary": "Kontiga retries each delivery for 72 hours, the waits doubling from about 1 minute, and turns the endpoint off after 72 hours of failures."
},
"recoverable": 0,
"delayed": false
}],
"next_cursor": null,
"has_more": false
}GET/v1/webhook_endpoints/{endpoint_id}
One endpoint: its address, format, mode, events, state, health, the secret’s last four characters and its retry rules.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks get <endpoint_id>- MCP tool
get_webhook_endpoint- Returns
- The endpoint, without its secret.
Parameters
endpoint_idRequiredThe endpoint to read. In the path.
curl -X GET https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718291 \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_endpoints/{endpoint_id}
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"description": "Loan origination system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.received", "document.checked", "document.failed"],
"state": "enabled",
"disabled": null,
"last_error": null,
"failing_since": null,
"disables_at": null,
"last_delivery": { "at": "2026-11-27T08:51:14Z", "status": 200, "state": "delivered" },
"health": { "requests": 318, "delivered": 316, "failed": 2, "error_rate": 0.0063, "avg_ms": 182, "min_ms": 74, "max_ms": 1210, "hourly": [{ "at": "2026-11-27T07:00:00Z", "delivered": 14, "failed": 0 }, { "at": "2026-11-27T08:00:00Z", "delivered": 12, "failed": 1 }] },
"created_at": "2026-09-03T10:11:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "Qe7m", "created_at": "2026-09-03T10:11:00Z", "previous": null },
"method": "post",
"is_inbox": false,
"retry_rules": {
"success": "A 2xx answer within 10 seconds.",
"redirect": "A redirect is a failure: it is not followed.",
"retries": "Retried with waits that double from about 1 minute, up to 6 hours apart, for 72 hours. A Retry-After header is honoured.",
"gone": "A 410 Gone disables the endpoint at once.",
"disabling": "After 72 hours of failures with no success the endpoint is disabled, and owners, admins and developers get one email.",
"summary": "Kontiga retries each delivery for 72 hours, the waits doubling from about 1 minute, and turns the endpoint off after 72 hours of failures."
},
"recoverable": 0,
"delayed": false
}PATCH/v1/webhook_endpoints/{endpoint_id}
Change an endpoint’s address, events or description, or disable it and enable it again; the format and the mode stay as made.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks update <endpoint_id> [--url <https://...>] [--events <type,type>] [--description <text>] [--state <enabled|disabled>] [--max-retries <0-65>] [--retry-frequency-minutes <1-1440>]- MCP tool
update_webhook_endpoint- Returns
- The endpoint as it is now.
Parameters
endpoint_idRequiredThe endpoint to change. Its format and mode stay as made. In the path.
urlA new address. At most 2,048 characters.
eventsThe event types it receives from now on. At most 60 items.
descriptionA new description. At most 240 characters.
statedisabledstops sending;enabledstarts again. Also taken asstatus, its earlier name.max_retriesFor a compatible endpoint: the attempts per delivery. At most 65.
retry_frequency_minutesFor a compatible endpoint: the base retry interval, kept for compatibility. At least 1, at most 1,440.
curl -X PATCH https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718291 \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"events": [
"document.received",
"document.checked",
"document.failed"
]
}'PATCH /v1/webhook_endpoints/{endpoint_id}
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"description": "Loan origination system",
"format": "kontiga",
"mode": "live",
"source": "custom",
"events": ["document.received", "document.checked", "document.failed"],
"state": "enabled",
"disabled": null,
"last_error": null,
"failing_since": null,
"disables_at": null,
"last_delivery": { "at": "2026-11-27T08:51:14Z", "status": 200, "state": "delivered" },
"health": { "requests": 318, "delivered": 316, "failed": 2, "error_rate": 0.0063, "avg_ms": 182, "min_ms": 74, "max_ms": 1210 },
"created_at": "2026-09-03T10:11:00Z",
"created_by_name": "Priya Raman",
"secret": { "last4": "Qe7m", "created_at": "2026-09-03T10:11:00Z", "previous": null },
"method": "post",
"is_inbox": false,
"retry_rules": {
"summary": "Kontiga retries each delivery for 72 hours, the waits doubling from about 1 minute, and turns the endpoint off after 72 hours of failures."
},
"recoverable": 0,
"delayed": false
}POST/v1/webhook_endpoints/{endpoint_id}/roll_secret
Give a Kontiga endpoint a new signing secret, shown once; the old one keeps verifying for the overlap chosen, none to 7 days.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks roll-secret <endpoint_id> [--overlap <none|1h|24h|3d|7d>]- MCP tool
roll_webhook_secret- Returns
- The endpoint and its new secret, shown this once.
Parameters
endpoint_idRequiredA Kontiga endpoint. A compatible endpoint is verified with the public key instead. In the path.
overlapHow long the old secret keeps verifying. One of
none,1h,24h,3d,7d.
curl -X POST https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718291/roll_secret \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"overlap": "24h"
}'POST /v1/webhook_endpoints/{endpoint_id}/roll_secret
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"object": "webhook_endpoint",
"url": "https://api.harbourline.example/hooks/kontiga",
"format": "kontiga",
"state": "enabled",
"secret": {
"last4": "Tz4k",
"created_at": "2026-11-27T11:55:00Z",
"previous": { "last4": "Qe7m", "expires_at": "2026-11-28T11:55:00Z" }
},
"signing_secret": "whsec_sample0rolled0secret0once0Tz4k"
}DELETE/v1/webhook_endpoints/{endpoint_id}
Stop sending to an endpoint and remove it; its delivery log is kept until its retention ends.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks delete <endpoint_id>- MCP tool
delete_webhook_endpoint- Returns
- The endpoint’s id, deleted.
Parameters
endpoint_idRequiredThe endpoint to remove. Its delivery log is kept until its retention ends. In the path.
curl -X DELETE https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718297 \
-H "Authorization: Bearer $KONTIGA_API_KEY"DELETE /v1/webhook_endpoints/{endpoint_id}
{
"id": "whe_0193c1a2d0017a2b8c3d4e5f60718297",
"object": "webhook_endpoint",
"deleted": true
}GET/v1/webhook_deliveries
One row per event per endpoint, newest first, with its state, attempts and last status; filter by endpoint, state, event type, one event’s id or an object’s id.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks deliveries [--endpoint-id <whe_id>] [--state <delivered|pending|failed|skipped>] [--event <type>] [--event-id <evt_id>] [--object-id <doc_id>] [--limit <n>] [--cursor <dlv_id>]- MCP tool
list_webhook_deliveries- Returns
- The deliveries, newest first, test sends marked; next_cursor reads the page after.
Parameters
endpoint_idOnly this endpoint’s deliveries.
stateOnly deliveries in this state: delivered, pending, failed or skipped (a pending delivery of a disabled endpoint reads as skipped). One of
delivered,pending,failed,skipped.eventOnly deliveries of this event type.
event_idOnly the deliveries of this event (its evt_ id; a compatible event’s uuid as its body writes it). An id of no event answers an empty list.
object_idOnly the deliveries of this object’s events (its id, such as doc_ and 32 characters). Give event_id or object_id, not both.
limitHow many to answer, 1 to 200; 50 when left out.
cursorThe next_cursor of the page before, to read the page after it. has_more says whether there is one.
curl -X GET "https://api.kontiga.com/v1/webhook_deliveries?endpoint_id=whe_0193c1a2d0017a2b8c3d4e5f60718291&state=failed&limit=1" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_deliveries
{
"object": "list",
"items": [
{
"id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e82",
"object": "webhook_delivery",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"endpoint_url": "https://api.harbourline.example/hooks/kontiga",
"format": "kontiga",
"mode": "live",
"event_id": "evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e92",
"event": "document.failed",
"object_id": "doc_0193c1a2d0017a2b8c3d4e5f60718295",
"object_href": "/console/documents/doc_0193c1a2d0017a2b8c3d4e5f60718295",
"state": "failed",
"attempts": 17,
"last_status": 500,
"last_duration_ms": 412,
"created_at": "2026-11-24T10:03:30Z",
"last_attempt_at": "2026-11-27T09:51:02Z",
"next_retry_at": null,
"test": false,
"to_inbox": false,
"resend_of": null
}
],
"next_cursor": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e82",
"has_more": true
}GET/v1/webhook_deliveries/{delivery_id}
One delivery with every attempt: the request exactly as sent (address, method, headers with the signature, body) and the response (status, headers, body, time).
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks delivery <delivery_id>- MCP tool
get_webhook_delivery- Returns
- The delivery and each attempt’s request and response.
Parameters
delivery_idRequiredThe delivery to read, with every attempt’s request and response. A restricted key without
events:read, or a member whose role does not read events, gets every attempt without the bodies. In the path.
curl -X GET https://api.kontiga.com/v1/webhook_deliveries/dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e81 \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_deliveries/{delivery_id}
{
"id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e81",
"object": "webhook_delivery",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"endpoint_url": "https://api.harbourline.example/hooks/kontiga",
"format": "kontiga",
"mode": "live",
"event_id": "evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e90",
"event": "document.checked",
"object_id": "doc_0193c1a2d0017a2b8c3d4e5f60718294",
"object_href": "/console/documents/doc_0193c1a2d0017a2b8c3d4e5f60718294",
"state": "delivered",
"attempts": 1,
"last_status": 200,
"last_duration_ms": 166,
"created_at": "2026-11-26T08:41:07Z",
"last_attempt_at": "2026-11-26T08:41:08Z",
"next_retry_at": null,
"delayed": false,
"test": false,
"to_inbox": false,
"resend_of": null,
"attempt_list": [
{
"number": 1,
"at": "2026-11-26T08:41:08.031Z",
"status": 200,
"duration_ms": 166,
"ok": true,
"failure": null,
"request": {
"url": "https://api.harbourline.example/hooks/kontiga",
"method": "POST",
"headers": [
["Content-Type", "application/json"],
["User-Agent", "Kontiga-Webhooks/1.0"],
["Kontiga-Event-Id", "evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e90"],
["Kontiga-Signature", "t=1795682468,v1=5f1c9e0b7a2d4c6e8f0a1b3c5d7e9f2a4b6c8d0e1f3a5b7c9d2e4f6a8b0c1d3e"]
],
"body": "{\"id\":\"evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e90\",\"object\":\"event\",\"type\":\"document.checked\",\"created_at\":\"2026-11-26T08:41:07.412Z\",\"workspace\":\"ws_0193c1a2b3c44d5e8f9a0b1c2d3e4f50\",\"mode\":\"live\",\"actor\":\"system\",\"request\":null,\"api_version\":\"v1\",\"data\":{\"object\":{\"id\":\"doc_0193c1a2d0017a2b8c3d4e5f60718294\",\"object\":\"document\",\"verdict\":\"review\"}}}"
},
"response": { "status": 200, "headers": [["content-type", "text/plain"]], "body": "ok", "truncated": false }
}
],
"body_hidden": null
}POST/v1/webhook_deliveries/{delivery_id}/resend
Send one delivery again with the same event id and a fresh timestamp and signature; the real result is logged as a new attempt.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks resend <delivery_id>- MCP tool
resend_webhook_delivery- Returns
- The delivery with its new attempt.
Parameters
delivery_idRequiredThe delivery to send again, with the same event id and a fresh signature. A resend is an attempt of its own: when it fails, the delivery keeps its state and its next scheduled retry, and its attempts do not count toward the schedule. One resend of a delivery runs at a time; a second while one is in flight answers 409
resend_in_progresswith Retry-After. In the path.
curl -X POST https://api.kontiga.com/v1/webhook_deliveries/dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e82/resend \
-H "Authorization: Bearer $KONTIGA_API_KEY"POST /v1/webhook_deliveries/{delivery_id}/resend
{
"id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e82",
"object": "webhook_delivery",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"event": "document.failed",
"state": "delivered",
"attempts": 4,
"last_status": 200,
"attempt_list": [
{ "number": 3, "at": "2026-11-27T10:07:30.118Z", "status": 500, "duration_ms": 92, "ok": false, "failure": { "kind": "status", "message": "The endpoint answered 500: its server had an error." } },
{ "number": 4, "at": "2026-11-27T12:01:15.640Z", "status": 200, "duration_ms": 158, "ok": true, "failure": null }
]
}POST/v1/webhook_endpoints/{endpoint_id}/recover
Send again every delivery of an endpoint that failed or was skipped since a date.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks recover <endpoint_id> --since <date>- MCP tool
recover_webhook_deliveries- Returns
- How many were sent again, and the deliveries.
Parameters
endpoint_idRequiredThe endpoint. In the path.
sinceRequiredSend again every delivery that failed or was skipped from this day or time on. A disabled endpoint answers 409
endpoint_disabled: enable it first.
curl -X POST https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718292/recover \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"since": "2026-11-26"
}'POST /v1/webhook_endpoints/{endpoint_id}/recover
{
"object": "webhook_recovery",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718292",
"since": "2026-11-26",
"resent": 2,
"deliveries": [
{ "id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e84", "object": "webhook_delivery", "event": "document.analyzed", "state": "pending" },
{ "id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e85", "object": "webhook_delivery", "event": "document.rejected", "state": "pending" }
]
}POST/v1/webhook_endpoints/{endpoint_id}/test
Send a sample of any event type to an endpoint, live or test, or to the test inbox, as a real signed request; the answer is the attempt.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks test <endpoint_id> --type <event> [--payload <json>] [--target <endpoint|inbox>]- MCP tool
send_test_webhook- Returns
- The test send: the request as sent and the endpoint’s answer, within 10 seconds.
Parameters
endpoint_idRequiredThe endpoint to send to, live or test. In the path.
typeRequiredThe event type to send a sample of.
payloadYour own delivery body for a Kontiga test endpoint, or for the test inbox (
targetinbox), sent in place of the sample (at most 64 KiB). Itsid,workspaceandmodestay the test’s own, so your server can always tell it from a real event. The catalogue’s example of the type is sent when left out. A live endpoint and a compatible one are always sent the example: a body written for them is refused.targetendpointsends to its address;inboxsends to the workspace’s test inbox instead.
curl -X POST https://api.kontiga.com/v1/webhook_endpoints/whe_0193c1a2d0017a2b8c3d4e5f60718291/test \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "document.checked",
"target": "endpoint"
}'POST /v1/webhook_endpoints/{endpoint_id}/test
{
"id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e83",
"object": "webhook_delivery",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"event": "document.checked",
"state": "delivered",
"attempts": 1,
"last_status": 200,
"last_duration_ms": 141,
"test": true,
"to_inbox": false,
"attempt_list": [
{
"number": 1,
"at": "2026-11-27T11:58:02.204Z",
"status": 200,
"duration_ms": 141,
"ok": true,
"failure": null,
"response": { "status": 200, "headers": [], "body": "ok", "truncated": false }
}
],
"body_hidden": null
}GET/v1/event_types
The events an endpoint can receive, grouped by product, each with what it means and an example payload.
- Who may
- Owner, Admin and Developer
- CLI
kontiga events types [--format <kontiga|compatible>]- MCP tool
list_event_types- Returns
- The catalogue: Kontiga’s own events and the three compatible document events, with examples.
Parameters
formatOnly the events of this format. One of
kontiga,compatible.
curl -X GET "https://api.kontiga.com/v1/event_types?format=kontiga" \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/event_types
{
"object": "list",
"items": [
{
"object": "event_type",
"type": "document.checked",
"format": "kontiga",
"group": "Detect and Extract",
"description": "Every check of a document is done: its verdict, findings, both scores and the fields read.",
"example": { "id": "evt_0193c1a2d0017a2b8c3d4e5f60718293", "object": "event", "type": "document.checked", "created_at": "2026-11-26T09:48:42.118Z", "workspace": "ws_0193c1a2b3c44d5e8f9a0b1c2d3e4f50", "mode": "test", "actor": "system", "request": null, "api_version": "v1", "data": { "object": { "id": "doc_0193c1a2d0017a2b8c3d4e5f60718294", "object": "document" } } }
},
{
"object": "event_type",
"type": "document.analyzed",
"format": "compatible",
"group": "Documents (Bynn-compatible)",
"description": "A document's analysis finished, test runs and rejected runs included. Bynn's envelope, headers and signature.",
"example": { "event_id": "4b0e7c2a-1f3d-4a8e-9c6b-2d5f8e1a7c30", "event_type": "document.analyzed", "resource": { "type": "document", "status": "analyzed" } }
}
],
"next_cursor": null,
"has_more": false
}GET/v1/webhook_inbox
The workspace’s Kontiga-hosted test address and the last requests it received, each with its headers, body and whether its signature verifies.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks inbox- MCP tool
get_webhook_inbox- Returns
- The inbox’s address and its last 100 requests of the last 7 days.
No parameters.
curl -X GET https://api.kontiga.com/v1/webhook_inbox \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/webhook_inbox
{
"id": "whi_0193c1a2b3c44d5e8f9a0b1c2d3e4f50",
"object": "webhook_inbox",
"url": "https://api.kontiga.com/inbox/whi_0193c1a2b3c44d5e8f9a0b1c2d3e4f50",
"keeps": { "requests": 100, "days": 7 },
"requests": [
{
"id": "ibr_0193c1a2d4e07c1d9e2f3a4b5c6d0001",
"at": "2026-11-27T11:58:02.204Z",
"method": "POST",
"headers": [["Content-Type", "application/json"], ["User-Agent", "Kontiga-Webhooks/1.0"], ["Kontiga-Event-Id", "evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e91"], ["Kontiga-Signature", "t=1795867082,v1=8c2e..."]],
"body": "{\"id\":\"evt_0193c1a2d4e07c1d9e2f3a4b5c6d7e91\",\"type\":\"document.checked\",\"mode\":\"test\"}",
"event": "document.checked",
"delivery_id": "dlv_0193c1a2d4e07c1d9e2f3a4b5c6d7e83",
"endpoint_id": "whe_0193c1a2d0017a2b8c3d4e5f60718291",
"endpoint_url": "https://api.harbourline.example/hooks/kontiga",
"test": true,
"signature": { "state": "verified", "detail": "Verified with the current secret, ending Qe7m." }
}
]
}The inbox holds test deliveries, so a live key reads and clears none of it: use a test key, or the console.
DELETE/v1/webhook_inbox/requests
Remove every request the test inbox holds; its address stays the same.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks inbox-clear- MCP tool
clear_webhook_inbox- Returns
- The inbox’s id, its requests deleted, and how many went; its address stays.
No parameters.
curl -X DELETE https://api.kontiga.com/v1/webhook_inbox/requests \
-H "Authorization: Bearer $KONTIGA_API_KEY"DELETE /v1/webhook_inbox/requests
{
"id": "whi_0193c1a2b3c44d5e8f9a0b1c2d3e4f50",
"object": "webhook_inbox",
"deleted": true,
"requests_deleted": 1
}GET/v1/webhooks/public_key
Kontiga’s RSA public key, which verifies the compatible document webhooks: X-Bynn-Signature and the body’s jwt. Read with no key, as Bynn’s is, so a receiver can fetch it on its own; at most 60 a minute from one address.
- Who may
- Anyone, with no account yet
- CLI
kontiga webhooks public-key- MCP tool
get_webhook_public_key- Returns
- status ok, the algorithm RS256 and the public key as PEM, in Bynn’s shape. When the signing key cannot be read: 503 with the code signing_key_unavailable.
No parameters.
curl -X GET https://api.kontiga.com/v1/webhooks/public_keyGET /v1/webhooks/public_key
{
"status": "ok",
"algorithm": "RS256",
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\n-----END PUBLIC KEY-----\n"
}POST/v1/test_triggers
Send a sample of one event type, with invented data, to every endpoint of this mode that takes it, or to one endpoint, each as a test delivery.
- Who may
- Owner, Admin and Developer
- CLI
kontiga webhooks trigger --type <event> [--endpoint-id <endpoint_id>]- MCP tool
trigger_sample_event- Returns
- The sample, and the test delivery made to each endpoint it reached.
Parameters
typeRequiredThe event type to send a sample of, with invented data. Every delivery of one trigger carries the same event id, the trigger’s own (ttr_ and evt_ share their 32 characters). A sample is not kept in the event log: its deliveries'
event_idis null, and the body carries the sample’s id.endpoint_idOnly this endpoint. Without it, every endpoint of the mode subscribed to the type.
curl -X POST https://api.kontiga.com/v1/test_triggers \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "document.checked"
}'POST /v1/test_triggers
{
"id": "ttr_0193c1a2d4e07c1d9e2f3a4b5c6d7e99",
"object": "test_trigger",
"type": "document.checked",
"mode": "test",
"deliveries": []
}Screening webhooks
A Kontiga endpoint subscribes to Screen’s six events by name in its events: screening.completed, screening.match_found, screening.match_confirmed, screening.match_dismissed, screening.match_reopened and screening.monitoring_ended. Each carries the screening as data.object and the fields its type adds beside it, as Screening events shows. A test screening’s events go to test endpoints only, and a sample of each can be sent to any endpoint from here.
curl https://api.kontiga.com/v1/webhook_endpoints \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"format": "kontiga", "url": "https://hooks.example.com/kontiga", "events": ["screening.completed", "screening.match_found", "screening.match_confirmed", "screening.match_dismissed", "screening.match_reopened", "screening.monitoring_ended"]}'- An endpoint is live or test, the mode of the key that makes it unless
modesays: a test endpoint takes test screenings' events only, a live one live ones. Its signing secret is answered once, at creation. - Each delivery is a
POSTof the event, signed withKontiga-Signature: t=<seconds>,v1=<HMAC-SHA256 of "t.body" with the secret>, made afresh on every attempt. Checktis within five minutes and av1matches, as Receive webhooks shows, and answer2xxwithin 10 seconds. - A delivery is sent at least once: deduplicate by
Kontiga-Event-Id, the event’sid. Retries can arrive out of order: an event’screated_atand its id both sort in the order things happened, anddata.objectis the screening as that event left it. - A failed delivery is retried for 72 hours, the waits doubling from 1 minute up to 6 hours; an endpoint failing for 72 hours is turned off with an email. Any delivery can be sent again with
webhook_deliveries.resend. - A missed event is read back whole with
GET /v1/events/{id}for 90 days. - The body is the event object:
actorsays who made the change (mem_,key_,system) andrequestthe API call that made it, with theIdempotency-Keyyou sent, so a handler needs no second call to know who did it. - When a person is deleted, what their screenings' events carried is deleted with them, deliveries not yet made are not sent, and a monitored screening sends
screening.monitoring_endedwithperson_deletedas its last word.