Update push credentials
Use this endpoint to programmatically update the push credentials for a single app, so you can manage credentials without using the dashboard UI.
Each request updates the push credentials for one app and one push platform. Credential files, such as the iOS authentication key or the Firebase service account, are passed as Base64-encoded strings inside the JSON request body.
This endpoint supports the following push platforms:
| Platform | Credentials |
|---|---|
| iOS (APNs) | .p8 authentication key only. .p12 and .pem certificates aren’t supported by this endpoint. |
| Android (Firebase Cloud Messaging) | Service account JSON |
| Android (Huawei Mobile Services) | App ID and app secret |
| Kindle (Amazon Device Messaging) | Client ID and client secret |
You can download the OpenAPI document and use it to validate schemas. To learn how, see Use OpenAPI schemas for request validation.
New Stuff!