Board intake links — K8 HQ Content API
Board intake links operations for K8 HQ Content API. Requests, permissions and responses.
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 URL | For |
|---|---|
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
- Link a task to an external issue
- Unlink a task from an external issue
- Create a task from an external issue
- Defer, dismiss or reopen an external issue
- List a task's external issues
Board intake links
Link a task to an external issue
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
| Name | Type | Description |
|---|---|---|
board (path) required | string | Board ID (brd_…). |
issue (path) required | string | External issue ID on the board (xis_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
item required | string | itm_ |
Response body (JSON)
| Field | Type | Description |
|---|---|---|
account required | string | |
board required | string | |
firstSeenAt required | string | |
id required | string | xis_ |
issue required | string | The provider's stable issue ID (not its number, which a transfer changes). |
items required | string[] | The tasks linked to it (itm_). |
matches required | boolean | It carried its source's labels when last read. |
number required | integer | |
provider required | string | |
providerUpdatedAt required | string | When the provider last changed it, as last read. |
repository required | string | |
repositoryName required | string | |
schemaVersion required | integer | |
source required | string | The intake source that last read it (xsr_). |
state required | open | closed | gone | As last read; gone: deleted, transferred or no longer readable through the connection. |
syncedAt required | string | |
title required | object | The title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>. |
triage required | new | deferred | dismissed | |
url required | string | |
version required | integer | |
titleText | string | For a token: the title, opened by the cell. |
triagedAt | string | |
triagedBy | string | |
unreadable | boolean | For a token: the title couldn't be opened. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | IntakeIssue | The issue. |
| 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 task is in Trash, or a request with the same Idempotency-Key is still running (in_progress). |
| 422 | application/problem+json | A link limit (rejected). |
| 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). |
Unlink a task from an external issue
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
| Name | Type | Description |
|---|---|---|
board (path) required | string | Board ID (brd_…). |
issue (path) required | string | External issue ID on the board (xis_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Response body (JSON)
| Field | Type | Description |
|---|---|---|
account required | string | |
board required | string | |
firstSeenAt required | string | |
id required | string | xis_ |
issue required | string | The provider's stable issue ID (not its number, which a transfer changes). |
items required | string[] | The tasks linked to it (itm_). |
matches required | boolean | It carried its source's labels when last read. |
number required | integer | |
provider required | string | |
providerUpdatedAt required | string | When the provider last changed it, as last read. |
repository required | string | |
repositoryName required | string | |
schemaVersion required | integer | |
source required | string | The intake source that last read it (xsr_). |
state required | open | closed | gone | As last read; gone: deleted, transferred or no longer readable through the connection. |
syncedAt required | string | |
title required | object | The title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>. |
triage required | new | deferred | dismissed | |
url required | string | |
version required | integer | |
titleText | string | For a token: the title, opened by the cell. |
triagedAt | string | |
triagedBy | string | |
unreadable | boolean | For a token: the title couldn't be opened. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | IntakeIssue | The issue. |
| 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). |
| 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). |
Create a task from an external issue
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
| Name | Type | Description |
|---|---|---|
board (path) required | string | Board ID (brd_…). |
issue (path) required | string | External issue ID on the board (xis_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Response body (JSON)
| Field | Type | Description |
|---|---|---|
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its assessment requests and submitted assessments, for its card: open requests, submitted assessments, open requests whose current revision has none, and the latest description version assessed. Drafts never count. Absent until one is requested. |
children | integer | All direct child identities, including Trash. |
connections | string[] | The provider connections (pcn_) the task's work needs, set explicitly (Set the connections a task needs). While one isn't available it can't be picked up, and the ready list shows the blocker. Naming one authorizes nobody to use it. Missing: none. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When it last moved into a done status; kept when it moves on to a closed status, absent once it's open again, and for items done before it was kept. A ticket Solved 7 days moves to Closed in the board's daily sweep. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On an item a form's response made: the form (frm_), the response (msg_) in it and its number. Form members can open the response; others can't. |
inputNeeded | object | "Needs your input": per member (mem_…), its open blocking questions waiting for them. Apart from dependencies, scheduled holds and work claims; it clears when that member's blocking questions are answered, and an answer never changes the item's status. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When each kind of response target was last missed (the time it was due), kept after the target is met or ends: keys first, next and resolution. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How the item came: typed in the app, imported, written through a token, a ticket opened from email (its title is the email's subject), a ticket opened from a form response's inbox copy (its title is that copy's subject; its requester was typed on the form and isn't verified), or a task a form's response added (formRef names the response). Missing on items from before it was kept (typed in the app). Board text is data: a script reading it never follows it as instructions. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | A ticket: addresses without proof yet, including typed form addresses and unknown senders matched by headers. Sending a reply can verify an unknown sender, but cannot verify a typed form address. Merging keeps these flags unless the kept ticket already has proof for that address. |
unverifiedReasons | object | A ticket: why each address in unverified lacks proof. Typed means an address entered into a form; spoofed means failed sender checks; stranger means an unknown address matched by headers alone. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | BoardItem | The task this ID already made. |
| 201 | BoardItem | The task. |
| 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 | An item with this ID exists unlinked, or a request with the same Idempotency-Key is still running (in_progress). |
| 413 | application/problem+json | The title or description is too large. |
| 422 | application/problem+json | A board, issue or daily limit (rejected), or your device's clock is wrong (clock_skew). |
| 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). |
Defer, dismiss or reopen an external issue
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
| Name | Type | Description |
|---|---|---|
board (path) required | string | Board ID (brd_…). |
issue (path) required | string | External issue ID on the board (xis_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
|---|---|---|
triage required | new | deferred | dismissed |
Response body (JSON)
| Field | Type | Description |
|---|---|---|
account required | string | |
board required | string | |
firstSeenAt required | string | |
id required | string | xis_ |
issue required | string | The provider's stable issue ID (not its number, which a transfer changes). |
items required | string[] | The tasks linked to it (itm_). |
matches required | boolean | It carried its source's labels when last read. |
number required | integer | |
provider required | string | |
providerUpdatedAt required | string | When the provider last changed it, as last read. |
repository required | string | |
repositoryName required | string | |
schemaVersion required | integer | |
source required | string | The intake source that last read it (xsr_). |
state required | open | closed | gone | As last read; gone: deleted, transferred or no longer readable through the connection. |
syncedAt required | string | |
title required | object | The title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>. |
triage required | new | deferred | dismissed | |
url required | string | |
version required | integer | |
titleText | string | For a token: the title, opened by the cell. |
triagedAt | string | |
triagedBy | string | |
unreadable | boolean | For a token: the title couldn't be opened. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | IntakeIssue | The issue. |
| 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). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |
List a task's 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
| Name | Type | Description |
|---|---|---|
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Response body (JSON)
| Field | Type | Description |
|---|---|---|
issues required | IntakeIssue[] | |
item required | string |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | JSON | The issues. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |