Skip to main content
POST
Configure or replace Android FCM credentials using the dashboard Firebase validation.
Configure or replace Android FCM credentials using the dashboard Firebase validation. Credentials are write-only: submitted directly without preparation, queued payloads or credential echoes. This changes provider configuration immediately; inspect push_providers_list before retrying an uncertain result. Requires a scoped personal key, an explicit granted project_id, and push_providers.write. Current role and credential grants remain enforced. See Agent messaging and project operations for authorization and recovery.

Authorizations

Authorization
string
header
required

Integration key for backend workloads, or a scoped personal key (sr_user_) for account discovery and supported project operations. MCP accepts only personal keys.

Headers

X-Sendrealm-Project-Id
string<uuid>
required

Body

application/json
app_id
string<uuid>
required

Push app UUID from push_apps_create or push_apps_list in this project.

Required string length: 1 - 36
android_package_name
string
required

Android package name registered in this Firebase project.

Required string length: 1 - 255
fcm_service_account_json
string
required
write-only

Write-only Firebase service account JSON file contents. Validated against the Android package using the dashboard setup service.

Required string length: 1 - 65536

Response

Authorized result, preparation, or durable execution receipt.

status
integer
required
data
object
required