The Notification Settings page lets you manage push notification provider credentials for your app. You must configure at least one provider to deliver push notifications through campaigns.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-campaigns-service-rest-api.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Push Notifications
A global toggle at the top of the page enables or disables push notifications for the entire app.Providers
Firebase Cloud Messaging (FCM)
| Field | Type | Description |
|---|---|---|
providerId | string | Unique name/identifier for this credential |
serviceAccountFilename | string | Name of the uploaded JSON file |
serviceAccountCreds | object | Service account JSON contents (project_id, client_email, private_key, private_key_id) |
notificationInPayload | object | Per-platform toggle for chat/call notifications |
notificationInPayload field controls whether notifications are included in the payload per platform:
Apple Push Notification service (APNs)
| Field | Type | Description |
|---|---|---|
providerId | string | Unique name/identifier for this credential |
productionMode | boolean | true for production, false for development/sandbox |
teamId | string | Apple Team ID |
bundleId | string | App Bundle ID |
keyId | string | APNs Key ID |
p8KeyFilename | string | Uploaded .p8 key filename |
p8Key | string | The .p8 key content |
includeContentAvailable | boolean | Include content-available flag in push payload |
includeMutableContent | boolean | Include mutable-content flag in push payload |
Custom Push Notification Provider
| Field | Type | Description |
|---|---|---|
webhookURL | string | Your webhook endpoint URL |
isEnabled | boolean | Enable/disable the custom provider |
useBasicAuth | boolean | Enable Basic Authentication |
basicAuthUsername | string | Username (required if useBasicAuth is true) |
basicAuthPassword | string | Password (required if useBasicAuth is true) |
Multiple Credentials
- FCM — Multiple credentials supported. Set one as default (star icon).
- APNs — Multiple credentials supported. Set one as default (star icon).
- Custom — Limited to a single instance.
Validation
Credentials are saved without a test connection. Validation happens at delivery time — if credentials are invalid, push notifications will fail with an error in the campaign delivery report.There is no auto-verify or test connection feature. Ensure your credentials are correct before sending campaigns.