cURL
curl --request POST \ --url https://{appId}.api-{region}.cometchat.io/v3/moderation/reasons \ --header 'Content-Type: application/json' \ --data ' { "id": "unfiltered-content", "name": "RawContent", "description": "Content delivered without moderation or filtering." } '
{ "data": { "id": "unfiltered-content", "name": "RawContent", "description": "Content delivered without moderation or filtering.", "createdAt": 1760449410, "updatedAt": 1760449410 } }
Create custom flag reasons for content moderation.
Unique identifier for the content type.
"unfiltered-content"
Display name for the content type.
"RawContent"
Description of the content type.
"Content delivered without moderation or filtering."
Reason created successfully.
Show child attributes
Was this page helpful?
Contact support