Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Response
200 - application/json
A list of push notification's custom provider
The response is of type object.
curl --request GET \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/custom \
  --header 'apikey: <api-key>'{
  "data": {
    "pushProviders": [
      {
        "basicAuthUsername": "user123",
        "basicAuthPassword": "pass123",
        "useBasicAuth": true,
        "isEnabled": true,
        "webhookURL": "https://trigger-push.example.com/cometchat"
      }
    ]
  }
}Fetches the custom provider for Push Notifications for a given app.
curl --request GET \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/custom \
  --header 'apikey: <api-key>'{
  "data": {
    "pushProviders": [
      {
        "basicAuthUsername": "user123",
        "basicAuthPassword": "pass123",
        "useBasicAuth": true,
        "isEnabled": true,
        "webhookURL": "https://trigger-push.example.com/cometchat"
      }
    ]
  }
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A list of push notification's custom provider
The response is of type object.
Was this page helpful?