Test FCM API

Send a test notification using the FCM API. Ready to add FCM to Your App? View the FCM Provider Docs.

FCM Configuration

Indicates the kind of Google credential. Service accounts always use the `service_account` type.

The Firebase project ID associated with this service account.

Identifier of the private key inside the downloaded service account JSON.

The PEM encoded service account private key used to sign Firebase credentials.

The client email address from the Firebase service account.

The numeric client identifier for the Firebase service account.

OAuth authorization endpoint used when exchanging Firebase credentials.

OAuth token endpoint used to mint access tokens for FCM.

URL for Google's OAuth provider x509 certificates used to validate tokens.

URL to the public x509 certificate for this service account.

The Google Cloud universe domain hosting the Firebase APIs.

Channel Token

Provide the user's channel-specific token to test delivery.

The Firebase Cloud Messaging device registration token to associate with the user.

Response

Configure your credentials and test the connection to see the response here.

Frequently Asked Questions

What is Firebase Cloud Messaging (FCM)?

FCM is Google's cross-platform messaging service that lets you send push notifications to Android, iOS, and web applications. It handles message routing, device registration, and delivery across platforms.

How do I get an FCM server key?

Go to the Firebase Console, select your project, navigate to Project Settings, then the Cloud Messaging tab. You'll find your Server Key there. For newer projects, use a service account JSON file for authentication instead.

How do I test FCM push notifications?

Enter your FCM service account credentials and a device token above, then click Send Notification. You'll see the raw API request sent to FCM and the full response, including any error codes if delivery fails.

Watch & Learn

Video Tutorial

Learn how to set up and use FCM notifications with our step-by-step video guide.

Resources

FCM Notifications, Explained

A collection of blog posts to help you master FCM notifications and integrations.

Ready to Ship?

Add Mobile Push to Your App

MagicBell integrates with APNs and FCM to deliver push notifications to iOS and Android devices reliably.

Mobile Push Notification Service