Path Parameters
AppID in which the extension has to be enabled/disabled
Response
200 - application/json
Get In-flight message moderation 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"
        }
      }
    }
  }
}In-flight message moderation : Get settings for In-flight message moderation extension.
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"
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Get In-flight message moderation Settings
Show child attributes
Was this page helpful?