K8 HQ

Board intake links — K8 HQ Content API

Board intake links 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.

Act on external issues: defer, dismiss, make a task from one, or link tasks to them.

Deciding on external issues on a task board's intake (board item #186): defer, dismiss, create a task from one, link existing tasks (many to many). None of it authorizes agents.

Base URL

Base URLFor
https://api.k8hq.com/v1API tokens and the K8 HQ web app

Endpoints

Board intake links

Link a task to an external issue

POST/boards/{board}/intake/issues/{issue}/links

Links an existing task on the board to the issue (many to many: 50 tasks an issue, 20 issues a task). Already linked: changes nothing. The task's record, readiness, owner and claims are unchanged. For anyone who may change the board.

For API tokens with boards:write and the web app.

Parameters

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

Request body (JSON)

FieldTypeDescription
item requiredstringitm_

Response body (JSON)

FieldTypeDescription
account requiredstring
board requiredstring
firstSeenAt requiredstring
id requiredstringxis_
issue requiredstringThe provider's stable issue ID (not its number, which a transfer changes).
items requiredstring[]The tasks linked to it (itm_).
matches requiredbooleanIt carried its source's labels when last read.
number requiredinteger
provider requiredstring
providerUpdatedAt requiredstringWhen the provider last changed it, as last read.
repository requiredstring
repositoryName requiredstring
schemaVersion requiredinteger
source requiredstringThe intake source that last read it (xsr_).
state requiredopen | closed | goneAs last read; gone: deleted, transferred or no longer readable through the connection.
syncedAt requiredstring
title requiredobjectThe title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>.
triage requirednew | deferred | dismissed
url requiredstring
version requiredinteger
titleTextstringFor a token: the title, opened by the cell.
triagedAtstring
triagedBystring
unreadablebooleanFor a token: the title couldn't be opened.

Responses

StatusBodyMeaning
200IntakeIssueThe issue.
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 task is in Trash, or a request with the same Idempotency-Key is still running (in_progress).
422application/problem+jsonA link limit (rejected).
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).

Unlink a task from an external issue

DELETE/boards/{board}/intake/issues/{issue}/links/{item}

Removes the link. Not linked: changes nothing. For anyone who may change the board.

For API tokens with boards:write and the web app.

Parameters

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

Response body (JSON)

FieldTypeDescription
account requiredstring
board requiredstring
firstSeenAt requiredstring
id requiredstringxis_
issue requiredstringThe provider's stable issue ID (not its number, which a transfer changes).
items requiredstring[]The tasks linked to it (itm_).
matches requiredbooleanIt carried its source's labels when last read.
number requiredinteger
provider requiredstring
providerUpdatedAt requiredstringWhen the provider last changed it, as last read.
repository requiredstring
repositoryName requiredstring
schemaVersion requiredinteger
source requiredstringThe intake source that last read it (xsr_).
state requiredopen | closed | goneAs last read; gone: deleted, transferred or no longer readable through the connection.
syncedAt requiredstring
title requiredobjectThe title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>.
triage requirednew | deferred | dismissed
url requiredstring
version requiredinteger
titleTextstringFor a token: the title, opened by the cell.
triagedAtstring
triagedBystring
unreadablebooleanFor a token: the title couldn't be opened.

Responses

StatusBodyMeaning
200IntakeIssueThe issue.
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).
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).

Create a task from an external issue

POST/boards/{board}/intake/issues/{issue}/tasks

Creates a task linked to the issue in one change, as creating an item does: a person's browser sends the sealed version, a token sends title and description (no title: the issue's). The task has no owner and isn't Ready for agent until someone entitled marks it so. Its ID is the caller's: the same ID again answers the task it made (200), never a second task. Several tasks may be made from one issue (50 at most).

For API tokens with boards:write and the web app.

Parameters

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

Response body (JSON)

