Response Body Schema
enabledboolean REQUIRED
is_customboolean
Is connection using custom scripts
providerstring REQUIRED
Value: native
typestring REQUIRED
Value: push
settingsobject REQUIRED
settings. enabled_clientsarray<string> REQUIRED
settings. strategystring
Push notification strategy
Available Values:code
prompt
Default value:"code"
settings. apnsobject
Apple Push Notification Service configuration settings.
settings.apns. bundle_idstring REQUIRED
This is the ID of your app. You can find it in the app info section of your Apple developer account.
settings.apns. keystring REQUIRED
p8 of your Apple Developer account. To generate one follow these steps:
- Head over to Certificates, Identifiers & Profiles > Keys.
- Register a new key and give it a name.
- Enable the Apple Push Notifications service (APNs) checkbox by selecting it.
- Click the Continue button and on the next page, select Register.
- Download the .p8 key file.
settings.apns. key_idstring REQUIRED
This is a 10-character unique identifier for the authentication key. You can find it in the key details section of the newly created key in your Apple developer account.
settings.apns. productionboolean REQUIRED
settings.apns. team_idstring REQUIRED
This is available in your Apple developer account.
settings. fcmobject
Firebase Cloud Messaging configuration settings. To enable the FCM integration, you need to get your service account key from the Firebase Console.
- Select your project, and click the gear icon on the top of the sidebar.
- After opening "Project Settings", head to the "Service Accounts" tab.
- Click "Generate new private key", then confirm by clicking "Generate key".
- Clicking "Generate key" downloads the generated service account json file.
settings.fcm. client_emailstring REQUIRED
client_email
field located in your service account json
settings.fcm. private_keystring REQUIRED
private_key
field located in your service account json
settings.fcm. project_idstring REQUIRED
project_id
field located in your service account json