client.fcm.
To use FCM with the BlueBubbles Server, you must have Firebase configured on
your server. Follow the BlueBubbles Server setup guide
to upload your FCM credentials before calling these endpoints.
FCM client configuration
getFcmClientConfig()
Returns the FCM client configuration from your BlueBubbles Server. Use this configuration to initialize the Firebase SDK on your client application so it can register for push notifications through the correct Firebase project.
Signature
Device registration
registerDevice()
Registers a device with the BlueBubbles Server so it can receive FCM push notifications. You generate the FCM identifier (also called a registration token) by authenticating with Google Firebase on the client side, then pass it to this endpoint so the server knows where to send notifications.
Signature
string
required
A human-readable name for the device being registered. This helps you
identify registered devices in the server UI. Example:
"pixel5a".string
required
The FCM registration token generated when your client app authenticates with
Google Firebase. The server uses this token to route push notifications to
your specific device.