update_app_branding
Update an existing app's notification icon URL, automated welcome push message, and Android/iOS native credentials by app_id, changing only the fields provided.
Instructions
Update an existing application's notification icon URL, automated welcome push message, and optional native mobile push credentials (Android FCM HTTP v1 service account JSON and iOS APNs .p8 key). Use this tool to configure app-level branding, onboarding welcome alerts, or native mobile credentials; do not use it to create a new app (use create_app instead) or configure on-site HTML popups (use configure_inapp_banner instead). Prerequisite: call list_apps first to obtain app_id. Requires PUSHNOTIF_API_KEY and idempotently updates only the fields provided at 0 configuration cost (when welcome_enabled=true, each new subscriber welcome push deducts 1 credit; APNs requires apns_key_id, apns_team_id, apns_bundle_id, and apns_p8_key together). Returns JSON { ok, app_id, icon_url, welcome_enabled, android_fcm_configured, ios_apns_configured }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Target application ID in format app_xxxx (obtain from list_apps) | |
| icon_url | No | Optional direct HTTPS URL to a square PNG/JPG/WebP brand icon (recommended 192x192px) | |
| apns_key_id | No | Optional 10-character Apple Developer APNs Key ID (provide together with apns_team_id, apns_bundle_id, and apns_p8_key) | |
| apns_p8_key | No | Optional full PEM content of Apple's AuthKey_XXXX.p8 private key file | |
| apns_team_id | No | Optional 10-character Apple Developer Team ID | |
| welcome_body | No | Body text of the automated welcome push notification (max 180 characters; used when welcome_enabled=true) | |
| welcome_title | No | Headline of the automated welcome push notification (max 80 characters; used when welcome_enabled=true) | |
| apns_bundle_id | No | Optional iOS application Bundle Identifier (e.g., 'id.company.app') | |
| welcome_enabled | No | Set true to automatically send a welcome push notification immediately after a visitor subscribes | |
| fcm_service_account_json | No | Optional raw JSON string of Google Firebase Service Account key for native Android FCM HTTP v1 delivery |