K8 HQ

Help desk — K8 HQ Content API

Help desk 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.

A ticket board's saved replies, automations and satisfaction survey switch.

Saved replies are sealed in the browser like other board text. Automations assign new tickets in turn and notify people when tickets are done. The survey switch decides whether a reply that solves a ticket may ask the customer for a rating. 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

Help desk

Read a ticket board's automatic acknowledgement

GET/boards/{board}/acknowledgement

The acknowledgement's switch and text (the defaults until saved), who it sends for, the last one sent and today's counts, whether the caller may change it or turn it on, whether the inbox allows automatic mail, whether the organization is new (acknowledgements count toward its daily sending limit), and active mail rules on the inbox that also reply automatically. People only.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).

Response body (JSON)

FieldTypeDescription
body requiredstring
on requiredboolean
subject requiredstring
version requiredintegerThe help desk settings record's version (0: never saved).
automaticMailboolean
boundAtstring
bystringThe member it sends for (mem_).
canEditboolean
defaultsobject
lastSentobject
maySendboolean
newAccountboolean
pausedWhystringowner_left or no_sending: it turned itself off because that member lost access or rules.sending.
placeholdersstring[]
refusedTodayintegerNot sent today because of a cap or the sending pipeline.
replyRulesobject[]
sentTodayinteger

Responses

StatusBodyMeaning
200AckSettingThe acknowledgement setting.
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).
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).

Turn a ticket board's automatic acknowledgement on or off, or change its text

PUT/boards/{board}/acknowledgement

While it's on, each new ticket opened by email gets an automatic reply with its number, from the address the customer wrote to, sent by the cell through the outbound pipeline (probation, the credit gate, the outbound scan) as sys_helpdesk on behalf of the member who turned it on. Never to automated mail, spam, mail that failed sender checks, form copies, follow-ups or mail moved out of Spam; once per ticket; at most 3 a day per requester and 500 a day per board; marked Auto-Submitted: auto-replied. Whoever may change the board's automations may save it, signed in to the web app; tokens can't. Turning it on, or changing its text while it's on, also needs rules.sending on the board's inbox, the inbox's automatic-mail setting (rulesMaySend, else 409) and a passkey confirmation of exactly that text at the version read (x-k8hq-confirm: board.autoreply, design note 0013). Turning it off needs none. If-Match is the help desk settings version read (412 if it changed). Placeholders: {ticket.number}, {ticket.subject}, {board.name}, {portal.link_line} (body only). A change is metered as a board change and emits board.settings.changed naming ack.

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.
If-Match (header) requiredstringThe help desk settings version read, initially 0.

Request body (JSON)

FieldTypeDescription
body requiredstring
on requiredboolean
subject requiredstring
{"body":"Hi,\n\nThanks for getting in touch. We've received your message and opened request {ticket.number}. We'll reply as soon as we can.\n\n{board.name}\n","on":true,"subject":"Re: {ticket.subject} [{ticket.number}]"}

Response body (JSON)

FieldTypeDescription
body requiredstring
on requiredboolean
subject requiredstring
version requiredintegerThe help desk settings record's version (0: never saved).
automaticMailboolean
boundAtstring
bystringThe member it sends for (mem_).
canEditboolean
defaultsobject
lastSentobject
maySendboolean
newAccountboolean
pausedWhystringowner_left or no_sending: it turned itself off because that member lost access or rules.sending.
placeholdersstring[]
refusedTodayintegerNot sent today because of a cap or the sending pipeline.
replyRulesobject[]
sentTodayinteger

Responses

StatusBodyMeaning
200AckSettingThe acknowledgement setting.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonSign in required (unauthenticated), or confirm this change with your passkey (confirmation_required, or step_up_required with action until confirmations are enforced): the answer carries the action to confirm.
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+jsonNot allowed (forbidden); or the confirmation isn't this session's (confirmation_invalid), or an API token or assistant asked (needs_person).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonAutomatic mail is off for the board's inbox (rejected), or the confirmation is for a different change, or what it changes is different now (confirmation_mismatch), was already used (confirmation_used) or timed out (confirmation_expired).
412application/problem+jsonThe setting changed since it was read (version_mismatch): confirm again.
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).

Read board automations

GET/boards/{board}/helpdesk

For a person signed in with board access. Settings live separately from the board record. Paused recipes explain why they stopped. No token access.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstring

Response body (JSON)

FieldTypeDescription
recipes requiredBoardRecipe[]
schemaVersion requiredinteger
version requiredinteger
canEditbooleanReturned on GET. True when you have full board access and can change these settings.

Responses

StatusBodyMeaning
200BoardHelpdeskVersioned help desk recipe 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).
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).

Save board automations

PUT/boards/{board}/helpdesk

For a person signed in who can change this board’s settings (the board owner grant, or the linked inbox owner grant for tickets). If-Match is the settings version, initially 0. At most 20 assign-by-tag lines and one notify-done recipe on either board kind, plus one assign-new recipe on a ticket board. The first matching tag line wins; replace allows it to change an existing assignment. Turning a recipe on binds it to the current member until it is turned off. Saving other settings keeps that member. Every run checks their full access again and pauses if they leave or lose it. Full members only for assignees and notice targets. Recipe changes never trigger recipes. Saves and automatic assignments count as boards.changes; each stored notice counts as boards.notices. Requires Idempotency-Key. No token access.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstring
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.
If-Match (header) requiredstringThe settings version, initially 0.

Request body (JSON)

FieldTypeDescription
recipes requiredBoardRecipe[]

Response body (JSON)

FieldTypeDescription
recipes requiredBoardRecipe[]
schemaVersion requiredinteger
version requiredinteger
canEditbooleanReturned on GET. True when you have full board access and can change these settings.

Responses

StatusBodyMeaning
200BoardHelpdeskVersioned help desk recipe settings.
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.
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+jsonThe settings version changed. Read it again before saving.
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).

Read a ticket board's portal switch

GET/boards/{board}/portal

People only. The portal has its own host, portal.k8hq.page. Only verified known addresses receive single-use sign-in links through the sending pipeline. Sessions last 30 days. Turning the portal off revokes its sessions.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).

Response body (JSON)

FieldTypeDescription
by requiredstring
form requiredstringThe form the portal's New request button opens (a frm_ ID), or empty: customers are asked to email the board's inbox. Offered only while the form is published and its ticket route to this board is on.
gen requiredinteger
linkLines requiredbooleanWhether acknowledgements fill {portal.link_line} with the request's link while the portal is on (the web app also adds it to replies). On unless turned off.
names requiredobjectWhat customers see for each status category: todo, active, waiting, done and closed, always all five (the defaults Received, In progress, Waiting for you, Solved and Closed where the board hasn't named one). Plaintext: the cell renders them on the portal.
on requiredboolean
version requiredinteger
welcome requiredstringA line at the top of the portal's sign-in and request pages; empty for none. Plaintext.
pausedstringWhile it's on, why sign-in links can't go out: owner_left, no_sending or automatic_mail_off. Only on a read.

Responses

StatusBodyMeaning
200PortalSettingThe portal switch and session generation.
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).
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).

Turn a ticket board's portal on or off

PUT/boards/{board}/portal

People only. The portal has its own host, portal.k8hq.page. Only verified known addresses receive single-use sign-in links through the sending pipeline. Sessions last 30 days. Turning the portal off revokes its sessions. Requires boards.portal, full board access and If-Match. Enabling also requires rules.sending on the inbox, automatic mail on, a verified domain and a bound board.portal passkey confirmation. Existing tickets are backfilled using verified sender checks before sign-in is enabled.

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.
If-Match (header) requiredstringThe setting version read.

Request body (JSON)

FieldTypeDescription
on requiredboolean
{"on":true}

Response body (JSON)

FieldTypeDescription
by requiredstring
form requiredstringThe form the portal's New request button opens (a frm_ ID), or empty: customers are asked to email the board's inbox. Offered only while the form is published and its ticket route to this board is on.
gen requiredinteger
linkLines requiredbooleanWhether acknowledgements fill {portal.link_line} with the request's link while the portal is on (the web app also adds it to replies). On unless turned off.
names requiredobjectWhat customers see for each status category: todo, active, waiting, done and closed, always all five (the defaults Received, In progress, Waiting for you, Solved and Closed where the board hasn't named one). Plaintext: the cell renders them on the portal.
on requiredboolean
version requiredinteger
welcome requiredstringA line at the top of the portal's sign-in and request pages; empty for none. Plaintext.
pausedstringWhile it's on, why sign-in links can't go out: owner_left, no_sending or automatic_mail_off. Only on a read.

Responses

StatusBodyMeaning
200PortalSettingThe portal switch and session generation.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonSign in required (unauthenticated), or confirm this change with your passkey (confirmation_required, or step_up_required with action until confirmations are enforced): the answer carries the action to confirm.
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+jsonNot allowed (forbidden); or the confirmation isn't this session's (confirmation_invalid), or an API token or assistant asked (needs_person).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe confirmation is for a different change, or what it changes is different now (confirmation_mismatch), was already used (confirmation_used) or timed out (confirmation_expired).
412application/problem+jsonThe setting changed since it was read (version_mismatch): confirm again.
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).

