---
title: "Register FCM token"
method: POST
path: "/v1/fcm-tokens"
tags: ["Push Notifications"]
---

# Register FCM token

`POST /v1/fcm-tokens`

## Request

- Base URL: `http://localhost:4000`
- URL: `http://localhost:4000/v1/fcm-tokens`
- Auth: HTTP bearer

Register or update a Firebase Cloud Messaging token for push notifications. If the token already exists, updates lastUsedAt.

## Request body

- RegisterFcmTokenRequest
  - `token` string, required: FCM device token from Firebase
  - `platform` 'ios' | 'android' | 'web', required: Device platform
  - `appVersion` string: App version string

## Response `200`

Token registered

- FcmTokenResponse
  - `success` boolean
  - `id` string, uuid

## Other responses

- `400`: Validation error
- `401`: Access token required

---

[API](https://skmtc.dev/reqistry/apis/public-apis-mobile-client-api.md) · [All operations](https://skmtc.dev/reqistry/apis/public-apis-mobile-client-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reqistry/apis/public-apis-mobile-client-api/revisions/7f07b9ca718f?raw)
