Skip to main content
POST
/
notifications
/
push
/
v1
/
providers
/
apns
Add APNS Provider
curl --request POST \
  --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": {
    "pushProviders": []
  }
}

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

For the complete error reference, see Error Guide.

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Body

application/json
providerId
string
keyId
string
teamId
string
bundleId
string
p8KeyFilename
string
p8Key
string
includeContentAvailable
boolean
includeMutableContent
boolean
productionMode
boolean

Response

200 - application/json

A list of push notification's settings

data
any