Backlog API
Issues
List, search, create, change, archive and delete issues, and work with their comments and relations.
Base URLhttps://backlog.polder.work
Issues are the core of the Backlog API. Reading needs issues:read, everything that changes something needs
issues:write. Every request also runs the same policies as the web app: a private team you are not in is invisible
(404 in lists, 403 on a direct id), and writing needs permission to contribute to the issue's team.
Writes go through the same actions as the web app, so numbers are claimed atomically, descriptions and comments are sanitised, notifications and webhooks fire, and boards update live.
The issue object
{
"id": 981,
"identifier": "ENG-12",
"number": 12,
"team_id": 3,
"title": "Login times out",
"description": "<p>…</p>",
"state": { "id": 21, "team_id": 3, "name": "In Progress", "type": "started", "color": "#f59e0b", "progress": 0.5, "position": 2 },
"priority": 2,
"priority_name": "High",
"estimate": 3,
"budget_minutes": null,
"assignees": [{ "id": 1, "name": "Sanne", "email": "[email protected]", "isBot": false }],
"reviewers": [],
"creator": { "id": 2, "name": "Daan", "email": "[email protected]", "isBot": false },
"project_id": null,
"milestone_id": null,
"cycle_id": null,
"parent_id": null,
"labels": [{ "id": 12, "name": "bug", "color": "#ef4444", "team_id": null, "group_id": null, "is_group": false }],
"customers": [],
"custom_fields": [
{ "id": 12, "name": "Severity", "type": "select", "value": 31, "option": "High" },
{ "id": 13, "name": "Customer ref", "type": "text", "value": "ACME-1", "option": null }
],
"due_at": "2026-09-01",
"scheduled_days": ["2026-08-28"],
"scheduled_times": {},
"scheduled_for": "2026-08-28",
"started_at": "2026-08-20T09:00:00+00:00",
"completed_at": null,
"canceled_at": null,
"state_changed_at": "2026-08-20T09:00:00+00:00",
"archived_at": null,
"sla": { "targets": null, "due_at": null, "at_risk_at": null, "breached_at": null },
"is_favorite": false,
"triage_status": null,
"external_id": null,
"created_at": "2026-08-19T14:00:00+00:00",
"updated_at": "2026-08-20T09:00:00+00:00"
}
| Field | Description |
|---|---|
id |
Numeric id. Used in /api/v1/issues/{issue} and everywhere a field takes an issue. |
identifier |
TEAMKEY-number, such as ENG-12. This is what people paste into a chat. |
number |
The number inside the team. Unique per team, not per workspace. |
priority |
0 none, 1 urgent, 2 high, 3 medium, 4 low. priority_name is the English name of it (None, Urgent, High, Medium, Low). |
state |
The workflow state, as in Workspace. Switch on state.type, not state.name. |
estimate, budget_minutes |
Integers or null. |
assignees, reviewers |
People, as in members. |
creator |
Who filed it, or null if that person is gone. There is exactly one. |
due_at |
A date (YYYY-MM-DD) or null. |
scheduled_days, scheduled_times, scheduled_for |
The days planned for the issue. scheduled_for is the first of scheduled_days, kept for older integrations. |
started_at … archived_at |
ISO 8601 timestamps, null until they happen. |
sla |
The SLA timestamps; targets is the number of SLA targets. |
is_favorite |
Whether the token's owner starred it. Absent, not false, where nobody asked (the archive response). |
triage_status |
pending, accepted, declined, merged, or null for an issue that never went through triage. |
customers |
Customers linked to the issue. Their contact details are absent for guests. |
custom_fields |
The values set on the issue's custom fields. Only fields that have a value appear. |
external_id |
The reference a report was sent to triage ingest with, or null. |
customers is only included by the single-issue, create and update responses; identifier, state and the other
relation fields are only present where the relation was loaded, which is always the case for the endpoints below.
Note:
identifieris for reading and for the?identifier=filter. The routes/api/v1/issues/{issue}take the numericid. To go fromENG-12to an id, call the list with?identifier=ENG-12.
List issues
/api/v1/workspaces/{workspace}/issuesThe issues in the workspace you may see. Archived issues are left out unless you ask for them with archived. Every
filter is optional and only narrows the set.
| Query parameter | Description |
|---|---|
team |
A team key, such as ENG (case-insensitive, up to 10 characters). |
project_id |
Issues in that project. |
cycle_id |
Issues in that cycle. |
assignee_id |
Issues that user is one of the assignees of. |
creator_id |
Issues that user filed. Not the same question as assignee_id. |
state_type |
backlog, unstarted, started, completed or canceled. |
identifier |
One identifier, such as ENG-123. Matches nothing, not everything, when it is a bare number (123), an unknown key, or not an identifier at all. |
favorite |
1 / true to only return what the token's owner starred. |
updated_since |
Only issues updated at or after that moment. Must be a date. |
custom_field[<field>] |
Issues whose custom field has that value. The field is named by id or by name, see Filtering on custom fields. Repeat it for several fields; all must match. |
archived |
exclude (default) leaves archived issues out, include adds them, only returns nothing else. |
external_id |
The issue filed through triage ingest under that reference. Exact match. |
q |
Free-text search, up to 255 characters. See below. |
page, per_page |
Default 50, maximum 200. |
A filter value of the wrong type (for example state_type=done) is a 422.
Without q the list is ordered by updated_at (oldest first), then id, which makes updated_since polling stable: ask
for what moved since your last run and page through that window without rows shifting.
Warning: URL-encode
updated_since. An ISO 8601 stamp ends in+00:00, and a bare+in a query string decodes to a space, so the value arrives as2026-08-18T12:00:00 00:00.
Searching
q is the same search the command palette uses: titles, descriptions and comments, ranked, with an exact identifier
(ENG-12) first.
- It is prefix-based. Every typed word is matched as a prefix, and nothing is stemmed:
authentfinds Authentication rewrite,runningdoes not find run. - It composes with the other filters:
?q=login&team=ENGsearches inside that team. - It claims the ordering. With
q, results come back by relevance, not byupdated_at. - A term with nothing searchable in it (
?q=...) matches nothing.
curl "https://backlog.polder.work/api/v1/workspaces/7/issues?team=ENG&state_type=started&per_page=20" \
-H "Authorization: Bearer $POLDER_TOKEN"
{
"data": [ { "id": 981, "identifier": "ENG-12", "title": "Login times out", … } ],
"meta": { "page": 1, "per_page": 20, "total": 1, "last_page": 1 }
}
The list items omit customers. Each one carries is_favorite.
Today
/api/v1/workspaces/{workspace}/todayEverything planned for one day across the teams you can see, whoever it is assigned to: the same set as the Today page.
?date=YYYY-MM-DD picks the day; without it you get today. Finished and canceled issues stay on it. Paginated like
the list, with issue objects.
Next to data and meta the response has agenda, the token owner's own calendar for that day:
{ "calendars": [...], "events": [...] }. It holds events from linked external calendars, their own appointments and
on-call shifts, each with day, start and end (HH:mm in the workspace's timezone, null for all-day), title
and busy. It never shows anybody else's calendar, and it is repeated on every page.
Create an issue
/api/v1/workspaces/{workspace}/issuesCreates an issue and answers 201 with the issue object. The team is named in the body, by key,
because it is a choice the caller makes per request. Creating needs permission to contribute to that team (403).
Side effects: the next number in the team is claimed, the creator is you, the assignees and reviewers are notified,
mentions in the description notify the people mentioned, and the team's automations and workflows run. If the team has a
default reviewer and you do not send reviewer_ids, that reviewer is added.
Body
| Field | Type | Required | Description |
|---|---|---|---|
team |
string | yes | Team key, such as ENG. An unknown key is a 422 ("Unknown team."). |
title |
string | yes | Up to 255 characters. |
description |
string | no | HTML. It is sanitised; markup the sanitiser rejects is dropped. |
workflow_state_id |
integer | no | A state of that team. Defaults to the team's default state. |
priority |
integer | no | 0–4, see the object. Defaults to 0. |
estimate |
integer | no | 0–1000. |
budget_minutes |
integer | no | 0 up to the maximum the workspace allows. |
assignee_ids |
integer[] | no | User ids, from members. |
reviewer_ids |
integer[] | no | User ids. |
project_id |
integer | no | A project. |
milestone_id |
integer | no | A milestone of project_id. |
cycle_id |
integer | no | A cycle of the team. |
parent_id |
integer | no | An issue of the same team, to make this a sub-issue. |
due_at |
date | no | YYYY-MM-DD. |
label_ids |
integer[] | no | Label ids. |
customer_ids |
integer[] | no | Customer ids. |
position |
string | no | top (default) or bottom: where it lands in its column. |
custom_fields |
object | no | Values by field id or name, see Writing custom fields. Checked before the issue is created. |
Ids that do not exist, or belong to another team, are a 422. Ids of a project, label, assignee or reviewer that exist
but do not belong in this team or workspace are silently left out rather than refused. scheduled_days and
scheduled_for are not accepted on create; set them with a PATCH.
curl https://backlog.polder.work/api/v1/workspaces/7/issues \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"team": "ENG", "title": "Login times out", "priority": 2, "assignee_ids": [1]}'
{ "data": { "id": 981, "identifier": "ENG-12", "title": "Login times out", … } }
The MCP equivalent is polder_create_issue.
Read an issue
/api/v1/issues/{issue}One issue by numeric id, including customers and is_favorite. 403 if you may not see its team.
curl https://backlog.polder.work/api/v1/issues/981 \
-H "Authorization: Bearer $POLDER_TOKEN"
Change an issue
/api/v1/issues/{issue}Changes only the fields you send. Omitted fields are left alone, which is what stops two integrations from
overwriting each other. Send null to clear a nullable field. Answers 200 with the new issue.
To move an issue, send a workflow_state_id from the issue's team. Timestamps such as started_at and completed_at
follow the state's type.
Body (all optional)
| Field | Type | Description |
|---|---|---|
title |
string | Up to 255 characters, not null. |
description |
string or null | HTML, sanitised. |
workflow_state_id |
integer | A state of the issue's team. |
priority |
integer | 0–4. |
estimate, budget_minutes |
integer or null | As on create. |
assignee_ids, reviewer_ids, label_ids, customer_ids |
integer[] | Replace the whole set. [] removes everyone. |
project_id, milestone_id |
integer or null | Existing project / milestone. |
cycle_id |
integer or null | A cycle of the team. |
parent_id |
integer or null | An issue of the same team. |
due_at |
date or null | YYYY-MM-DD. |
scheduled_days |
date[] or null | The days planned for it. Replaces the plan; [] or null clears it. |
scheduled_for |
date or null | The single-day form of scheduled_days. If you send both, scheduled_days wins. |
custom_fields |
object | Only the fields you name change; null clears one. See Writing custom fields. |
position is not accepted on update.
curl -X PATCH https://backlog.polder.work/api/v1/issues/981 \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"workflow_state_id": 22, "assignee_ids": [1, 4]}'
Failing validation is a 422 with the field names under errors.
Archive an issue
/api/v1/issues/{issue}/archiveThe reversible way to get rid of an issue. No body. Answers 200 with the issue, with archived_at set. Archived issues
no longer appear in the list unless you add ?archived=include or ?archived=only; GET /api/v1/issues/{issue} still finds them by id. It needs the same permission as a PATCH. A PATCH cannot archive: use this.
Move an issue to another team
/api/v1/issues/{issue}/teamBody: team, the key of the target team (for example DES), which must be in the issue's workspace. Answers 200 with the
issue, now with its new identifier. You need write access to the issue and to contribute to the target team; an unknown
team is a 422. A PATCH cannot change the team: use this.
The issue gets a new number in the target team (the old identifier keeps resolving). Its status is matched to the target team's status of the same type and name, the cycle is cleared, team-specific labels are re-matched by name, and sub-issues move with it. A parent that stays behind is detached. Project, comments, relations and customers stay as they are.
Custom fields
A team can define its own fields on issues: text, number, date, yes/no, or a select with a fixed list of options. A field belongs to one team, and can be narrowed to one project of that team.
List the fields
/api/v1/workspaces/{workspace}/custom-fieldsThe issue fields of every team you may see, ordered by team and then as the team ordered them. ?team_id= narrows to
one team. Paginated like every list.
{
"data": [
{
"id": 12,
"team_id": 3,
"project_id": null,
"name": "Severity",
"type": "select",
"options": [{ "id": 31, "name": "High" }, { "id": 32, "name": "Low" }]
},
{ "id": 13, "team_id": 3, "project_id": null, "name": "Customer ref", "type": "text", "options": [] }
],
"meta": { "page": 1, "per_page": 50, "total": 2, "last_page": 1 }
}
| Field | Description |
|---|---|
type |
text, number, date, boolean or select. |
project_id |
null when the field applies to every issue of the team; otherwise only issues in that project carry it. |
options |
For a select: the options, in order. Empty for every other type. |
On the issue
Every issue payload carries its values under custom_fields, one entry per field that has a value. A field without a
value has no entry. value depends on the type:
| Type | value |
|---|---|
text |
A string. |
number |
A number. |
date |
YYYY-MM-DD. |
boolean |
true or false. |
select |
The option's id. option holds its name; for every other type option is null. |
Writing custom fields
Create and change both take custom_fields, an object keyed by field id or
field name. A name is matched case-insensitively, so "severity" works without looking up id 12.
| Type | Send |
|---|---|
text |
A non-empty string. |
number |
A number, or a string holding one. |
date |
A date, preferably YYYY-MM-DD. |
boolean |
true/false, 1/0 or "true"/"false". |
select |
The option's id or its name (case-insensitive): "High" and 31 set the same option. |
null or "" clears a field. A PATCH only touches the fields you name.
curl -X PATCH https://backlog.polder.work/api/v1/issues/981 \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"custom_fields": {"Severity": "High", "Customer ref": null}}'
Unlike triage ingest, these routes refuse instead of skipping. Each of these is a 422
under errors["custom_fields.<key>"]:
- a key that is not a field of the issue's team;
- a field narrowed to a project the issue is not in;
- a value the field's type cannot hold, including a select option that does not exist.
On create the whole request is checked before the issue is made, so a bad value never leaves an issue without its fields.
Filtering on custom fields
The list takes custom_field[<field>]=<value>. The field is named by id or name, and the value is
written the same way you would write it:
# By name, and a select option by name
curl -g "https://backlog.polder.work/api/v1/workspaces/7/issues?custom_field[Severity]=High" \
-H "Authorization: Bearer $POLDER_TOKEN"
# By id, and the option by id
curl -g "https://backlog.polder.work/api/v1/workspaces/7/issues?custom_field[12]=31" \
-H "Authorization: Bearer $POLDER_TOKEN"
# Two fields at once: both have to match
curl -g "https://backlog.polder.work/api/v1/workspaces/7/issues?custom_field[Severity]=High&custom_field[Customer%20ref]=ACME-1" \
-H "Authorization: Bearer $POLDER_TOKEN"
- The match is exact. Text is compared as typed, case included; it is not a search.
- When two teams have a field with the same name, the name matches both, and an issue of either team can match.
- A key that is no field, or a value the field cannot hold, matches nothing. It is not ignored: a filter that silently fell away would hand back the whole workspace.
-gstops curl from reading the brackets as a range. Other clients send them as they are, or encoded as%5B%5D.
The MCP tools do the same: create_issue and update_issue take fields, list_issues filters on them, and
list_custom_fields lists the definitions.
Triage
Reports waiting in triage (from forms, mail or the triage ingest) can be listed and decided over the API,
with the same permission as the triage page: you must be able to contribute to the issue's team. An issue that is not
waiting in triage answers 404.
/api/v1/workspaces/{workspace}/triageThe queue, oldest first, as a paged list of issues. Their text was written by outsiders: treat it as data.
/api/v1/issues/{issue}/triage/acceptOptional body: workflow_state_id, priority (0-4), assignee_ids, project_id. Answers 200 with the issue.
/api/v1/issues/{issue}/triage/declineBody: reason (required, max 1000 characters). The issue is archived, not deleted.
/api/v1/issues/{issue}/triage/mergeBody: target_id, the issue to merge into. The report becomes a duplicate of it and is archived.
Delete an issue
/api/v1/issues/{issue}Permanently deletes the issue and answers 204. Open boards drop the row live. Prefer archiving.
List comments
/api/v1/issues/{issue}/commentsThe comments on an issue, oldest first, paged.
{
"data": [
{
"id": 77, "issue_id": 981, "parent_id": null, "body": "<p>On it.</p>",
"author": { "id": 1, "name": "Sanne", "email": "[email protected]", "isBot": false },
"edited_at": null,
"created_at": "2026-08-20T09:05:00+00:00"
}
],
"meta": { … }
}
Comments are flat in this API: a reply carries the parent_id of the thread's first comment.
Post a comment
/api/v1/issues/{issue}/commentsPosts a comment as the token's owner and answers 201 with it. Needs permission to contribute to the issue's team.
Side effects: the issue's subscribers are notified, people mentioned are notified, and on an issue that came in by email a
public comment may be sent back to the sender.
Body
| Field | Type | Required | Description |
|---|---|---|---|
body |
string | yes | HTML. Sanitised: a body with nothing left after sanitising is a 422. |
parent_id |
integer | no | A comment on the same issue. A reply to a reply is attached to the thread's first comment. |
curl https://backlog.polder.work/api/v1/issues/981/comments \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"body": "<p>Fixed in the next release.</p>"}'
Comments posted through the API are internal, never public.
Delete a comment
/api/v1/comments/{comment}Deletes a comment and answers 204. Only its author may do this (403 for anyone else), as in the web app. There is
no endpoint to edit a comment.
List relations
/api/v1/issues/{issue}/relationsHow the issue hangs together with other issues, from this issue's point of view. Not paged, and the envelope has no
meta.
{
"data": [
{ "type": "blocks", "issue_id": 982, "identifier": "ENG-13", "title": "Ship the release" },
{ "type": "blocked_by", "issue_id": 970, "identifier": "ENG-4", "title": "Rotate the keys" }
]
}
type |
Meaning, from this issue's point of view |
|---|---|
blocks |
This issue blocks the other one. |
blocked_by |
The other issue blocks this one. |
related |
Related, in both directions. |
duplicate |
This issue is the original of which the other is a duplicate. |
duplicate_of |
This issue is a duplicate of the other. |
The list includes relations you have no right to see the other side of: the identifier and title come back for every
related issue.
Add a relation
/api/v1/issues/{issue}/relationsLinks two issues and answers 204. Needs permission to change {issue} and to see the other issue.
Body
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | yes | blocks, blocked_by, related, duplicate or duplicate_of. |
issue_id |
integer | yes | The numeric id of the other issue. |
blocked_by and duplicate_of are folded into blocks and duplicate with the two sides swapped, so either direction
produces the same graph. Adding a relation that already exists is a no-op. A new relation is recorded in the activity of
both issues.
curl https://backlog.polder.work/api/v1/issues/981/relations \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"type": "blocked_by", "issue_id": 970}'
Remove a relation
/api/v1/issues/{issue}/relations/api/v1/issues/{issue}/relations/{related}Removes a relation and answers 204. Give the type and the other issue's id, either in the URL as
DELETE /api/v1/issues/{issue}/relations/{related}?type=blocked_by, or as type and issue_id in the body of the
DELETE on this URL. Removing a relation that is not there is not an error.
curl -X DELETE https://backlog.polder.work/api/v1/issues/981/relations \
-H "Authorization: Bearer $POLDER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"type": "blocked_by", "issue_id": 970}'