Block or unblock a portal address

POST/boards/{board}/portal/block

People with full access to the ticket board can block a customer address, ending its sessions and stopping sign-in mail. Unblocking permits new sign-ins. The sign-in page never reveals the block.

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
address requiredstring
blocked requiredboolean

Response body (JSON)

FieldTypeDescription
blocked requiredboolean

Responses

StatusBodyMeaning
200JSONThe portal switch and session generation.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonSign in required (unauthenticated), or confirm this change with your passkey (confirmation_required, or step_up_required with action until confirmations are enforced): the answer carries the action to confirm.
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+jsonNot allowed (forbidden); or the confirmation isn't this session's (confirmation_invalid), or an API token or assistant asked (needs_person).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe confirmation is for a different change, or what it changes is different now (confirmation_mismatch), was already used (confirmation_used) or timed out (confirmation_expired).
412application/problem+jsonThe setting changed since it was read (version_mismatch): confirm again.
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).

Read a customer's portal access

GET/boards/{board}/portal/customer

People only, for those who may block addresses from the portal. Says whether the address is blocked and when it last signed in to this board's portal. Reads one record; nothing is sent.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
address (query) requiredstringThe customer's email address.

Response body (JSON)

FieldTypeDescription
blocked requiredboolean
lastSignInAtstringWhen it last signed in; absent if it never has.

Responses

StatusBodyMeaning
200JSONThe address's portal access.
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).
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).

Change a ticket board's portal text

PUT/boards/{board}/portal/settings

People only. Sets the status names customers see (each 1 to 30 characters on one line; an empty name goes back to the default), the welcome line (at most 300 characters on one line, or empty) and whether acknowledgements carry the request's portal link. All three are plaintext the cell renders. Changing the names, welcome line or link lines always needs a passkey confirmation bound to exactly that text at the version read (x-k8hq-confirm: board.portal with textHash, design note 0013); changing only form doesn't, as the switch's checks and the form's route cover it. It doesn't change the switch or end sessions. Requires boards.portal, full board access and If-Match (the setting version read; 412 if it changed). Metered as a board change; emits board.settings.changed naming portal. form chooses what the portal's New request opens: a published form whose responses make tickets on this board (checked freshly: you need access to the form and an edit role on the board's inbox), or empty for email.

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.
If-Match (header) requiredstringThe setting version read.

Request body (JSON)

FieldTypeDescription
linkLines requiredboolean
names requiredobjectNames by status category (todo, active, waiting, done, closed); a category left out or empty uses the default.
welcome requiredstring
formstringOptional. A published form whose responses make tickets on this board and that you can open, or empty for email; left out, it stays as it is. Otherwise 422.
{"linkLines":true,"names":{"waiting":"Your turn"},"welcome":"We answer within one working day."}

Response body (JSON)

FieldTypeDescription
by requiredstring
form requiredstringThe form the portal's New request button opens (a frm_ ID), or empty: customers are asked to email the board's inbox. Offered only while the form is published and its ticket route to this board is on.
gen requiredinteger
linkLines requiredbooleanWhether acknowledgements fill {portal.link_line} with the request's link while the portal is on (the web app also adds it to replies). On unless turned off.
names requiredobjectWhat customers see for each status category: todo, active, waiting, done and closed, always all five (the defaults Received, In progress, Waiting for you, Solved and Closed where the board hasn't named one). Plaintext: the cell renders them on the portal.
on requiredboolean
version requiredinteger
welcome requiredstringA line at the top of the portal's sign-in and request pages; empty for none. Plaintext.
pausedstringWhile it's on, why sign-in links can't go out: owner_left, no_sending or automatic_mail_off. Only on a read.

Responses

StatusBodyMeaning
200PortalSettingThe portal setting, with its new version.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonSign in required (unauthenticated), or confirm this change with your passkey (confirmation_required, or step_up_required with action until confirmations are enforced): the answer carries the action to confirm.
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+jsonNot allowed (forbidden); or the confirmation isn't this session's (confirmation_invalid), or an API token or assistant asked (needs_person).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe confirmation is for a different change, or what it changes is different now (confirmation_mismatch), was already used (confirmation_used) or timed out (confirmation_expired).
412application/problem+jsonThe setting changed since it was read (version_mismatch): confirm again.
422application/problem+jsonThe form can't be offered (rejected): it isn't published, doesn't make tickets on this board, or you can't open it.
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).

List saved replies

GET/boards/{board}/saved-replies

People with access to a ticket board may list its shared saved replies, including view-and-comment members. Access comes from its inbox. Task boards return 400. Pages hold at most 50 records; follow cursor until absent. Keep the first page syncToken and use GET /boards/{board}/items?since=... for savedReplies and deletedSavedReplies. When also listing items, capture the board token before either list and sync from that token after both lists finish. The server returns sealed bytes only, including for zero-access boards. Metered boards.listed per record.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
cursor (query)stringThe nextCursor of the previous page.

Response body (JSON)

FieldTypeDescription
savedReplies requiredSavedReply[]
syncToken requiredstring
cursorstring

Responses

StatusBodyMeaning
200JSONSaved replies and the board sync token.
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).
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).

