Board settings — K8 HQ Content API
Board settings operations for K8 HQ Content API. Requests, permissions and responses.
Version 1OpenAPI description (JSON)
Before making requests, read the authentication and request requirements.
Base URL
| Base URL | For |
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
Board settings
Get my board notice settings
GET/board-notices
Which board notices the person gets in the organization (in their notice inbox and its copies), the time zone their due reminders read due dates in, and their Undo send window. These settings follow the person across devices in this organization. People only. Board automation notices use the automation kind.
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 |
kinds required | string[] | Every kind: assigned, mentioned, commented, replied (a customer wrote on a ticket you're assigned), bounced (your reply on a ticket wasn't delivered), due (the daily list of what's due tomorrow or overdue), target (tickets past a response target: yours, or nobody's). |
off required | string[] | The kinds turned off. |
timeZone required | string | The IANA time zone due dates are read in for the daily reminder ("" until set: UTC). |
undoSendSeconds required | 0 | 5 | 10 | 20 | 30 | Undo send window in seconds. 0 means Off; 10 when not set. |
composeFormat | rich | plain | |
offerAddContacts | boolean | Whether to offer to add people to contacts after sending mail. |
signatureOnReplies | boolean | Whether compose adds the address signature to replies and forwards. |
Responses
| Status | Body | Meaning |
| 200 | JSON | The settings. |
| 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 person has no notice inbox in the organization yet. |
| 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). |
Set my board notice settings
PUT/board-notices
Replaces the kinds turned off and the time zone (the web app sets the browser's). Sets the Undo send window when supplied; omitting it keeps the saved choice. With Off (0), the client sends without hold. Saving settings has no extra charge. People only. Board automation notices use the automation kind.
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. |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
composeFormat | rich | plain | Omitted keeps the saved value; defaults to rich. |
off | string[] | |
offerAddContacts | boolean | Whether to offer to add people to contacts after sending mail. Omitted keeps the saved value; defaults to true. |
signatureOnReplies | boolean | Omitted keeps the saved value; defaults to true. |
timeZone | string | |
undoSendSeconds | 0 | 5 | 10 | 20 | 30 | Undo send window in seconds. 0 means Off. Omit to keep the saved choice; 10 when not set. |
Response body (JSON)
| Field | Type | Description |
kinds required | string[] | Every kind: assigned, mentioned, commented, replied (a customer wrote on a ticket you're assigned), bounced (your reply on a ticket wasn't delivered), due (the daily list of what's due tomorrow or overdue), target (tickets past a response target: yours, or nobody's). |
off required | string[] | The kinds turned off. |
timeZone required | string | The IANA time zone due dates are read in for the daily reminder ("" until set: UTC). |
undoSendSeconds required | 0 | 5 | 10 | 20 | 30 | Undo send window in seconds. 0 means Off; 10 when not set. |
composeFormat | rich | plain | |
offerAddContacts | boolean | Whether to offer to add people to contacts after sending mail. |
signatureOnReplies | boolean | Whether compose adds the address signature to replies and forwards. |
Responses
| Status | Body | Meaning |
| 200 | JSON | The settings now. |
| 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 person has no notice inbox in the organization yet, or the same 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). |
Replace a board's config
PUT/boards/{board}/config
Statuses (1 to 20, IDs and categories, at least one todo and one done) and labels (up to 100 IDs) in plaintext, and the names sealed by the browser as version current+1. People only.
For API tokens with boards:write and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
If-Match (header) required | string | The version you changed (a number; quoted is fine): the item's version for fields, its head for its text, the config's version for the config. |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
epoch required | integer | |
object required | string | |
statuses required | BoardStatus[] | |
wdek required | string | |
completionStatuses | string[] | Stable IDs of completion columns. Omitted uses done/closed categories on existing boards; an explicit empty array means no completion columns. An omitted update preserves an existing selection. |
labels | BoardLabel[] | |
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). |
| 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 the same Idempotency-Key is still running (in_progress), or the item isn't in the state this needs (conflict: in Trash, not in Trash, linked already). |
| 412 | application/problem+json | If-Match named an older version (version_mismatch); item, when present, is the item as it is now. |
| 413 | application/problem+json | A sealed part is too large (too_large): a title is at most 200 characters, a description 256 KB, a comment 16 KB. |
| 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). |
Choose which statuses end work claims
PATCH/boards/{board}/config
Change only the endsClaims flags in config.statuses on a task board. Sealed names and their config version stay the same. People only (signed in), not access tokens. If-Match is the board modseq, rather than the sealed config version. Done statuses always end claims. Ticket boards are excluded.
For API tokens with boards:write and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
If-Match (header) required | integer | The board modseq read before this edit. |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
endsClaims required | object | Status IDs mapped to true or false. Done statuses may not be marked true. |
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 updated board. |
| 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). |
| 412 | application/problem+json | If-Match named an older version (version_mismatch). |
Move a board's labels to organization tags
POST/boards/{board}/labels/move
One call of moving a board's labels to organization tags. Label and tag names are sealed, so the browser maps each label to a tag (mapping, IDs only) and seals the board's config without labels as version configVersion+1. Each call rewrites a page of items (their labels become tags, with the tag search's index entries) and returns a cursor to send back; past the last item, K8 HQ checks for itself that no item (Trash included) still has a label: if one does, the call answers a cursor to go on from instead; otherwise it saves the config, marks the board labelsMoved and records one board.labels.migrated. Calls are idempotent and any member who may change the board can resume, from the start or a cursor; once a move has started its mapping is kept on the board (labelMove), and a different one is refused except for entries whose tag was deleted meanwhile (422 missingTags names it). Readable organizations only (409 tags_coming_soon otherwise). The writes are K8 HQ's cost (boards.changes.k8hq, free). People only.
For the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
config required | object | The board's config without labels: its statuses as they are, and the names sealed by the browser as version configVersion+1. |
configVersion required | integer | The board config's version the sealed config replaces. |
mapping required | object | Each of the board's labels (lb_…) and the tag (tag_…) it becomes. |
cursor | string | The last call's cursor; absent to start from the first item. |
Response body (JSON)
| Field | Type | Description |
done required | boolean | |
moved required | integer | Item writes this call made. |
board | Board | |
cursor | string | |
Responses
| Status | Body | Meaning |
| 200 | JSON | This call's outcome: done with the board once it has moved, or the cursor for the next call. |
| 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 organization's tags aren't available (tags_coming_soon: zero-access encryption), or the board's labels are already moving to other tags (conflict): read the board again. |
| 412 | application/problem+json | The board's config changed (version_mismatch): read the board and seal its config again. |
| 422 | application/problem+json | A tag in the mapping isn't one of the organization's (it may have been deleted): missingTags names it. Map the labels that went to it to a live tag and call again; while a move is under way, only entries whose tag was deleted may change. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
Change a board's settings
PATCH/boards/{board}/settings
Change the name (1 to 100 characters, plaintext) or hideTokenLabels, and on a ticket board its response targets and business hours (targets; null clears them). People with the board's owner grant only (the linked inbox's grant on ticket boards); tokens cannot change settings. Missing hideTokenLabels means false. Each setting changed is metered as a board change and emits board.settings.changed atomically with the settings.
For API tokens with boards:write and the web app.
Parameters
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
hideTokenLabels | 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. |
name | string | |
targets | any | Ticket boards: response targets and business hours; null clears them. |
{"name":"Development"}
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). |
| 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 the same Idempotency-Key is still running (in_progress), or the item isn't in the state this needs (conflict: in Trash, not in Trash, linked already). |
| 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). |