Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Appeal API

Submit a user appeal to Coop. When a user contests a moderation decision on your platform, send the appeal here to create a review job in the Review Console.

For the full workflow—how appeals appear in the Review Console, uphold vs. overturn decisions—see Appeals. When a moderator makes a decision on an appeal, Coop sends the outcome to your platform via the Appeal Decision Callback.

Endpoint

POST /api/v1/report/appeal

Authentication: X-API-KEY header. See API Keys & Authentication.

Request

{
  "appealId": "platform-internal-appeal-id",
  "appealedBy": {
    "typeId": "appealer-user-type-id",
    "id": "appealer-user-id"
  },
  "appealedAt": "2024-01-15T12:00:00.000Z",
  "actionedItem": {
    "id": "item-that-was-actioned",
    "data": { "fieldName": "value" },
    "typeId": "item-type-id"
  },
  "actionsTaken": ["action-id-1", "action-id-2"],
  "appealReason": "User's explanation for why they are appealing",
  "violatingPolicies": [{ "id": "policy-id-1" }, { "id": "policy-id-2" }],
  "additionalItems": [
    { "id": "additional-context-item", "data": {}, "typeId": "item-type-id" }
  ]
}

Request body fields

FieldTypeRequired?Description
appealIdStringRequiredYour internal ID for this appeal submission. Propagated back to you when a moderator reviews the appeal
appealedByItemIdentifierRequiredThe user submitting the appeal. Include your internal user ID and the Coop Item Type ID for the user
appealedAtDatetimeRequiredISO 8601 timestamp of when the appeal was submitted
actionedItemItemRequiredThe item that was originally actioned
actionsTakenArray<String>RequiredCoop IDs of the actions that were taken and sent to your Action callback
appealReasonStringOptionalFree-form text from the user explaining why they’re appealing
violatingPoliciesArray<Policy>OptionalPolicies received from the Action webhook when the initial moderation action was taken
additionalItemsArray<Item>OptionalAdditional content to display alongside the appeal for context

Response

StatusMeaning
204 No ContentAppeal received successfully
400 Bad RequestValidation failure; see Errors
401 or 403Authentication failure

See Errors for the full error response format.