Use to update the name or push platform configuration of an existing app. This guide explains required parameters, platform-specific update rules, and how to move an app to a different organization.
organization_id
in the request body.
site_name
chrome_web_origin
safari_site_origin
https://
and match your site’s origin.
Recommended parameters:
chrome_web_default_notification_icon
: URL of a 256x256px
PNG for Chrome.safari_icon_256_256
: URL of a 256x256px
PNG for Safari.safari_apns_p12
: Base64 encoded p12 certificate for Safari Push Notifications.safari_apns_p12_password
: Password for the safari_apns_p12
file if set.fcm_v1_service_account_json
apns_key_id
apns_team_id
apns_bundle_id
apns_p8
apns_p12
apns_p12_password
additional_data_as_root_payload
: If set to true
, the data
paramater in your push notification payload will be added to the root payload of the notification. Helpful for customizations that require access to the data outside of our OSNotification payload additionalData
property.Your OneSignal App ID in UUID v4 format. See Keys & IDs.
200
The response is of type object
.