Save a shared reply

PUT/boards/{board}/saved-replies/{reply}

Full ticket board members may create or replace a saved reply. Task boards return 400. People only; no passkey needed. Send If-Match: 0 to create using a fresh browser-minted srp_ ID, or the current version to replace it. At most 200 per board. Seal a fresh DEK to the board epoch key with seal ID <brd>|sr|<srp>|v<n>, where n is the next version. Frame two v2 parts: meta (JSON with name, at most 80 characters, within 491 bytes; the browser checks the character count) and body (composer text, at most 8 KB). The complete framed object is at most 16 KB. Names and text never reach K8 HQ as plaintext. Metered boards.saved_replies once per successful save.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
reply (path) requiredstring
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
wdek requiredstring

Response body (JSON)

FieldTypeDescription
bytes requiredinteger
epoch requiredinteger
id requiredstringPattern: ^srp_[0-9A-HJKMNP-TV-Z]{26}$.
object requiredstring
savedAt requiredstring
savedBy requiredstring
schemaVersion required1
version requiredinteger
wdek requiredstring

Responses

StatusBodyMeaning
200SavedReplyThe saved reply at its new version.
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+jsonThe sealed object exceeds 16 KB, the meta part exceeds 491 bytes of text, or the body exceeds 8 KB of text (plus seal overhead).
422application/problem+jsonThe board already has 200 saved replies, or a new ID has the wrong clock time.
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).

Delete a shared reply

DELETE/boards/{board}/saved-replies/{reply}

Full ticket board members only, signed in to K8 HQ. Task boards return 400. If-Match must name the current version. The deletion appears in board sync as deletedSavedReplies. Metered boards.saved_replies once per successful delete.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
reply (path) requiredstring
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.

Responses

StatusBodyMeaning
204Deleted.
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.
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).

Read a ticket board's satisfaction survey switch

GET/boards/{board}/survey

Whether replies that solve tickets may carry a satisfaction survey, and the setting's version. People only.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).

Response body (JSON)

FieldTypeDescription
on requiredboolean
version requiredintegerThe help desk settings record's version (0: never saved).

Responses

StatusBodyMeaning
200SurveySettingThe survey switch.
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).
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).

Turn a ticket board's satisfaction survey on or off

PUT/boards/{board}/survey

While it's on, a reply that solves a ticket may carry a satisfaction survey (Great, Okay, Not good) that the customer answers on a K8 HQ page (k8hq.page). Any member of the board may change it, signed in to the web app; tokens can't. Turning it on needs a passkey confirmation of exactly this change for the setting as read (x-k8hq-confirm: board.survey, design note 0013), and is made only if the setting is still at that version: 412 if it changed meanwhile (confirm again). Turning it off needs none. A change is metered as a board change and emits board.settings.changed naming survey.

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
on requiredboolean
{"on":true}

Response body (JSON)

FieldTypeDescription
on requiredboolean
version requiredintegerThe help desk settings record's version (0: never saved).

Responses

StatusBodyMeaning
200SurveySettingThe survey switch.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonSign in required (unauthenticated), or confirm this change with your passkey (confirmation_required, or step_up_required with action until confirmations are enforced): the answer carries the action to confirm.
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+jsonNot allowed (forbidden); or the confirmation isn't this session's (confirmation_invalid), or an API token or assistant asked (needs_person).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonThe confirmation is for a different change, or what it changes is different now (confirmation_mismatch), was already used (confirmation_used) or timed out (confirmation_expired).
412application/problem+jsonThe setting changed since it was read (version_mismatch): confirm again.
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).