Issu

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 pathWhat it does
GET /projectsProjects this token can access
GET /projects/:keyProject details, statuses, labels and members
GET, POST /projects/:key/issuesList or create issues
GET, PATCH, DELETE /projects/:key/issues/:numberRead, update or delete an issue
GET, POST …/issues/:number/commentsList 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/:commentIdEdit or delete a comment. Only the comment's own author can, so a token edits only the comments it posted.
GET …/issues/:number/childrenList sub-issues
GET …/issues/:number/children?frontier=trueOnly sub-issues that are open, unblocked and unassigned
GET, POST …/issues/:number/relationsList or add blocks, duplicate or related links
DELETE …/issues/:number/relations/:relationIdRemove a link
GET, POST …/issues/:number/linksList 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/:linkIdUnlink a doc or test case. An unknown issue, or a linkId that is not one of its links, returns 404.
GET /projects/:key/cyclesList cycles. Create and date cycles in the app.
POST /projects/:key/labelsCreate 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/:labelRename or recolor a label, or delete it. :label is its name or id. Deleting removes it from every issue.
POST /projects/:key/statusesAdd 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/:statusRename, 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/docsList or create docs
GET, PATCH, DELETE /projects/:key/docs/:idRead, update or delete a doc
GET, POST /projects/:key/testsList or create test cases
GET, PATCH, DELETE /projects/:key/tests/:numberRead, update or delete a test case
POST /uploadsStore an image of up to 10 MB

Issue fields

title is required on create. Everything else is optional.

FieldValue
titleText
descriptionMarkdown
statusA status name from the project, such as In Progress
priorityhigh, med or low
labelsA list of label names. An update replaces the whole list.
assigneeA member's email or name. null clears it.
cycleA cycle number or "active". null clears it.
parentThe parent issue's number. null detaches it. Sub-issues go one level deep.
startDate, endDateDates 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 ![alt](url) 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:

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.

ToolWhat it does
list_orgsThe organizations this connection covers
list_projects, get_projectProjects, and a project's statuses, labels and members
search_issues, get_issue, next_issuesFind 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_testRead cycles, docs and test cases, with the issues linked to each
create_issue, update_issueWrite issues. A new issue goes into the project's active cycle, when there is one.
add_comment, update_comment, delete_comment, add_relation, remove_relationComment on an issue (edit or delete your own comments) and relate issues
link_issue, unlink_issueLink 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_testWrite docs and test cases
create_label, update_label, delete_label, create_status, update_status, delete_statusSet up a project's labels and statuses. Only org owners and admins can use them, as in project Settings.
create_upload_urlGet 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 ![alt](url) 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 pathWhat it does
GET /api/v1/agent-runs/:idThe run: status, issue (key), repo, instructions (the note typed when it was sent), logUrl, prUrl
PATCH /api/v1/agent-runs/:idReport 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/claimPull 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.