Upcoming release — Zylon 1.58These docs are published ahead of release so you can prepare your API integrations. The release image is not yet available. For installations running 1.57, use the 1.57 documentation.
In 1.58, creator filters use account IDs and creator responses contain account data. See API migration 1.57 → 1.58 before upgrading your integration.
List issues
List issues withGET /api/v1/app/issue before creating or updating.
Endpoint parameters
Endpoint parameters
| Query parameter | Type | Required | Description |
|---|---|---|---|
include | string | No | Comma-separated list of Account and Project to include related objects. |
type | string | No | Comma-separated issue types: NoAnswer, Inaccurate, NoContextUsed, Format, Other. |
states | string | No | Comma-separated states: NotReviewed, InReview, Closed, Deleted. |
start_date / end_date | integer | No | Created-at filter as epoch milliseconds. |
filter_by_text | string | No | Text filter over issue content. |
created_by | string | No | Comma-separated account IDs. |
projects | string | No | Comma-separated project IDs. |
page, page_size, after, before | mixed | No | Pagination controls. |
curl "https://{BASE_URL}/api/v1/app/issue?page=1&page_size=20&include=Account,Project&states=NotReviewed,InReview" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}"
Example response
Example response
{
"data": [
{
"id": "issue_5c4b3a2d1e0f9a8b",
"issue_number": 1842,
"description": "Response missed the attached policy details.",
"resource_type": "Thread",
"type": "NoContextUsed",
"state": "NotReviewed",
"is_read": false,
"data": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"created_at": "2026-02-08T14:55:10Z",
"updated_at": "2026-02-08T14:55:10Z",
"created_by": {
"id": "acct_6c8a1f3b2d4e5f7a",
"state": "Active",
"email": "sasha@example.com",
"name": "Sasha Patel",
"profile_picture": "https://{BASE_URL}/files/profile-picture.png",
"provider": "Credentials",
"roles": ["Workspace"],
"created_at": "2026-02-08T14:12:45Z",
"updated_at": "2026-02-08T14:12:45Z"
},
"project": {
"id": "proj_7a5c3e1b9d2f4a6c",
"name": "Customer Insights"
}
}
],
"next_cursor": null,
"previous_cursor": null,
"has_next_page": false,
"has_previous_page": false,
"total_count": 1
}
Create an issue
Endpoint parameters
Endpoint parameters
| Type | Name | Required | Notes |
|---|---|---|---|
| Body | project_id | Yes | Project where the reported resource lives. |
| Body | description | No | User-provided issue description. |
| Body | resource_type | Yes | Currently Thread. |
| Body | type | Yes | One of NoAnswer, Inaccurate, NoContextUsed, Format, Other. |
| Body | config | Yes | Resource-specific payload. For thread issues, provide thread_id and reported_interaction_id. |
| Body | anonymous | Yes | Whether to hide the reporter from the issue payload. |
curl -X POST "https://{BASE_URL}/api/v1/app/issue" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"project_id": "proj_7a5c3e1b9d2f4a6c",
"description": "Response missed the attached policy details.",
"resource_type": "Thread",
"type": "NoContextUsed",
"config": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"anonymous": false
}'
config. Responses expose the stored issue payload as data.
Example response
Example response
{
"id": "issue_5c4b3a2d1e0f9a8b",
"issue_number": 1842,
"description": "Response missed the attached policy details.",
"resource_type": "Thread",
"type": "NoContextUsed",
"state": "NotReviewed",
"is_read": false,
"data": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"created_at": "2026-02-08T14:55:10Z",
"updated_at": "2026-02-08T14:55:10Z"
}
Get or update an issue
- Get issue
- Update issue
curl "https://{BASE_URL}/api/v1/app/issue/{issueID}" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}"
Example response
Example response
{
"id": "issue_5c4b3a2d1e0f9a8b",
"issue_number": 1842,
"description": "Response missed the attached policy details.",
"resource_type": "Thread",
"type": "NoContextUsed",
"state": "NotReviewed",
"is_read": false,
"data": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"created_at": "2026-02-08T14:55:10Z",
"updated_at": "2026-02-08T14:55:10Z"
}
Endpoint parameters
Endpoint parameters
| Type | Name | Required | Notes |
|---|---|---|---|
| Path | issueID | Yes | Issue identifier. |
| Body | description | No | Updated issue description. |
| Body | type | No | Updated issue type. |
| Body | state | No | Updated issue state. |
| Body | is_read | No | Read flag. Defaults to false if omitted, so include the intended value when updating other fields. |
curl -X PUT "https://{BASE_URL}/api/v1/app/issue/{issueID}" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"description": "Reviewed by support.",
"type": "NoContextUsed",
"state": "InReview",
"is_read": true
}'
Example response
Example response
{
"id": "issue_5c4b3a2d1e0f9a8b",
"issue_number": 1842,
"description": "Reviewed by support.",
"resource_type": "Thread",
"type": "NoContextUsed",
"state": "InReview",
"is_read": true,
"data": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"created_at": "2026-02-08T14:55:10Z",
"updated_at": "2026-02-08T15:05:10Z"
}
Delete an issue
Delete soft-deletes the issue and returns the updated issue object.curl -X DELETE "https://{BASE_URL}/api/v1/app/issue/{issueID}" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}"
Example response
Example response
{
"id": "issue_5c4b3a2d1e0f9a8b",
"issue_number": 1842,
"resource_type": "Thread",
"type": "NoContextUsed",
"state": "Deleted",
"is_read": true,
"data": {
"thread_id": "thread_3f2a1c4d5b6e7f8a",
"reported_interaction_id": "interaction_9b8a7c6d5e4f"
},
"created_at": "2026-02-08T14:55:10Z",
"updated_at": "2026-02-08T15:10:00Z"
}
Errors and edge cases
- 404: issue not found.
- 400: invalid issue state, issue type, or thread issue config.