K8 HQ

Board settings — K8 HQ Content API

Board settings operations for K8 HQ Content API. Requests, permissions and responses.

Version 1OpenAPI description (JSON)

Browse operation groups

Before making requests, read the authentication and request requirements.

Change board settings and workflow, move labels to tags, and choose your board notices.

See board setup, encryption and synchronization before making requests.

Base URL

Base URLFor
https://api.k8hq.com/v1API 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

NameTypeDescription
org (query)stringThe 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)

FieldTypeDescription
kinds requiredstring[]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 requiredstring[]The kinds turned off.
timeZone requiredstringThe IANA time zone due dates are read in for the daily reminder ("" until set: UTC).
undoSendSeconds required0 | 5 | 10 | 20 | 30Undo send window in seconds. 0 means Off; 10 when not set.
composeFormatrich | plain
offerAddContactsbooleanWhether to offer to add people to contacts after sending mail.
signatureOnRepliesbooleanWhether compose adds the address signature to replies and forwards.

Responses

StatusBodyMeaning
200JSONThe settings.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe person has no notice inbox in the organization yet.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo 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.
503application/problem+jsonTemporary 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

NameTypeDescription
org (query)stringThe 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)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
composeFormatrich | plainOmitted keeps the saved value; defaults to rich.
offstring[]
offerAddContactsbooleanWhether to offer to add people to contacts after sending mail. Omitted keeps the saved value; defaults to true.
signatureOnRepliesbooleanOmitted keeps the saved value; defaults to true.
timeZonestring
undoSendSeconds0 | 5 | 10 | 20 | 30Undo send window in seconds. 0 means Off. Omit to keep the saved choice; 10 when not set.

Response body (JSON)

FieldTypeDescription
kinds requiredstring[]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 requiredstring[]The kinds turned off.
timeZone requiredstringThe IANA time zone due dates are read in for the daily reminder ("" until set: UTC).
undoSendSeconds required0 | 5 | 10 | 20 | 30Undo send window in seconds. 0 means Off; 10 when not set.
composeFormatrich | plain
offerAddContactsbooleanWhether to offer to add people to contacts after sending mail.
signatureOnRepliesbooleanWhether compose adds the address signature to replies and forwards.

Responses

StatusBodyMeaning
200JSONThe settings now.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe person has no notice inbox in the organization yet, or the same Idempotency-Key is still running (in_progress).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo 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.
503application/problem+jsonTemporary 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

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
If-Match (header) requiredstringThe 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)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
epoch requiredinteger
object requiredstring
statuses requiredBoardStatus[]
wdek requiredstring
completionStatusesstring[]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.
labelsBoardLabel[]

Response body (JSON)

FieldTypeDescription
config requiredBoardConfig
createdAt requiredstring
epoch requiredinteger
epochPub requiredstringThe current epoch's public key (X25519): what the browser seals to.
hideTokenLabels requiredbooleanHide 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 requiredstring
items requiredintegerItems, Trash included.
kind requiredtask | ticket
modseq requiredinteger
name requiredstring
open requiredintegerItems not in a done or closed status, Trash left out.
orgId requiredstring
privacy requiredreadable | zero_access
syncGen requiredinteger
inboxstringA ticket board's inbox (ibx_).
labelMoveobjectThe 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.
labelsMovedbooleanThe board's labels moved to organization tags: it has no labels, and items use tags.
namesobjectTokens 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_…).
readyDelegatesBoardReadyDelegates
subjectTokenbooleanA 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.
suiteHPKESuite
summaryBoardSummary
targetsBoardTargets

Responses

StatusBodyMeaning
200BoardThe board.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe 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.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA 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).
412application/problem+jsonIf-Match named an older version (version_mismatch); item, when present, is the item as it is now.
413application/problem+jsonA sealed part is too large (too_large): a title is at most 200 characters, a description 256 KB, a comment 16 KB.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo 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.
503application/problem+jsonTemporary 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

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
If-Match (header) requiredintegerThe board modseq read before this edit.
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
endsClaims requiredobjectStatus IDs mapped to true or false. Done statuses may not be marked true.

Response body (JSON)

FieldTypeDescription
config requiredBoardConfig
createdAt requiredstring
epoch requiredinteger
epochPub requiredstringThe current epoch's public key (X25519): what the browser seals to.
hideTokenLabels requiredbooleanHide 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 requiredstring
items requiredintegerItems, Trash included.
kind requiredtask | ticket
modseq requiredinteger
name requiredstring
open requiredintegerItems not in a done or closed status, Trash left out.
orgId requiredstring
privacy requiredreadable | zero_access
syncGen requiredinteger
inboxstringA ticket board's inbox (ibx_).
labelMoveobjectThe 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.
labelsMovedbooleanThe board's labels moved to organization tags: it has no labels, and items use tags.
namesobjectTokens 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_…).
readyDelegatesBoardReadyDelegates
subjectTokenbooleanA 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.
suiteHPKESuite
summaryBoardSummary
targetsBoardTargets

Responses

StatusBodyMeaning
200BoardThe updated board.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe 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.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
412application/problem+jsonIf-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

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
config requiredobjectThe board's config without labels: its statuses as they are, and the names sealed by the browser as version configVersion+1.
configVersion requiredintegerThe board config's version the sealed config replaces.
mapping requiredobjectEach of the board's labels (lb_…) and the tag (tag_…) it becomes.
cursorstringThe last call's cursor; absent to start from the first item.

Response body (JSON)

FieldTypeDescription
done requiredboolean
moved requiredintegerItem writes this call made.
boardBoard
cursorstring

Responses

StatusBodyMeaning
200JSONThis call's outcome: done with the board once it has moved, or the cursor for the next call.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe 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.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe 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.
412application/problem+jsonThe board's config changed (version_mismatch): read the board and seal its config again.
422application/problem+jsonA 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.
503application/problem+jsonTemporary 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

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
hideTokenLabelsbooleanHide 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.
namestring
targetsanyTicket boards: response targets and business hours; null clears them.
{"name":"Development"}

Response body (JSON)

FieldTypeDescription
config requiredBoardConfig
createdAt requiredstring
epoch requiredinteger
epochPub requiredstringThe current epoch's public key (X25519): what the browser seals to.
hideTokenLabels requiredbooleanHide 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 requiredstring
items requiredintegerItems, Trash included.
kind requiredtask | ticket
modseq requiredinteger
name requiredstring
open requiredintegerItems not in a done or closed status, Trash left out.
orgId requiredstring
privacy requiredreadable | zero_access
syncGen requiredinteger
inboxstringA ticket board's inbox (ibx_).
labelMoveobjectThe 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.
labelsMovedbooleanThe board's labels moved to organization tags: it has no labels, and items use tags.
namesobjectTokens 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_…).
readyDelegatesBoardReadyDelegates
subjectTokenbooleanA 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.
suiteHPKESuite
summaryBoardSummary
targetsBoardTargets

Responses

StatusBodyMeaning
200BoardThe board.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe 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.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA 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).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo 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.
503application/problem+jsonTemporary failure; try again (unavailable).