Your settings
One row for each kind of event, one column for each channel, and each cell on or off. A kind of a product your workspace does not use is not offered, and nothing of it is sent. The kind names always say case, whatever your team calls a case. The team’s alerts are in workspace settings.
- A channel that is not set up yet keeps your choice, and starts once it is.
- Email goes to your account’s address only, at once or as one summary a day at 08:00 in your time zone. Its cells are the same settings as your email notices.
- In quiet hours, Browser push, Email and Team chat stay silent, in your own time zone. The console and your webhook carry on, and the bell keeps everything.
- Events of test mode are never pushed.
Your notification settings
kindsEvery kind your role gets, in the order above, with
channels: each channel on or off.channelsEach channel’s state:
ready, andneeds, what it needs first in plain words, while it is not.detailsays what it is set up with.emailaddress, your account’s, andtiming:at_onceordaily.quiet_hourson,fromandtoasHH:MM, intime_zone, yours.updated_atWhen you last changed them.
nullwhile they are as they started.
GET/v1/me/notification_preferences
For each kind of event that concerns you, which channels it goes to: in the console, browser push, email, Slack, Microsoft Teams or your webhook. With what each channel still needs, your email timing and your quiet hours.
- Who may
- Every member, for themselves
- CLI
kontiga notifications get- MCP tool
get_my_notification_settings- Returns
- Every kind of event with its channels, each channel’s setup, the email timing and the quiet hours.
No parameters.
curl -X GET https://api.kontiga.com/v1/me/notification_preferences \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/me/notification_preferences
{
"kinds": [
{
"kind": "case_assigned",
"group": "my_cases",
"label": "A case is assigned to you",
"channels": {
"console": true,
"push": true,
"email": true,
"slack": false,
"teams": false,
"webhook": false
}
},
{
"kind": "mentioned",
"group": "mentions",
"label": "Someone mentions you in a note",
"channels": {
"console": true,
"push": false,
"email": true,
"slack": false,
"teams": false,
"webhook": false
}
},
{
"kind": "document_high_risk",
"group": "documents",
"label": "A document on your case is High risk",
"channels": {
"console": true,
"push": false,
"email": false,
"slack": false,
"teams": false,
"webhook": false
}
}
],
"channels": {
"console": {
"ready": true,
"needs": null,
"detail": null
},
"push": {
"ready": true,
"needs": null,
"detail": "1 browser"
},
"email": {
"ready": true,
"needs": null,
"detail": "erik.haugen@halden.example"
},
"slack": {
"ready": false,
"needs": "Link your own account.",
"detail": "halden-mutual"
},
"teams": {
"ready": false,
"needs": "Your workspace has not connected this team chat. An owner or admin connects it in Settings, Integrations.",
"detail": null
},
"webhook": {
"ready": false,
"needs": "Add your webhook address.",
"detail": null
}
},
"email": {
"address": "erik.haugen@halden.example",
"timing": "at_once"
},
"quiet_hours": {
"on": false,
"from": "20:00",
"to": "08:00",
"time_zone": "Europe/Oslo"
},
"updated_at": null
}PATCH/v1/me/notification_preferences
Turn channels on or off for kinds of events, choose email at once or once a day, and set quiet hours. A channel that is not set up yet keeps your choice and starts once it is.
- Who may
- Every member, for themselves
- CLI
kontiga notifications set [--turn-on <kind:channel>,...] [--turn-off <kind:channel>,...] [--email-timing <at_once|daily>] [--quiet-hours <true|false>] [--quiet-from <HH:MM>] [--quiet-to <HH:MM>]- MCP tool
set_my_notification_settings- Returns
- Your notification settings, changed.
Parameters
turn_onCells to turn on, each as
kind:channel, such ascase_assigned:push. At most 200 items.turn_offCells to turn off, in the same form. A cell is named once. At most 200 items.
email_timingat_once, ordailyfor one summary a day.quiet_hoursTurn quiet hours on or off.
quiet_fromWhen they start, as
HH:MMin your time zone.quiet_toWhen they end. They may cross midnight.
curl -X PATCH https://api.kontiga.com/v1/me/notification_preferences \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"turn_on": [
"case_assigned:slack",
"document_high_risk:push"
],
"email_timing": "daily",
"quiet_hours": true,
"quiet_from": "20:00",
"quiet_to": "07:30"
}'PATCH /v1/me/notification_preferences
{
"kinds": [
{
"kind": "case_assigned",
"group": "my_cases",
"label": "A case is assigned to you",
"channels": {
"console": true,
"push": true,
"email": true,
"slack": true,
"teams": false,
"webhook": false
}
},
{
"kind": "document_high_risk",
"group": "documents",
"label": "A document on your case is High risk",
"channels": {
"console": true,
"push": true,
"email": false,
"slack": false,
"teams": false,
"webhook": false
}
}
],
"email": {
"address": "erik.haugen@halden.example",
"timing": "daily"
},
"quiet_hours": {
"on": true,
"from": "20:00",
"to": "07:30",
"time_zone": "Europe/Oslo"
},
"updated_at": "2026-11-27T09:40:12Z"
}Browser push
Push is turned on in each browser, by you, in that browser: the browser asks your permission only then. You keep it on in 10 browsers at most. A click on a notification opens what it is about in the console, in a tab already open when there is one.
- Read
application_server_keywith List the browsers you get notifications in. - In the browser, subscribe with it:
registration.pushManager.subscribe({ userVisibleOnly: true, applicationServerKey }). - Send what the browser answered to Turn on notifications in a browser, with the browser’s name.
A notification
vThe shape’s version:
1.idThe notification’s id, starting with
ntf_.kindThe kind of event, from the table above, or
test.workspaceThe
idandnameof the workspace it comes from.modeliveortest.titleShort, such as
HM-4554 assigned to you.bodyOne line. It never holds a document’s content or a score.
urlThe console page it opens, as a path.
objectWhat it is about: its
type(case,document,request,screening,workflow_run,kompis_run,kompis,note,billingornone) and itsid.created_atWhen the event happened.
iconThe workspace’s logo, or Kontiga’s mark.
grouptagis shared by one kind in one workspace, so a newer notification replaces one not shown yet;manyis the line for several at once,{count}replaced by how many;urlis what that line opens.
{
"v": 1,
"id": "ntf_mih2k3q81",
"kind": "case_assigned",
"workspace": {
"id": "ws_2Vp6Gh9",
"name": "Halden Mutual"
},
"mode": "live",
"title": "HM-4554 assigned to you",
"body": "Ingrid Aasen: Water damage, Strandgata 14",
"url": "/console/cases/case_3Fh8Nz5",
"object": {
"type": "case",
"id": "case_3Fh8Nz5"
},
"created_at": "2026-11-27T09:42:10Z",
"icon": "/android-icon-192x192.png",
"group": {
"tag": "ws_2Vp6Gh9:case_assigned",
"many": "{count} cases assigned to you",
"url": "/console/cases?view=mine"
}
}GET/v1/me/push_subscriptions
Each browser you turned browser push on in, when it was turned on and last used, and the key a new browser subscribes with.
- Who may
- Every member, for themselves
- CLI
kontiga push list- MCP tool
list_my_push_browsers- Returns
- Your browsers, the most recently used first, and Kontiga’s application server key.
No parameters.
curl -X GET https://api.kontiga.com/v1/me/push_subscriptions \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/me/push_subscriptions
{
"application_server_key": "Bnb-nnRg9Yt4X5wbnAdFKgH8ipgk0evkyw-N3CKl7ZUXdljKRAXhdE19e0c5fwa0qA9BnLnL7XJ5xVDK43hYgYw",
"subscriptions": [
{
"id": "psb_7Kd3Xq9",
"browser": "Chrome on macOS",
"endpoint": "https://push.example.net/wp/Rr-fGXNUceivZBgu0r8sAvVFszNiuMUi",
"created_at": "2026-11-20T08:14:31Z",
"last_used_at": "2026-11-27T09:42:10Z"
}
]
}POST/v1/me/push_subscriptions
Keeps the subscription a browser made with Kontiga’s key, so browser push reaches it. The same browser twice stays one.
- Who may
- Every member, for themselves
- CLI
kontiga push add --endpoint <https address> --keys <json> [--expiration-time <ms>] [--browser <browser on system>]- MCP tool
add_push_browser- Returns
- The browser, on.
Parameters
endpointRequiredThe
endpointthe browser’s subscription holds. At most 2,048 characters.keysRequiredIts
p256dhkey andauthsecret, in base64url, as the browser gives them.expiration_timeWhen the browser ends the subscription, in milliseconds since 1970, or
null.nullclears it.browserThe browser and the system, such as
Chrome on macOS, as you will see it in your list. At most 60 characters.
curl -X POST https://api.kontiga.com/v1/me/push_subscriptions \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "https://push.example.net/wp/fXbGBwiN82vdfC09r4LUhMHYr9vn",
"keys": {
"p256dh": "B82vdfC09r4LUhMHYr9vnIU_9VtR1uHXgjmdkDpb-xRV9xQXTvqotYgJWPSnibvkeYlCEkpWremtjYStkC-rZFA",
"auth": "gkAonV_rWZic5eMOTRQQiw"
},
"expiration_time": null,
"browser": "Firefox on Windows"
}'POST /v1/me/push_subscriptions
{
"id": "psb_2Wm8Tc4",
"browser": "Firefox on Windows",
"endpoint": "https://push.example.net/wp/fXbGBwiN82vdfC09r4LUhMHYr9vn",
"created_at": "2026-11-27T09:45:02Z",
"last_used_at": null
}DELETE/v1/me/push_subscriptions/{subscription_id}
That browser no longer gets browser push from Kontiga. Your other browsers stay on.
- Who may
- Every member, for themselves
- CLI
kontiga push remove <subscription_id>- MCP tool
remove_push_browser- Returns
- The browser gets no more notifications.
Parameters
subscription_idRequiredThe browser to turn off, from your list. In the path.
curl -X DELETE https://api.kontiga.com/v1/me/push_subscriptions/psb_2Wm8Tc4 \
-H "Authorization: Bearer $KONTIGA_API_KEY"DELETE /v1/me/push_subscriptions/{subscription_id}
{ "id": "psb_2Wm8Tc4", "removed": true }POST/v1/me/push_subscriptions/test
Sends a test to every browser you turned on, or to one. It shows as any notification does.
- Who may
- Every member, for themselves
- CLI
kontiga push test [--subscription-id <psb_id>]- MCP tool
test_push_notifications- Returns
- The browsers it was sent to, and the notification they were sent.
Parameters
subscription_idOne browser to test. Every browser you turned on when left out.
curl -X POST https://api.kontiga.com/v1/me/push_subscriptions/test \
-H "Authorization: Bearer $KONTIGA_API_KEY"POST /v1/me/push_subscriptions/test
{
"sent": [
{
"subscription_id": "psb_7Kd3Xq9",
"browser": "Chrome on macOS"
}
],
"payload": {
"v": 1,
"id": "ntf_mih2m0c42",
"kind": "test",
"workspace": {
"id": "ws_2Vp6Gh9",
"name": "Halden Mutual"
},
"mode": "live",
"title": "Notifications are on",
"body": "This browser will tell you when something in Halden Mutual needs you.",
"url": "/console/account/notifications",
"object": { "type": "none", "id": null },
"created_at": "2026-11-27T09:46:20Z",
"icon": "/android-icon-192x192.png",
"group": {
"tag": "ws_2Vp6Gh9:test",
"many": "{count} test notifications",
"url": "/console/account/notifications"
}
}
}Your webhook
Your own https address, for your own tools. Each notification is a POST of the notification’s JSON, the same as a push, signed with a secret of your own. Kontiga sends only to public addresses.
The Kontiga-Signature header is t=<unix time>,v1=<signature>. The signature is the HMAC-SHA256, in hex, of the time, a full stop and the raw body, keyed with your secret. Compute it on the body exactly as it arrived, before you parse it, and compare in constant time.
import { createHmac, timingSafeEqual } from "node:crypto";
// header: the Kontiga-Signature header; body: the raw body, exactly as received
export function fromKontiga(header: string, body: string, secret: string): boolean {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=", 2)));
const expected = createHmac("sha256", secret).update(`${parts.t}.${body}`).digest("hex");
const given = String(parts.v1 ?? "");
return given.length === expected.length && timingSafeEqual(Buffer.from(given), Buffer.from(expected));
}GET/v1/me/webhook
Your own https address that gets your notifications as signed POSTs, the signing secret’s last four characters and the last test.
- Who may
- Every member, for themselves
- CLI
kontiga me webhook get- MCP tool
get_my_webhook- Returns
- Your webhook address, its secret’s last four characters and the last test; the address is null when you have none.
No parameters.
curl -X GET https://api.kontiga.com/v1/me/webhook \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/me/webhook
{
"url": "https://ops.halden.example/kontiga/erik",
"secret_last4": "a5Ue",
"created_at": "2026-11-27T09:50:44Z",
"last_test": {
"at": "2026-11-27T09:51:03Z",
"delivered": true,
"status_code": 200,
"duration_ms": 142,
"message": "Delivered, 200 in 142 ms."
}
}PUT/v1/me/webhook
The https address your notifications are sent to, each signed with a secret of your own. A new address or a new secret answers the secret once: copy it then.
- Who may
- Every member, for themselves
- CLI
kontiga me webhook set --url <https address|null> [--roll-secret]- MCP tool
set_my_webhook- Returns
- Your webhook, with the whole secret when it is new.
Parameters
urlRequiredYour https address, or
nullto remove the webhook. At most 2,048 characters.nullclears it.roll_secretMake a new secret. The old one stops at once.
curl -X PUT https://api.kontiga.com/v1/me/webhook \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://ops.halden.example/kontiga/erik"
}'PUT /v1/me/webhook
{
"url": "https://ops.halden.example/kontiga/erik",
"secret_last4": "a5Ue",
"secret": "whsec_Q7mTz2Kp9WcR4vNx8HbJ3sLd6YgFa5Ue",
"created_at": "2026-11-27T09:50:44Z",
"last_test": null
}POST/v1/me/webhook/test
Sends a signed test notification to your webhook and answers what came back.
- Who may
- Every member, for themselves
- CLI
kontiga me webhook test- MCP tool
test_my_webhook- Returns
- Whether it was delivered, the status and time, and the request exactly as sent.
No parameters.
curl -X POST https://api.kontiga.com/v1/me/webhook/test \
-H "Authorization: Bearer $KONTIGA_API_KEY"POST /v1/me/webhook/test
{
"delivered": true,
"status_code": 200,
"duration_ms": 142,
"message": "Delivered, 200 in 142 ms.",
"request": {
"url": "https://ops.halden.example/kontiga/erik",
"headers": [
["Content-Type", "application/json"],
["User-Agent", "Kontiga-Notifications/1.0"],
[
"Kontiga-Signature",
"t=1795773063,v1=272030c9ef6cb3fde8a212399e950cf8419f54e82c82fd9b68319c3ef281b74c"
]
],
"body": "{\"v\":1,\"id\":\"ntf_mih2n1f53\",\"kind\":\"test\",\"workspace\":{\"id\":\"ws_2Vp6Gh9\",\"name\":\"Halden Mutual\"},\"mode\":\"live\",\"title\":\"Your webhook works\",\"body\":\"Your notifications from Halden Mutual will come to this address.\",\"url\":\"/console/account/notifications\",\"object\":{\"type\":\"none\",\"id\":null},\"created_at\":\"2026-11-27T09:51:03Z\",\"group\":{\"tag\":\"ws_2Vp6Gh9:test\",\"many\":\"{count} test notifications\",\"url\":\"/console/account/notifications\"},\"icon\":\"/android-icon-192x192.png\"}"
}
}Team chat
Notifications come to you as direct messages, through the workspace’s own team chat. An owner or admin connects it in Integrations; you then link your own account there, signing in as yourself.
GET/v1/me/chat_links
Whether the workspace has Slack and Microsoft Teams connected, and whether your own account there is linked, so notifications reach you as direct messages.
- Who may
- Every member, for themselves
- CLI
kontiga chat-links list- MCP tool
list_my_chat_links- Returns
- Slack and Microsoft Teams: the workspace’s connection and your own link.
No parameters.
curl -X GET https://api.kontiga.com/v1/me/chat_links \
-H "Authorization: Bearer $KONTIGA_API_KEY"GET /v1/me/chat_links
[
{
"tool": "slack",
"workspace_connected": true,
"workspace_account": "halden.slack.com",
"linked": false,
"account": null,
"linked_at": null
},
{
"tool": "teams",
"workspace_connected": false,
"workspace_account": null,
"linked": false,
"account": null,
"linked_at": null
}
]POST/v1/me/chat_links
Links your own Slack or Microsoft Teams account through the workspace’s integration, so your notifications come as direct messages. You sign in there as yourself.
- Who may
- Every member, for themselves
- CLI
kontiga chat-links link <slack|teams>- MCP tool
link_my_chat_account- Returns
- The link, and where to sign in when it is not made at once.
Parameters
toolRequiredslackorteams. Refused while the workspace has not connected it. Whenauthorize_urlis set, open it to sign in there.
curl -X POST https://api.kontiga.com/v1/me/chat_links \
-H "Authorization: Bearer $KONTIGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool": "slack"
}'POST /v1/me/chat_links
{
"tool": "slack",
"workspace_connected": true,
"workspace_account": "halden.slack.com",
"linked": true,
"account": "@erik.haugen",
"linked_at": "2026-11-27T09:55:18Z",
"authorize_url": null
}DELETE/v1/me/chat_links/{tool}
Your notifications stop coming as direct messages there. The workspace’s integration stays as it is.
- Who may
- Every member, for themselves
- CLI
kontiga chat-links unlink <slack|teams>- MCP tool
unlink_my_chat_account- Returns
- The tool, no longer linked to you.
Parameters
toolRequiredslackorteams. In the path.
curl -X DELETE https://api.kontiga.com/v1/me/chat_links/slack \
-H "Authorization: Bearer $KONTIGA_API_KEY"DELETE /v1/me/chat_links/{tool}
{
"tool": "slack",
"workspace_connected": true,
"workspace_account": "halden.slack.com",
"linked": false,
"account": null,
"linked_at": null
}