auth
Register Fcm Token
Register or update the user's FCM token for push notifications.
Accepts optional device metadata (device_name, platform, os_version, app_version) alongside the FCM token.
When device_id is provided, upserts into the user_devices table (multi-device path). Without device_id, falls back to the legacy single-token columns on the users table.
Should be called:
- On app startup after Firebase Messaging initialization
- When the FCM token is refreshed
post/api/v1/auth/fcm-token
Request
- Base URL: https://api.alert.camp (the document declares no server; this is the origin it was published from)
- URL: https://api.alert.camp/api/v1/auth/fcm-token
- Auth: none declared
Headers
authorizationstring nullable
x-dev-user-idstring nullable
x-app-versionstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.