Skip to main content
POST
/
moderation
/
reasons
Create Reasons
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
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
id
string
required

Unique identifier for the content type.

Example:

"unfiltered-content"

name
string
required

Display name for the content type.

Example:

"RawContent"

description
string

Description of the content type.

Example:

"Content delivered without moderation or filtering."

Response

200 - application/json

Reason created successfully.

data
object