Skip to content

Issues API ​

Read issues and change their status, with the same paths and shapes as Sentry's issue API. Both token kinds work on every endpoint here.

MethodPathDoes
GET/0/issues/{id}/One issue
PUT/0/issues/{id}/Change one issue's status
GET/0/organizations/{org}/issues/{id}/One issue, within one organization
PUT/0/organizations/{org}/issues/{id}/Change one issue's status, within one organization
GET/0/projects/{org}/{project}/issues/List a project's issues
PUT/0/projects/{org}/{project}/issues/Change many of a project's issues at once
GET/0/organizations/{org}/issues/List an organization's issues
PUT/0/organizations/{org}/issues/Change many of an organization's issues at once

{org} and {project} are slugs, the ones in the panel's URLs.

Naming an issue ​

{id} takes either form:

  • the numeric id, 1234
  • the short id, BACKEND-12: the project slug and the issue number. Case does not matter, so backend-12 works too.

With a personal token, /0/issues/{id}/ searches every organization you belong to. If two of them have a backend project, BACKEND-12 could mean either, and the answer is a 409 rather than a guess. Use the numeric id, or the /0/organizations/{org}/issues/{id}/ path, which searches one organization.

The issue object ​

json
{
  "id": "1234",
  "shortId": "BACKEND-12",
  "title": "TypeError: Cannot read properties of undefined (reading 'slug')",
  "culprit": "app/Http/Controllers/PostController.php",
  "permalink": "https://app.parsemend.com/acme/issues/1234",
  "level": "error",
  "status": "unresolved",
  "substatus": "regressed",
  "statusDetails": {},
  "type": "error",
  "metadata": {},
  "platform": "php",
  "project": { "id": "7", "name": "Backend", "slug": "backend", "platform": "php" },
  "count": "48",
  "userCount": 3,
  "firstSeen": "2026-09-20T08:14:03.000Z",
  "lastSeen": "2026-09-28T11:02:47.512Z"
}

count is a string, as in Sentry. status and substatus use Sentry's words, so they differ from the panel's in two places:

Panelstatussubstatus
Unresolved, first seen in the last 7 daysunresolvednew
Unresolved, olderunresolvedongoing
Regressedunresolvedregressed
Resolvedresolvednull
Ignoredignoredarchived_forever

Changing status ​

bash
curl -X PUT https://api.parsemend.com/0/issues/BACKEND-12/ \
  -H "Authorization: Bearer $PARSEMEND_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": "resolved"}'

The answer is the updated issue.

statusResult
resolvedResolved. The next event for it reopens it as regressed.
unresolvedOpen again.
ignoredIgnored until you reopen it. New events do not reopen it.
mutedThe same as ignored. This is the word sentry-cli issues mute sends.

status is the only field you can change. Sentry accepts more, and Parsemend answers each of these with a 400 that names the field instead of quietly dropping it:

  • resolvedInNextRelease, and statusDetails such as inRelease
  • timed ignores: ignoreDuration, snoozeDuration and the other ignore* fields
  • assignedTo, hasSeen, isBookmarked, isSubscribed, isPublic, merge

A field sent as null is fine. sentry-cli always sends snoozeDuration: null.

This is the page's gap: resolving is never tied to a release. Sentry can hold an issue resolved until a newer release ships. Here, a resolved issue reopens on its next event, whichever release sent it. Resolve once the fix is deployed, not when it merges.

Listing issues ​

bash
curl "https://api.parsemend.com/0/projects/acme/backend/issues/?query=is:unresolved%20timeout" \
  -H "Authorization: Bearer $PARSEMEND_TOKEN"

The answer is an array of issue objects, most recent activity first. That order is fixed: Sentry's sort parameter is ignored.

ParameterEffect
querySearch. Default is:unresolved. Send it empty for every issue.
limitIssues per page. Default and maximum 100.
cursorThe page to fetch, from the Link header.
projectOrganization path only: a project's numeric id. Repeat it for several.

query understands two things:

  • is:unresolved (includes regressed), is:regressed, is:resolved, is:ignored, and is:muted or is:archived for ignored
  • plain words, each matched against the title and the culprit, ignoring case

Any other Sentry filter, such as assigned:me or level:error, is a 400. An unsupported filter never quietly returns everything.

Pages ​

Pages come back the way Sentry sends them, in a Link header:

Link: <https://api.parsemend.com/0/projects/acme/backend/issues/?cursor=0:0:1>; rel="previous"; results="false"; cursor="0:0:1",
      <https://api.parsemend.com/0/projects/acme/backend/issues/?cursor=0:100:0>; rel="next"; results="true"; cursor="0:100:0"

Follow rel="next" while its results is "true".

Changing many issues ​

Send the status you want to the list path. Which issues it applies to comes from the query string:

Query stringApplies to
?id=1234&id=1240Those issues. Repeat id, and use numeric ids.
?status=unresolvedEvery issue with that status. unresolved includes regressed.
NothingEvery issue in the project, or the organization.
bash
curl -X PUT "https://api.parsemend.com/0/projects/acme/backend/issues/?status=unresolved" \
  -H "Authorization: Bearer $PARSEMEND_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status": "resolved"}'

The answer is the change that was applied, {"status": "resolved", "statusDetails": {}}, or a 204 with no body when nothing matched. An id from another project or organization simply does not match.

With sentry-cli ​

sentry-cli's issues commands work unchanged. Point it at Parsemend and give it your token:

bash
export SENTRY_URL=https://api.parsemend.com
export SENTRY_AUTH_TOKEN=$(jq -r .token ~/.parsemend/config.json)
export SENTRY_ORG=acme
export SENTRY_PROJECT=backend
bash
sentry-cli issues list --query "is:unresolved"
sentry-cli issues resolve --id 1234 --id 1240
sentry-cli issues resolve --status unresolved
sentry-cli issues mute --id 1234
sentry-cli issues unresolve --status muted

--id takes the numeric id, the first column of issues list. --all selects every issue in the project, so issues resolve --all resolves everything, already resolved or not.

Parsemend, by MAVA Design