Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Body
application/json
Response
200 - application/json
A list of push notification's settings
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/apns \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "providerId": "<string>",
  "keyId": "<string>",
  "teamId": "<string>",
  "bundleId": "<string>",
  "p8KeyFilename": "<string>",
  "p8Key": "<string>",
  "includeContentAvailable": true,
  "includeMutableContent": true,
  "productionMode": true
}'{
  "data": {
    "success": true
  }
}Update existing APNS provider for the given app.
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/apns \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "providerId": "<string>",
  "keyId": "<string>",
  "teamId": "<string>",
  "bundleId": "<string>",
  "p8KeyFilename": "<string>",
  "p8Key": "<string>",
  "includeContentAvailable": true,
  "includeMutableContent": true,
  "productionMode": true
}'{
  "data": {
    "success": true
  }
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A list of push notification's settings
Was this page helpful?