Skip to main content
PATCH
/
moderation
/
flagged-messages
/
{id}
Block/Review Flagged Message
curl --request PATCH \
  --url https://{appId}.api-{region}.cometchat.io/v3/moderation/flagged-messages/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "approved"
}
'
{
  "data": {}
}

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 message which needs to be reviewed.

Body

application/json
status
enum<string>

Specifies the moderation action to apply to the flagged message.

Available options:
approved,
disapproved

Response

200 - application/json

Flagged message reviewed successfully.

data
object