---
title: "Register Push Device"
method: POST
path: "/api/push/devices"
---

# Register Push Device

`POST /api/push/devices`

## Request

- Base URL: `https://api.omicos.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.omicos.cn/api/push/devices`
- Auth: none declared

Register this phone's APNs token for the signed-in user. A token that
was registered under another account moves here (the device switched
accounts). Returns the opaque device id the app reports presence with.

## Headers

- `authorization` string, nullable
- `x-omicos-device` string, nullable
- `x-omicos-device-kind` string, nullable
- `x-omicos-device-name` string, nullable

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `ef3006b6f052`: 3 info
  - added the new optional `header` request parameter `x-omicos-device`
  - added the new optional `header` request parameter `x-omicos-device-kind`
  - added the new optional `header` request parameter `x-omicos-device-name`
- **2026-10-15** `be951e0676bb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omicos/apis/omicos-server/changes/api/push/devices/post.md)

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc.dev/omicos/apis/omicos-server/revisions/42ce180a8cda?raw)
