---
title: "Register a device push notification token"
method: POST
path: "/v1/devices"
tags: ["Devices"]
---

# Register a device push notification token

`POST /v1/devices`

## Request

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

## Request body

- RegisterDeviceBody
  - `platform` 'android' | 'ios', required
  - `token` string, required

## Response `200`

Device token registered

- OkResponse
  - `ok` true, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

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