Issu API
Any AI or app that can call an HTTP API can work in Issu as a member of your organization: it reads and changes issues, adds screenshots to them, posts comments, keeps docs and test cases, and hears about changes through webhooks.
Getting started
An organization owner or admin creates an application on the organization's Applications page and gives it a name and a role. Its token starts with itk_ and is shown once, so copy it then. You can regenerate or revoke it on the same page. Keep it secret. Contact us to arrange AI and app connections for your plan.
Base URL:
https://focused-wildebeest-734.convex.site/api/v1
Send the token on every request. It decides who is acting and which projects they can see, and any user or organization id in a request body is ignored.
curl https://focused-wildebeest-734.convex.site/api/v1/projects \
-H "Authorization: Bearer $ISSU_TOKEN"
Before changing anything, call GET /projects/:key. It returns the project's valid status names, labels and members, so you can set fields by name.
Endpoints
:key is the project key and is not case-sensitive. :number is the number in an issue or test key, such as 42 in SHOP-42.
| Method and path | What it does |
|---|---|
GET /projects | Projects this token can access |
GET /projects/:key | Project details, statuses, labels and members |
GET, POST /projects/:key/issues | List or create issues |
GET, PATCH, DELETE /projects/:key/issues/:number | Read, update or delete an issue |
GET, POST …/issues/:number/comments | List or add comments. A comment body is Markdown and renders in the app. To mention a project member write [@Name](mention:<userId>), with the id from the members list of GET /projects/:key. The server rewrites the label to the member's current name and notifies them; an invalid id becomes plain @Name text, the first 20 newly mentioned valid people are notified (on edit, only people not already mentioned before), mentioning yourself notifies no one, and people beyond the 20th get no notification for that comment. |
PATCH, DELETE …/issues/:number/comments/:commentId | Edit or delete a comment. Only the comment's own author can, so a token edits only the comments it posted. |
GET …/issues/:number/children | List sub-issues |
GET …/issues/:number/children?frontier=true | Only sub-issues that are open, unblocked and unassigned |
GET, POST …/issues/:number/relations | List or add blocks, duplicate or related links |
DELETE …/issues/:number/relations/:relationId | Remove a link |
GET, POST …/issues/:number/links | List the docs and test cases linked to an issue, or link one. Send {"doc": "<docId>"} or {"test": <number>}, exactly one, from the same project. Both or neither, a non-numeric test, a malformed or unknown doc id, or an existing link returns 400; an unknown issue or test number returns 404. |
DELETE …/issues/:number/links/:linkId | Unlink a doc or test case. An unknown issue, or a linkId that is not one of its links, returns 404. |
GET /projects/:key/cycles | List cycles. Create and date cycles in the app. |
POST /projects/:key/labels | Create a label: {"name": "needs-triage", "color": "#3f6f9f"}. The color is optional (grey). A name that already exists returns that label with "created": false. |
PATCH, DELETE /projects/:key/labels/:label | Rename or recolor a label, or delete it. :label is its name or id. Deleting removes it from every issue. |
POST /projects/:key/statuses | Add a status at the end of the board: {"name": "In Review", "type": "started"}. type is backlog, unstarted, started, completed or canceled. |
PATCH, DELETE /projects/:key/statuses/:status | Rename, recolor or retype a status, or delete it. A status with issues needs ?moveTo=<status> to delete, and the last one can't be deleted. |
GET, POST /projects/:key/docs | List or create docs |
GET, PATCH, DELETE /projects/:key/docs/:id | Read, update or delete a doc |
GET, POST /projects/:key/tests | List or create test cases |
GET, PATCH, DELETE /projects/:key/tests/:number | Read, update or delete a test case |
POST /uploads | Store an image of up to 10 MB |
Issue fields
title is required on create. Everything else is optional.
| Field | Value |
|---|---|
title | Text |
description | Markdown |
status | A status name from the project, such as In Progress |
priority | high, med or low |
labels | A list of label names. An update replaces the whole list. |
assignee | A member's email or name. null clears it. |
cycle | A cycle number or "active". null clears it. |
parent | The parent issue's number. null detaches it. Sub-issues go one level deep. |
startDate, endDate | Dates as YYYY-MM-DD. null clears them. |
curl -X PATCH https://focused-wildebeest-734.convex.site/api/v1/projects/shop/issues/42 \
-H "Authorization: Bearer $ISSU_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status":"In Progress","assignee":"Build Bot","labels":["Bug"]}'
Docs
Send title, body, format and category. format is markdown (the default) or html. An html body is a whole web page, with its own styles and scripts. Issu shows it in a sandbox that has no access to the app or the viewer's account. category is one of prd, spec, architecture, api, runbook, guide or adr, and null clears it. A body can be up to 900 KB.
curl -X POST https://focused-wildebeest-734.convex.site/api/v1/projects/shop/docs \
-H "Authorization: Bearer $ISSU_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"Q3 report","format":"html","body":"<!doctype html><h1>Q3</h1>"}'
Test cases
Send name, status (passed, failed, blocked or untested), description and testData, the last two in Markdown. The tester is set in the app, not over the API.
curl -X PATCH https://focused-wildebeest-734.convex.site/api/v1/projects/shop/tests/5 \
-H "Authorization: Bearer $ISSU_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status":"passed"}'
Uploads
Send the raw image bytes as the request body, with the file's Content-Type. The response holds a permanent url to embed as  in an issue description, a comment, a doc or test data.
curl -X POST https://focused-wildebeest-734.convex.site/api/v1/uploads \
-H "Authorization: Bearer $ISSU_TOKEN" \
-H "Content-Type: image/png" \
--data-binary @shot.png
This endpoint takes an application token (itk_…). An AI connected over MCP uses the create_upload_url tool instead (see MCP).
Webhooks
Set a webhook URL and choose events for an application on the Applications page. Events are issue, doc and test, each with .created, .updated and .deleted. An app's own changes don't trigger its own webhook.
Each delivery is a JSON POST of {"event","createdAt","data"} with these headers:
X-Issu-Event: the event nameX-Issu-Delivery: an id for this deliveryX-Issu-Signature:sha256=followed by an HMAC of the raw body, made with the application's webhook secret. Check it before you trust a delivery.
Links to the app
Every issue, doc and test case you read or write comes back with a url: the page that opens it in Issu, such as https://issu.app/acme/project/shop/42. Hand it to a person and they land on that item after signing in, if they can open the project. MCP tools return the same field.
MCP
AI assistants that speak MCP can work in Issu without a token to copy. You sign in once, choose one or more organizations and an access level, and the assistant gets the tools below, acting as you. The server is at https://issu.app/mcp.
Claude Code:
claude mcp add --transport http issu https://issu.app/mcp
Claude Desktop and claude.ai: open Settings → Connectors → Add custom connector and enter https://issu.app/mcp. Other MCP clients that support remote servers and OAuth only need that URL.
The consent page asks which organizations to connect, and whether to allow Read only or Read & write. A Read only connection never sees the write tools. Each connection covers the organizations you ticked (up to 20) and only the projects you can already open. Revoke it any time under Settings → Connected apps; the next call fails.
| Tool | What it does |
|---|---|
list_orgs | The organizations this connection covers |
list_projects, get_project | Projects, and a project's statuses, labels and members |
search_issues, get_issue, next_issues | Find issues, read one with comments, relations and linked docs and tests, list the sub-issues ready to pick up |
list_cycles, list_docs, get_doc, list_tests, get_test | Read cycles, docs and test cases, with the issues linked to each |
create_issue, update_issue | Write issues. A new issue goes into the project's active cycle, when there is one. |
add_comment, update_comment, delete_comment, add_relation, remove_relation | Comment on an issue (edit or delete your own comments) and relate issues |
link_issue, unlink_issue | Link an issue to a doc (doc_id) or a test case (test_number) in the same project, or remove the link (link_id) |
create_doc, update_doc, create_test, update_test | Write docs and test cases |
create_label, update_label, delete_label, create_status, update_status, delete_status | Set up a project's labels and statuses. Only org owners and admins can use them, as in project Settings. |
create_upload_url | Get a one-time URL to upload an image (up to 10 MB). POST the file to it with curl, then embed the returned url as  in an issue, comment, doc or test case. The URL works once and expires in 10 minutes. |
The first group is available to both access levels; everything from create_issue down needs Read & write. Every tool except list_orgs takes an optional org (an organization slug). It is required when the connection covers more than one organization. The delete tools are delete_comment (only your own comments), delete_label and delete_status. Issues, docs and test cases can't be deleted over MCP. Connecting the same app again updates its existing connection (its organizations and access) rather than adding a second one. Each connection can make 120 tool calls a minute.
Labels and statuses: only org owners and admins can manage them. Labels and statuses are matched by name, ignoring case. An unknown label name in create_issue or update_issue is created (grey) for an owner or admin, and is an error for anyone else.
For a bot or CI job, skip OAuth and send an application token (itk_…) as Authorization: Bearer on the same URL. It has the application's role and org.
Coding agent runs
A coding agent (Org → Agents) is an application whose token its runner uses. Assigning an issue to the agent starts a run; the runner reports back on these endpoints with the agent's own token. Another token sees 404.
| Method and path | What it does |
|---|---|
GET /api/v1/agent-runs/:id | The run: status, issue (key), repo, instructions (the note typed when it was sent), logUrl, prUrl |
PATCH /api/v1/agent-runs/:id | Report progress: status (running, succeeded or failed), prUrl, logUrl, summary, error. URLs must be on the connected git host. A canceled or finished run answers 409, so stop. |
POST /api/v1/agent-runs/claim | Pull mode: take the oldest queued run (it becomes running). 204 when nothing is waiting. |
Connected to MCP with the agent's own token, an AI session also gets the tools claim_agent_run, get_agent_run and update_agent_run, which do the same. No other token sees them.
Errors
Errors return {"error":"…"} with one of these statuses: 400 bad request, 401 missing or invalid token, 403 forbidden, 404 not found, 409 conflict (an agent run that is already finished), 413 upload too large. An unknown status or assignee returns 400 and lists the valid values.