---
title: "Register push notification token"
method: POST
path: "/v1/auth/devices/{device_id}/push-token"
tags: ["Authentication"]
---

# Register push notification token

`POST /v1/auth/devices/{device_id}/push-token`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/auth/devices/{device_id}/push-token`
- Auth: HTTP bearer

Associates a push notification token (APNs or FCM) with a registered device
so the server can send approval requests and alerts.

## Path parameters

- `device_id` string, uuid, required

## Request body

- RegisterPushTokenRequest
  - `token` string, required: Push notification token from APNs or FCM
  - `platform` 'apns' | 'fcm', required

## Response `204`

Push token registered

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
