Firebase Cloud Messaging API
FCM send API that provides a cross-platform messaging solution to reliably deliver messages.
Communication#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
FCM send API that provides a cross-platform messaging solution to reliably deliver messages.
Endpoints 6
projects.messages
- POSTSend a message to specified target (a [Firebase Installation ID…
/v1/:parent/messages:sendSend a message to specified target (a Firebase Installation ID (FID), registration token, topic, or condition). If duplicate fields or parameters are provided…
projects.registrations.topicSubscriptions
- GETLists TopicSubscriptions for a given app instance.
/v1/:parent/topicSubscriptions?pageSize=0&pageToken=stringLists TopicSubscriptions for a given app instance. - POSTCreates a TopicSubscription
/v1/:parent/topicSubscriptions?topicName=stringCreates a TopicSubscription. Subscribes an app installation instance (by registration_id, either FID or FCM Token) to a topicSubscription. Returns a… - GETGets a TopicSubscription.
/v1/:nameGets a TopicSubscription. - DELETEDeletes a TopicSubscription.
/v1/:name?allowMissing=trueDeletes a TopicSubscription. - PATCHUpdates a TopicSubscription
/v1/:name?allowMissing=trueUpdates a TopicSubscription. Subscribes an app installation instance by registration_id, either FID or FCM Token, to a topicSubscription. Returns an existing…
API details
- Base URL
https://fcm.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 6 operations on 3 pathsGET 2POST 2PATCH 1DELETE 1
- Main resources
- projects.registrations.topicSubscriptions 5projects.messages 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Firebase Cloud Messaging API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Firebase Cloud Messaging API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Send a message to specified target (a [Firebase Installation ID…” (POST /v1/:parent/messages:send), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Firebase Cloud Messaging API?
FCM send API that provides a cross-platform messaging solution to reliably deliver messages. It is listed under Communication and has 6 endpoints.
Who publishes the Firebase Cloud Messaging API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Firebase Cloud Messaging API?
Requests go to https://fcm.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Firebase Cloud Messaging API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Firebase Cloud Messaging API have?
6 operations on 3 paths (2 GET, 2 POST, 1 PATCH, 1 DELETE). The largest groups are projects.registrations.topicSubscriptions, projects.messages.
Is forking the Firebase Cloud Messaging API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.