cURL
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." } }
Review a blocked message and approve or reject it.
Id of the blocked message to review.
Indicates the review decision for the moderated message.
approved
rejected
Specifies whether the moderation request has been reviewed.
Blocked message reviewed successfully.
Show child attributes
Was this page helpful?
Contact support