Path Parameters
AppID in which the extension has to be enabled/disabled
Response
200 - application/json
Get Profanity-Filter Settings
curl --request GET \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/profanity-filter/v1/settings \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "badwords": [
            "xyz"
          ],
          "dropMessage": false,
          "appId": "134234d234rf33"
        }
      }
    }
  }
}Profanity-filter : Get settings of an app.
curl --request GET \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/profanity-filter/v1/settings \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "badwords": [
            "xyz"
          ],
          "dropMessage": false,
          "appId": "134234d234rf33"
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Get Profanity-Filter Settings
Show child attributes
Was this page helpful?