FieldTypeDescription
assignees requiredstring[]
bytes requiredinteger
comments requiredinteger
createdAt requiredstring
createdBy requiredstring
head requiredintegerIts current version's number.
headEpoch requiredinteger
headWdek requiredstring
id requiredstring
kind requiredtask | ticket
labels requiredstring[]
links requiredinteger
number requiredinteger
order requiredstringIts fractional index in its column.
priority requiredlow | normal | high | urgent
status requiredstring
titleCt requiredstringThe head version's sealed title part (seal ID <item>|v<head>).
updatedAt requiredstring
updatedBy requiredstring
version requiredintegerThe record's version: If-Match for its fields.
assessmentsAssessmentSummaryIts 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.
childrenintegerAll direct child identities, including Trash.
connectionsstring[]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.
createdAttributionAttributionWhat authorized its creation. Absent on items created before it was kept.
doneAtstringWhen 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.
duestring
firstReplyAtstringWhen the ticket's first reply went out.
firstReplyBystringThe member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app.
formRefobjectOn 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.
inputNeededobject"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.
lastInboundAtstringA ticket: when the requester or a verified participant last wrote.
lastMessagestringA ticket: its newest message (msg_) in the linked inbox.
lastOutboundAtstringA ticket: when a reply last went out.
lastOutboundBystringA ticket: the member whose reply from the board went out last (none for a reply from a mail app).
mergedstring[]Tickets merged into this one (itm_): its timeline shows their messages and notes.
mergedIntostringA ticket merged into another (itm_): its new mail lands there.
messagesintegerA ticket: how many messages it has.
missedobjectWhen 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.
openQuestionsintegerIts questions still waiting for an answer.
ownerstringA task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none.
parentstringSame-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem.
participantsstring[]A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge.
purgingstringPermanent deletion is in progress; hierarchy actions are unavailable.
questionsintegerQuestions asked on it, withdrawn ones included.
ratingobjectTickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed.
readyBoardReadiness
replyingobjectA ticket: who has the reply box open (member to since); entries older than 10 minutes don't count.
requesterstringA ticket: the address that opened it (lower case).
resolveBoardTarget
respondBoardTarget
sendingobjectA ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass).
solvesintegerHow many times the ticket moved into a done status (Solved).
sourceperson | import | token | email | formHow 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.
tagsstring[]The organization tags on it (tag_ IDs, sorted); absent when it has none.
titlestringTokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted).
trashGroupstringThe family Trash operation this item belongs to, if any.
trashedAtstring
unreadablebooleanTokens only: the title's seal didn't open (damaged, or bound to another item).
unverifiedstring[]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.
unverifiedReasonsobjectA 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.
updatedAttributionAttributionWhat authorized its latest change. Absent on items last changed before it was kept.

Responses

StatusBodyMeaning
200BoardItemThe task this ID already made.
201BoardItemThe task.
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+jsonAn item with this ID exists unlinked, or a request with the same Idempotency-Key is still running (in_progress).
413application/problem+jsonThe title or description is too large.
422application/problem+jsonA board, issue or daily limit (rejected), or your device's clock is wrong (clock_skew).
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).

Defer, dismiss or reopen an external issue

PUT/boards/{board}/intake/issues/{issue}/triage

Sets its triage: deferred, dismissed or new. Nothing is written to the provider. For anyone who may change the board.

For API tokens with boards:write and the web app.

Parameters

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

Request body (JSON)

FieldTypeDescription
triage requirednew | deferred | dismissed

Response body (JSON)

FieldTypeDescription
account requiredstring
board requiredstring
firstSeenAt requiredstring
id requiredstringxis_
issue requiredstringThe provider's stable issue ID (not its number, which a transfer changes).
items requiredstring[]The tasks linked to it (itm_).
matches requiredbooleanIt carried its source's labels when last read.
number requiredinteger
provider requiredstring
providerUpdatedAt requiredstringWhen the provider last changed it, as last read.
repository requiredstring
repositoryName requiredstring
schemaVersion requiredinteger
source requiredstringThe intake source that last read it (xsr_).
state requiredopen | closed | goneAs last read; gone: deleted, transferred or no longer readable through the connection.
syncedAt requiredstring
title requiredobjectThe title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>.
triage requirednew | deferred | dismissed
url requiredstring
version requiredinteger
titleTextstringFor a token: the title, opened by the cell.
triagedAtstring
triagedBystring
unreadablebooleanFor a token: the title couldn't be opened.

Responses

StatusBodyMeaning
200IntakeIssueThe issue.
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).
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 a task's external issues

GET/boards/{board}/items/{item}/external-issues

The external issues linked to the task. For anyone on the board.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).

Response body (JSON)

FieldTypeDescription
issues requiredIntakeIssue[]
item requiredstring

Responses

StatusBodyMeaning
200JSONThe issues.
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).