Notifications
Register FCM Token
Registers a Firebase Cloud Messaging (FCM) token for push notifications on mobile devices
Register FCM Token
Documentation Index
Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Registers a Firebase Cloud Messaging (FCM) token for push notifications on mobile devices. This endpoint should be called when:- User logs in on a mobile device
- App starts and user is already logged in
- FCM token is refreshed
Use Cases
- Mobile App Login: Register device for push notifications after successful login
- App Startup: Re-register token when app starts with authenticated user
- Token Refresh: Update token if FCM token changes (rare but possible)
Important Notes
Users can have multiple registered devices (iPhone, iPad, Android tablet). All
devices will receive push notifications.
Example Usage
React Native/Expo
Related Endpoints
- Remove FCM Token - Remove token on logout
- Update FCM Token Usage - Track active devices
See Also
- FCM Push Notifications Guide - Complete implementation guide
- FCM Quick Start - Quick setup guide
Body
application/json
Register FCM Token