Send push notifications to mobile devices using Firebase Cloud Messaging (FCM). Supports both the modern HTTP v1 API and legacy API.
Configuration Parameters
FCM HTTP v1 (Recommended)
| Parameter | Required | Type | Description |
|---|---|---|---|
| FCM_V1 | No | bool | Use v1 API (default: true) |
| ProjectId | Yes | string | Firebase project ID |
| AccessToken | Yes | string | OAuth2 bearer token from service account |
| Token | Yes | string | Device FCM token |
| Title | Yes | string | Notification title |
| Body | Yes | string | Notification body |
FCM Legacy API
| Parameter | Required | Type | Description |
|---|---|---|---|
| FCM_V1 | No | bool | Set to false for legacy |
| ServerKey | Yes | string | FCM server key |
| Token | Yes | string | Device FCM token |
| Title | Yes | string | Notification title |
| Body | Yes | string | Notification body |
Example Configuration (v1)
FCM_V1 = true
ProjectId = my-firebase-project
AccessToken = ya29.xxxxxxxxxxxxxxx
Token = device-fcm-token-here
Title = Machine Alert
Body = Conveyor belt stopped unexpectedlyInternal Behavior
- Priority: High priority for immediate delivery
- Retry: Automatic retry on 5xx errors
- Timeout: 15 seconds per request