For Agents
Send push notifications and data messages to Android, iOS, and web clients via the Firebase Cloud Messaging v1 send API.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Firebase Cloud Messaging API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Firebase Cloud Messaging API.
Send a push notification to a specific device using a registration token
Broadcast a notification to all devices subscribed to a topic
Target devices using boolean conditions over multiple topics
GET STARTED
Use for: I need to send a push notification to a specific device, Broadcast a notification to all subscribers of a topic, Send a silent data message to a mobile client, Target devices subscribed to one topic but not another
Not supported: Does not handle device registration, topic subscription management, or in-app messaging — use for FCM message dispatch via the v1 send endpoint only.
This catalogue entry covers the Firebase Cloud Messaging (FCM) v1 send API, the Google service that delivers push notifications and data messages to Android, iOS, and web clients. The single send endpoint accepts a structured Message resource containing platform-specific payloads, targeting (token, topic, or condition), and notification or data fields. Authentication uses OAuth 2.0 service account credentials scoped to the messaging.send permission.
Deliver platform-specific overrides via the Android, iOS, and Webpush configuration blocks
Send silent data messages for client-side handling without a user-visible notification
Patterns agents use Firebase Cloud Messaging API for, with concrete tasks.
★ Mobile App Engagement Push
Mobile product teams send re-engagement and content notifications to their installed base via FCM. The /v1/{parent}/messages:send endpoint accepts a Message with a notification block plus token or topic targeting, delivering across Android and iOS in a single call. The Google service handles platform fan-out and retry semantics.
POST /v1/projects/{project_id}/messages:send with topic='news' and a notification body to broadcast a breaking-news alert
Real-Time Data Sync via Silent Push
Apps that sync state in the background use silent FCM data messages to wake the client and trigger a fetch. The send endpoint accepts a data-only Message which is handled by the SDK without showing a notification, supporting use cases like inbox refresh, configuration push, and live ops events.
POST /v1/projects/{project_id}/messages:send with a data payload {refresh:'inbox'} to a single registration token
Targeted Marketing Campaign
Marketing teams target subsets of users using condition expressions over multiple topics, e.g. 'TopicA && !TopicB'. The send endpoint accepts a condition string in the Message resource so a campaign can be scoped without precomputing user lists, with platform-specific overrides for Android, iOS, and Web sub-payloads.
POST /v1/projects/{project_id}/messages:send with condition="'sports' in topics && 'premium' in topics" and a campaign notification payload
AI Agent Push Notification Send
An AI agent triggers a push when an event satisfies a rule — a price alert, a workflow completion, or an incident. Through Jentic the agent searches for 'send fcm push notification', loads the messages:send schema, and executes against FCM with the OAuth service account credentials managed in the Jentic vault.
Search Jentic for 'send fcm push', execute messages:send with the user's registration token, and log the returned message name
1 endpoints — this catalogue entry covers the firebase cloud messaging (fcm) v1 send api, the google service that delivers push notifications and data messages to android, ios, and web clients.
METHOD
PATH
DESCRIPTION
/v1/{+parent}/messages:send
Send a Message to a token, topic, or condition target
/v1/{+parent}/messages:send
Send a Message to a token, topic, or condition target
Three things that make agents converge on Jentic-routed access.
Credential isolation
FCM service account JSON credentials are stored encrypted in the Jentic vault. Agents receive scoped execution tokens — Jentic mints the OAuth bearer token from the service account at request time so the private key never enters agent context.
Intent-based discovery
Agents search by intent (e.g. 'send fcm push notification' or 'broadcast to topic') and Jentic returns the messages:send operation with its input schema, so the agent can call the endpoint without consulting Firebase documentation.
Time to first call
Direct FCM integration: 1-2 days for service account setup, OAuth exchange, and platform-specific payload modelling. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using Firebase Cloud Messaging API through Jentic.
What authentication does the Firebase Cloud Messaging API use?
FCM v1 uses OAuth 2.0 with service account credentials scoped to the firebase.messaging or messaging.send permission. A short-lived access token is exchanged from the service account JSON and presented as a Bearer header. Through Jentic the service account JSON is stored in the credential vault and the bearer token is minted at request time.
What targeting options does messages:send support?
The Message resource accepts one of three targets: a single registration token, a topic name, or a condition expression combining multiple topics with boolean operators. Platform-specific overrides for Android, iOS, and Webpush sit alongside the targeting field in the same payload.
What are the rate limits for the FCM v1 API?
FCM enforces per-project quotas measured in messages per second; typical projects can send tens of thousands of messages per minute. Use topic broadcasts rather than per-token loops for fan-out, and respect the Retry-After header on 429 responses.
Can I send a silent data message with this endpoint?
Yes. Send a Message with only the data field populated and no notification block. The SDK on the client device delivers the payload to the app without surfacing a system notification, allowing background sync or live-ops style updates.
How do I send an FCM push through Jentic?
Search Jentic for 'send fcm push notification', load the POST /v1/{+parent}/messages:send schema, and execute with the project parent path and Message body. Jentic mints the OAuth bearer token from the stored service account so the agent only supplies the message payload.