---
title: "Api Push Token"
method: POST
path: "/api/push/token"
---

# Api Push Token

`POST /api/push/token`

## Request

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

Register/refresh an FCM device token for the current user.
Upsert: same token re-points to whoever is currently logged in on
that device and bumps last_seen_at. FCM tokens rotate, so the client
may POST repeatedly — this is idempotent.

## Cookies

- `relay_session` string, nullable

## Request body

- PushTokenBody
  - `token` string, required
  - `platform` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sleipnir/apis/relay-control-plane.md) · [All operations](https://skmtc.dev/sleipnir/apis/relay-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sleipnir/apis/relay-control-plane/revisions/79829f6945a4?raw)
