GET
/
apps
/
{appId}
/
extensions
/
human-moderation
/
v1
/
settings
In-flight message moderation Get settings
curl --request GET \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/human-moderation/v1/settings \
  --header 'key: <key>' \
  --header 'secret: <secret>'
{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "allUserMessages": false,
          "allGroupMessages": false,
          "senders": [
            "superhero1",
            "superhero2"
          ],
          "receiverGroups": [
            "supergroup"
          ],
          "receiverUsers": [
            "superhero3"
          ],
          "allMessages": false,
          "appId": "134234d234rf33"
        }
      }
    }
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

Response

200 - application/json

Get In-flight message moderation Settings

The response is of type object.