Path Parameters
AppID in which the extension has to be enabled/disabled
Response
200 - application/json
Get Report Message Settings
curl --request GET \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/report-message/v1/settings \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "maxReports": 3,
          "useWebhook": true,
          "webhookURL": "https://example.com/take-action",
          "basicAuthUsername": "abcd",
          "basicAuthPassword": "12345",
          "appId": "134234d234rf33"
        }
      }
    }
  }
}Report message : Get settings for Report message extension
curl --request GET \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/report-message/v1/settings \
  --header 'key: <key>' \
  --header 'secret: <secret>'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "maxReports": 3,
          "useWebhook": true,
          "webhookURL": "https://example.com/take-action",
          "basicAuthUsername": "abcd",
          "basicAuthPassword": "12345",
          "appId": "134234d234rf33"
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Get Report Message Settings
Show child attributes
Was this page helpful?