cURL
curl --request POST \ --url https://{appId}.api-{region}.cometchat.io/v3/messages/{id}/flagged \ --header 'Content-Type: application/json' \ --header 'onBehalfOf: <onbehalfof>' \ --data ' { "reasonId": "<string>", "remark": "<string>" } '
{ "data": {} }
Flag a message for moderation review.
UID of the user on whose behalf the action is performed.
Id of the message to be flagged.
Unique identifier of the moderation reason used to flag the message.
Additional remark or comment about why the message is being flagged.
Message flagged successfully.
Was this page helpful?
Contact support