Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Approve or decline a post

POSThttps://app.notert.io/api/v1/moderation/cases/{id}/review

Approves or declines a case as the token's holder, as the Review page does, and as many times as it is sent decides it once: a case decided already as asked answers as the first call did, and one decided the other way is ALREADY_DECIDED. Approving puts a waiting post on the public board and tells who hears of new posts, keeps a flagged one there, and puts an appealed one back; it is refused for a post edited since it was read (EDITED_SINCE_READ) and while a report to Notert holds it (HELD_FOR_NOTERT). Declining needs a reason and takes the post off the board, kept on record for its author, who may be emailed why. Only owners and admins moderate (FORBIDDEN otherwise).

A token with moderation:manage. How to send one

Request

curl -X POST https://app.notert.io/api/v1/moderation/cases/3b9d5f7a-1c2e-4a6b-8d0f-2e4c6a8b0d1f/review \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "decision": "decline",
  "postEditedAt": "2026-11-10 14:05:00.123456",
  "reason": {
    "category": "spam",
    "note": "Sells watches"
  }
}'

Response 200

{
  "id": "3b9d5f7a-1c2e-4a6b-8d0f-2e4c6a8b0d1f",
  "requestId": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
  "commentId": null,
  "outcome": "declined"
}

Path parameters

  • idstringRequired

    The case, by its id from the queue.

    At most 64 characters.

Body

  • decisionstringRequired

    approve: a waiting post goes on the board, a flagged one stays there and its case closes, and an appealed one is put back. decline: the post comes off the board, kept on record for its author, who is emailed why unless it is spam.

    One ofapprovedecline
  • postEditedAtstring or null

    The case's postEditedAt as the queue answered it, for an approval, so a post edited since isn't approved unread. Left out, an approval is refused for a post edited at all.

    At most 40 characters.

  • reasonobject

    Why it is declined, which a decline needs and its author is told: its category, and a note for other. Left out when approving.

    • categorystringRequired

      Why it was declined: spam, harassment, hate, sexual, violence, personal_info (someone's personal information), off_topic or other (which the note explains).

      One ofspamharassmenthatesexualviolencepersonal_infooff_topicother
    • notestring

      A few words on why, which only the team reads. Worth giving for other.

      At most 500 characters.

Response 200

  • idstring

    The case's id, which a review takes.

  • requestIdstring

    The request posted, or the one the comment is on.

  • commentIdstring or null

    The comment posted, null when the post is a request.

  • outcomestring

    How the case was decided.

    One ofapproveddeclined

Errors

  • 400BAD_REQUESTInput validation failed.
  • 400REASON_NEEDEDA decline needs a reason.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403FORBIDDENThe teammate who holds this API token's secret can't review posts. Only an owner or admin can.
  • 403HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings.
  • 403INSUFFICIENT_SCOPEThis API token can't review posts held for moderation. Create one that may in the workspace's settings.
  • 403NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 404NOT_FOUNDNot Found.
  • 409ALREADY_DECIDEDThis case was decided the other way already. data.outcome says how. Its data holds outcome.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409EDITED_SINCE_READThe post was edited since you read it, so it wasn't approved. List it again, read what it says now, and send its postEditedAt.
  • 409HELD_FOR_NOTERTA report to Notert holds this post, so it can't be approved. It can still be declined.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.