---
title: "Register mobile push device"
method: POST
path: "/users/@me/mobile-devices"
tags: ["Users"]
---

# Register mobile push device

`POST /users/@me/mobile-devices`

Registers a mobile push device token for APNs, Firebase Cloud Messaging, or UnifiedPush. UnifiedPush registrations include the endpoint URL plus Web Push encryption keys.

## Request body

- RegisterMobileDeviceRequest
  - `platform` 'android_fcm' | 'ios_apns' | 'android_unified_push', required — The mobile push notification platform
  - `token` string, required — The platform-specific push notification token or endpoint URL
  - `user_agent` string — The user agent string identifying the device
  - `app_id` string — Client app channel or bundle mapping identifier, such as stable, beta, or canary
  - `provider_environment` 'production' | 'development' — Push provider environment. For APNs, production uses api.push.apple.com and development uses api.sandbox.push.apple.com.
  - `encryption_key` string — The P-256 ECDH public key for UnifiedPush encryption (base64url)
  - `auth_secret` string — The authentication secret for UnifiedPush encryption (base64url)

## Response `200`

Success

- RegisterMobileDeviceResponse
  - `device_id` string, required — The unique identifier for the registered device

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
