F

Firebase Cloud Messaging Data API

REST discovered

Details
URL
https://fcmdata.googleapis.com/
Docs
https://firebase.google.com/docs/reference/fcmdata/rest
Authentication
Google OAuth 2.0 access token for Cloud Platform oauth2 discovered Set up OAuth ↗
Authorization: Bearer <credential> /?oauth_token=<credential> /?access_token=<credential>

Create OAuth client credentials in the Google Cloud Console Credentials page or use a service account / Application Default Credentials as described in Google Cloud's authentication overview and authentication use cases. Obtain an OAuth 2.0 access token with the scope https://www.googleapis.com/auth/cloud-platform, then send it to this API as a bearer token or as the oauth_token/access_token query parameter supported by the discovery document.

Google Cloud API key api_key discovered Get key ↗
?key=<credential>

In the Google Cloud Console Credentials page, create an API key for the Google Cloud project that owns the Firebase app. Google Cloud's Manage API keys guide covers creation and restriction. For this API, the key is sent as the key query parameter.