Skip to main content
PATCH
/
moderation
/
blocked-messages
/
{id}
Review Blocked Message
curl --request PATCH \
  --url https://{appId}.api-{region}.cometchat.io/v3/moderation/blocked-messages/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "approved",
  "reviewed": true
}
'
{
  "data": {
    "success": true,
    "message": "Message with ID 540185 has been reviewed successfully."
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Id of the blocked message to review.

Body

application/json
status
enum<string>

Indicates the review decision for the moderated message.

Available options:
approved,
rejected
reviewed
boolean

Specifies whether the moderation request has been reviewed.

Response

200 - application/json

Blocked message reviewed successfully.

data
object