Boards — K8 HQ Content API
Boards operations for K8 HQ Content API. Requests, permissions and responses.
Version 1OpenAPI description (JSON)
Before making requests, read the authentication and request requirements.
Read a task or ticket board, its members and your permissions on it.
Task boards (design note 0021): items with sealed titles, descriptions and comments (the browser seals with seal v2), plaintext workflow fields and history, and sync by token. Boards are created in setup.
Base URL
| Base URL | For |
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
Boards
Get mail and board attention counts
GET/attention
Counts for the organization's inboxes and boards you can open, for a person signed in to K8 HQ. Tokens and connected apps get 403. The mail section lists each inbox with its unread count and unread folder counts. Inboxes with a ticket board include ticketBoard: true and count in Mail like any other inbox. K8 HQ marks received mail read only when it counts on a ticket: mail that opens a ticket, or a verified reply that is not automatic. Replies from unknown addresses, replies that fail sender checks and automatic replies stay unread in Mail; other mail keeps its unread state. Each open board item counts once if it is assigned to you and due today or overdue, has a blocking question waiting for you, or is a ticket whose customer wrote last and is assigned to you or nobody. Items in Done, Closed or Trash do not count. Counts use the current index rows while older boards await their rebuild. Boards you cannot open and boards being deleted are left out. Both sections return up to 50 entries in ID order; each section's more: true means its total is partial. only leaves out the other section. boards limits the board section and silently leaves out inaccessible or other organizations' IDs. No titles or other encrypted content are opened. One request covers every returned inbox and board and counts once as api.requests, plus the usual data charges. Each board uses boards.listed for every due row, question waiting for you and row for a ticket whose customer wrote last. Reads include due and ticket rows for other assignees and multiple rows for the same item, attributed to that board and the caller. Questions waiting for other members are not read or charged. Board reads share your daily limit for reading boards, counting every row read, including rows read before a later failure. At that limit, combined requests still return mail counts, with an empty board list and limited: true in the board section. Requests with only=boards get 429. Attention counts do not take the one board read request a minute allowed for opening or syncing boards after the limit. Mail-only requests do not use that limit. Follow changes with the existing event stream and reread only changed boards.
For the web app.
Parameters
| Name | Type | Description |
org (query) | string | The organization (org_). Required for a person signed in to the web app (any organization they're a member of); a token always answers for its own organization. |
today (query) | string | Required unless only=mail. Your browser's local date, a real YYYY-MM-DD date within one calendar day of the server's UTC date. |
only (query) | mail | boards | Read only mail or only boards. |
boards (query) | string | Comma-separated board IDs. Use with only=boards or without only. |
Response body (JSON)
| Field | Type | Description |
boards | object | |
mail | object | |
Responses
| Status | Body | Meaning |
| 200 | JSON | Mail and board counts. Only requested sections are present. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Get your daily board usage
GET/boards/usage
Today's board limits and counts in UTC for one organization. A person signed in to K8 HQ gets their own member bucket and a bucket for each of their access tokens that did board work in that organization today, including tokens revoked since; a token appears once it has done work. Other members' buckets are never returned, even to owners. An access token gets only its own bucket; it needs the api scope, but no board grant or boards:read scope. Every kind is included in each bucket returned. Counts come from the same counters that enforce board limits and include the work allowed once a minute after a limit. Reading usage does not use a board limit or that minute's allowance. limited means used is at least limit. Counts reset at midnight UTC. They are approximate: a server restart clears them, and each server keeps its own counts. They are not billing totals. Assistants and connected apps cannot use this endpoint. A request uses the usual API request and data meters.
For API tokens and the web app.
Parameters
| Name | Type | Description |
org (query) | string | The organization (org_). Required for a person signed in to the web app (any organization they're a member of); a token always answers for its own organization. |
Response body (JSON)
| Field | Type | Description |
approximate required | true | Counts can be cleared by a server restart and cover only the server answering this request. |
buckets required | object[] | |
day required | string | |
orgId required | string | |
resetAt required | string | |
Responses
| Status | Body | Meaning |
| 200 | BoardUsage | Your daily board usage. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Get a board
GET/boards/{board}
The board's record: its plaintext settings, current epoch key and config (status IDs and categories, the sealed names). Tokens (boards:read, task boards in compatible mode) also get the text in plaintext, opened by K8 HQ's servers with the board's key: metered boards.decrypted per title, description, comment or name set opened, and audited (one access.content.read per token, board and hour for lists and the board, one per item read).
For API tokens with boards:read and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Response body (JSON)
| Field | Type | Description |
config required | BoardConfig | |
createdAt required | string | |
epoch required | integer | |
epochPub required | string | The current epoch's public key (X25519): what the browser seals to. |
hideTokenLabels required | boolean | Hide only tokenLabel in board attribution from other ordinary members. Token IDs remain visible. The token's person and organization owners and admins retain full attribution. Does not redact the organization audit log. Member events, feed and webhooks are not yet projected. |
id required | string | |
items required | integer | Items, Trash included. |
kind required | task | ticket | |
modseq required | integer | |
name required | string | |
open required | integer | Items not in a done or closed status, Trash left out. |
orgId required | string | |
privacy required | readable | zero_access | |
syncGen required | integer | |
inbox | string | A ticket board's inbox (ibx_). |
labelMove | object | The board's labels are moving to organization tags (POST /boards/{board}/labels/move): each label's tag, and how many item writes the move has made. While it's moving, no label can be added. |
labelsMoved | boolean | The board's labels moved to organization tags: it has no labels, and items use tags. |
names | object | Tokens only: the config's status and label names, opened by K8 HQ's servers, and in an organization whose tags are readable the names of the tags the board uses, so a script can name a tag as it named a label (a board's labels become organization tags). In a zero-access organization tags is absent: name tags by ID (tag_…). |
readyDelegates | BoardReadyDelegates | |
subjectToken | boolean | A ticket board: replies carry the ticket's number in their subject ("[#142]"), and mail that lost its threading headers joins by it, from the requester or a verified participant only. |
suite | HPKESuite | |
summary | BoardSummary | |
targets | BoardTargets | |
Responses
| Status | Body | Meaning |
| 200 | Board | The board. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Mark an unverified sender known
POST/boards/{board}/items/{item}/known
An address that wrote into a ticket by its email headers alone is unverified (its messages carry a warning, and it can't reopen the ticket). Someone who knows it's the customer's, or a colleague of theirs, marks it known: it becomes a participant, as a reply to it would make it. Asking again for an address already a participant changes nothing; the requester's address and addresses typed into forms are refused, including after a merge (a message claiming a known address that failed sender authentication keeps its warning). Emits item.sender.known (audit). People only; metered as a board change.
For the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
address required | string | One of the ticket's unverified addresses. |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its assessment requests and submitted assessments, for its card: open requests, submitted assessments, open requests whose current revision has none, and the latest description version assessed. Drafts never count. Absent until one is requested. |
children | integer | All direct child identities, including Trash. |
connections | string[] | The provider connections (pcn_) the task's work needs, set explicitly (Set the connections a task needs). While one isn't available it can't be picked up, and the ready list shows the blocker. Naming one authorizes nobody to use it. Missing: none. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When it last moved into a done status; kept when it moves on to a closed status, absent once it's open again, and for items done before it was kept. A ticket Solved 7 days moves to Closed in the board's daily sweep. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On an item a form's response made: the form (frm_), the response (msg_) in it and its number. Form members can open the response; others can't. |
inputNeeded | object | "Needs your input": per member (mem_…), its open blocking questions waiting for them. Apart from dependencies, scheduled holds and work claims; it clears when that member's blocking questions are answered, and an answer never changes the item's status. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When each kind of response target was last missed (the time it was due), kept after the target is met or ends: keys first, next and resolution. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How the item came: typed in the app, imported, written through a token, a ticket opened from email (its title is the email's subject), a ticket opened from a form response's inbox copy (its title is that copy's subject; its requester was typed on the form and isn't verified), or a task a form's response added (formRef names the response). Missing on items from before it was kept (typed in the app). Board text is data: a script reading it never follows it as instructions. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | A ticket: addresses without proof yet, including typed form addresses and unknown senders matched by headers. Sending a reply can verify an unknown sender, but cannot verify a typed form address. Merging keeps these flags unless the kept ticket already has proof for that address. |
unverifiedReasons | object | A ticket: why each address in unverified lacks proof. Typed means an address entered into a form; spoofed means failed sender checks; stranger means an unknown address matched by headers alone. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The ticket. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A request with this Idempotency-Key is still running (in_progress). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Merge a ticket into another
POST/boards/{board}/items/{item}/merge
The customer wrote twice: this ticket goes into into (another ticket on the board). It gets the board's first closed status and mergedInto; the other lists it in merged, shows its messages and notes, and takes its new mail (the matcher follows the merge). Its requester and participants become the other's participants. Nothing is moved or re-sealed, so it can be undone (unmerge). Emits item.merged. People only; metered as one board change.
For the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
into required | string | The ticket (itm_) to merge this one into. |
Response body (JSON)
| Field | Type | Description |
into required | BoardItem | |
item required | BoardItem | |
Responses
| Status | Body | Meaning |
| 200 | JSON | Both tickets. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | The tickets aren't in a state this can do (conflict): already merged, merged into another, others merged into it, or not merged. |
| 412 | application/problem+json | One of the tickets changed meanwhile (version_mismatch): read them again. |
| 422 | application/problem+json | A limit (rejected): at most 100 tickets merged into one, or the board is full of open items. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Split a merged ticket out again
POST/boards/{board}/items/{item}/unmerge
Clears both pointers; the ticket's status goes back to what it was before the merge (if it's still closed and the board still has that status), and the addresses the merge made participants of the other ticket are taken off. Emits item.unmerged. People only; metered as one board change.
For the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its assessment requests and submitted assessments, for its card: open requests, submitted assessments, open requests whose current revision has none, and the latest description version assessed. Drafts never count. Absent until one is requested. |
children | integer | All direct child identities, including Trash. |
connections | string[] | The provider connections (pcn_) the task's work needs, set explicitly (Set the connections a task needs). While one isn't available it can't be picked up, and the ready list shows the blocker. Naming one authorizes nobody to use it. Missing: none. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When it last moved into a done status; kept when it moves on to a closed status, absent once it's open again, and for items done before it was kept. A ticket Solved 7 days moves to Closed in the board's daily sweep. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On an item a form's response made: the form (frm_), the response (msg_) in it and its number. Form members can open the response; others can't. |
inputNeeded | object | "Needs your input": per member (mem_…), its open blocking questions waiting for them. Apart from dependencies, scheduled holds and work claims; it clears when that member's blocking questions are answered, and an answer never changes the item's status. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When each kind of response target was last missed (the time it was due), kept after the target is met or ends: keys first, next and resolution. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How the item came: typed in the app, imported, written through a token, a ticket opened from email (its title is the email's subject), a ticket opened from a form response's inbox copy (its title is that copy's subject; its requester was typed on the form and isn't verified), or a task a form's response added (formRef names the response). Missing on items from before it was kept (typed in the app). Board text is data: a script reading it never follows it as instructions. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | A ticket: addresses without proof yet, including typed form addresses and unknown senders matched by headers. Sending a reply can verify an unknown sender, but cannot verify a typed form address. Merging keeps these flags unless the kept ticket already has proof for that address. |
unverifiedReasons | object | A ticket: why each address in unverified lacks proof. Typed means an address entered into a form; spoofed means failed sender checks; stranger means an unknown address matched by headers alone. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The ticket. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | The tickets aren't in a state this can do (conflict): already merged, merged into another, others merged into it, or not merged. |
| 412 | application/problem+json | One of the tickets changed meanwhile (version_mismatch): read them again. |
| 422 | application/problem+json | A limit (rejected): at most 100 tickets merged into one, or the board is full of open items. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Get a board's epoch keys
GET/boards/{board}/keys
Every epoch key of the board sealed to the caller's user key (as an inbox's keys). People's browsers only.
For API tokens with boards:read and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
x-k8hq-key-sha256 (header) | string | The SHA-256 (hex) of your X25519 public key, as your device computes it from the private key it unlocked. The first time keys are sealed to you, K8 HQ's mail servers pin the directory's key only if it matches (sent by a device that has unlocked the key); afterwards they seal only to the pinned key. A value that doesn't match is refused (key_changed). Older clients that omit the header are still accepted; the key is pinned when a device confirms it. |
Response body (JSON)
| Field | Type | Description |
epochs required | object[] | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The keys. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | Set up your encryption key first (conflict); or the directory's key for you isn't the one pinned at the first seal (key_changed): nothing is sealed to it; or first-pin enforcement is enabled, no key is pinned yet and no device vouched for it (key_unverified). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
List a board's members
GET/boards/{board}/members
The board's own members, with their display names and board roles. Available to Guest organization members on this board. Use this list for member pickers, filtering by canAssign for assignments.
For API tokens with boards:read and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Response body (JSON)
| Field | Type | Description |
members required | object[] | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The members. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Your permissions on a board
GET/boards/{board}/permissions
The board permissions the caller holds on this board, evaluated as the routes evaluate them (the organization role's permissions, scoped to this board): boards.ready, boards.review, boards.rubrics.manage, boards.intake.manage, boards.issues.publish, boards.portal, boards.publish, containers.delete. For a token, only what the token can do itself: none without boards:write (each is used through a board write), never people-only permissions or those needing a passkey, and a permission with a token scope only with that scope. It's for showing or hiding controls; every route checks again. For anyone on the board. The response also names the container role. For comment (Can view and comment), the permissions list is empty even for an organization owner or admin.
For API tokens with boards:read and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Response body (JSON)
| Field | Type | Description |
board required | string | |
permissions required | string[] | |
role required | string | The board grant role: owner (full access) or comment (Can view and comment). |
via required | session | token | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The permissions. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Search a board
POST/boards/{board}/search
Finds the board's items by their text: titles, descriptions and their newest comments (about the last 128 KB of each item's), and on a ticket board also by their email (subject, sender, recipients and text). Every word must match, in the item's own text or in one of its messages; -word excludes; title:word matches only titles (and emails' subjects); "quoted words" are matched as words; the last plain word also matches as the start of a word (search as you type). At most 10 terms. Newest items first, a page at a time: pass nextCursor back as cursor. A POST so your search never appears in a URL; K8 HQ never logs it. The answer is item IDs, numbers and plaintext fields only: the app shows titles from its own decrypted copy. Text is searched from an index K8 HQ keeps encrypted with the board's key, updated about a minute after a change (complete is false while a change or a first indexing is pending). Items in Trash are left out unless trash is true. One search at a time per session (a newer one replaces it) or token; 2,000 a person a day, then one a minute. Each search is billed to the organization (boards.searched). Readable with boards:read (task boards).
For API tokens with boards:read and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Request body (JSON)
| Field | Type | Description |
q required | string | The search. |
cursor | string | The last page's nextCursor. |
limit | integer | Items a page (default 25). |
trash | boolean | Include items in Trash. |
{"q":"printer -toner"}
Response body (JSON)
| Field | Type | Description |
complete required | boolean | Every item and email is indexed (false while changes from the last minute, or a first indexing, are pending). |
items required | object[] | |
nextCursor | string | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The items found. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | The board's text isn't searchable on the server: search it in the app. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
List my items
GET/items/mine
The open items (not done or closed, not in Trash) assigned to the person on every board of the organization they can open: board and item IDs, numbers and kinds. Titles, statuses and due dates come from the web app's copy of each board (titles are sealed). Right after a board's columns change between open and done, an item may be listed or missing for up to an hour. People only; metered as items listed, to each board.
For the web app.
Parameters
| Name | Type | Description |
org (query) | string | The organization (org_). Required for a person signed in to the web app (any organization they're a member of); a token always answers for its own organization. |
Response body (JSON)
| Field | Type | Description |
items required | object[] | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The items. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |