- API reference
- Guides
Review held posts with the API
Read the requests and comments held for review on your board, and approve or decline them from your own code with an API token.
Last updated Tuesday, November 24th, 2026
View as MarkdownOn this page
A token can work through the posts your board holds for review: it reads the queue, and approves a post onto your board or declines it with a reason. Calls are authenticated and paced as reading your workspace describes.
Permissions
Pick moderation:manage under Permissions, in the Moderation area, as you create the token. Only owners and admins review posts in Notert, so the token works only while whoever created it, or last rolled it, is still an owner or admin. Otherwise every call is refused with FORBIDDEN.
| Endpoint | Permission | Does |
|---|---|---|
GET /moderation/queue | moderation:manage | Lists the posts waiting for review, flagged, or already decided |
POST /moderation/cases/{id}/review | moderation:manage | Approves a post onto the board, or declines it |
A token held to boards sees and decides only the posts on those boards.
Read the queue
GET /moderation/queue answers the cases waiting for review, a page at a time, with limit and cursor as the requests' list takes them. Send view=flagged for posts already on the board that were reported or flagged, or view=resolved for decided ones.
curl "https://app.notert.io/api/v1/moderation/queue?view=waiting" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"{
"items": [
{
"id": "9e8d7c6b-5a49-4382-9716-0a1b2c3d4e5f",
"kind": "comment",
"requestId": "3f2a9c1e-6b7d-4e58-9a0f-1c2d3e4f5a6b",
"commentId": "1e2d3c4b-5a69-4788-8a9b-0c1d2e3f4a5b",
"title": "Dark mode for the public board",
"body": "Get cheap followers at example.com/deal",
"files": 0,
"author": "deal-bot",
"authorKind": "contact",
"postedAt": "2026-11-22T07:58:10.402Z",
"source": "links",
"categories": [],
"detail": null,
"reports": { "count": 0, "reasons": [] },
"appealOf": null,
"postEditedAt": null,
"openedAt": "2026-11-22T07:58:10.402Z",
"decision": null,
"can": { "approve": true, "decline": true }
}
],
"nextCursor": null
}kindisrequestorcomment. A comment'stitleis the title of the request it's on.authoris the poster's name, never their email address, andnullfor someone the workspace no longer knows.sourcesays what held or flagged it, such asapprovalwhen your board holds every new post,linksfor a first-time poster's links,wordsfor a word your board blocks,checkfor the content check,reportsfor readers' reports, orappealwhen its author asked you to look again.categoriesare what the content check found, such asspamorharassment, andreportshow many readers reported it and why, never who.cansays whether you may approve or decline it now. A post Notert itself holds because of a report can be declined but not approved.
Approve or decline
POST /moderation/cases/{id}/review takes decision, either approve or decline. A decline needs a reason, with its category, one of spam, harassment, hate, sexual, violence, personal_info, off_topic or other, and an optional note, which its author is told. Send the postEditedAt the queue answered with an approval, so a post its author edited since you read it is refused with EDITED_SINCE_READ rather than approved unread.
curl https://app.notert.io/api/v1/moderation/cases/9e8d7c6b-5a49-4382-9716-0a1b2c3d4e5f/review \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "decision": "decline", "reason": { "category": "spam", "note": "Links to a paid service." } }'{
"id": "9e8d7c6b-5a49-4382-9716-0a1b2c3d4e5f",
"requestId": "3f2a9c1e-6b7d-4e58-9a0f-1c2d3e4f5a6b",
"commentId": "1e2d3c4b-5a69-4788-8a9b-0c1d2e3f4a5b",
"outcome": "declined"
}Sending the same decision again answers the case as it stands, so a retry is safe. Sending the other decision for a case already decided is refused with ALREADY_DECIDED, whose data.outcome says how it was decided.
| Status | code | Means |
|---|---|---|
| 403 | FORBIDDEN | The teammate who holds the token isn't an owner or admin now |
| 404 | NOT_FOUND | No such case in the workspace, or on the boards the token is held to |
| 409 | EDITED_SINCE_READ | The post was edited since you read it. List it again and send its postEditedAt |
| 409 | HELD_FOR_NOTERT | Notert holds the post because of a report. It can still be declined |
| 409 | ALREADY_DECIDED | The case was decided the other way. data.outcome says how |
What approving and declining do on your board, and what the author is told, is in review posts before they go public.