cURL
curl --request PATCH \ --url https://apimgmt.cometchat.io/apps/{appId}/moderation/blocked-messages/{messageId} \ --header 'Content-Type: application/json' \ --header 'key: <key>' \ --header 'secret: <secret>' \ --data ' { "status": "approved" } '
{ "data": { "success": true, "message": "Message with ID 268 has been approved." } }
Approves the messages blocked by the moderation service.
Authorization Key
Authorization Secret
AppID in which the extension has to be enabled/disabled
messageId for the moderation service
Moderation status of the message.
"approved"
Approve Blocked Messages
Show child attributes
Was this page helpful?