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
Approve Blocked Messages
The response is of type object.
object
Was this page helpful?