---
title: "Registers or refreshes this installation's push token."
method: POST
path: "/api/Devices"
tags: ["Devices"]
---

# Registers or refreshes this installation's push token.

`POST /api/Devices`

## Request

- Base URL: `https://api.3dprintlog.com`
- URL: `https://api.3dprintlog.com/api/Devices`
- Auth: OAuth 2 (authorization code, authorization URL `https://3dprintlog.auth0.com/authorize`, token URL `https://3dprintlog.auth0.com/oauth/token`)

## Request body

- PrintLogApiModelsDTOsDeviceRegisterDeviceDto
  - `token` string, required
  - `platform` 1 | 2, required: Sent as an integer: `1` = Android, `2` = Ios.
  - `appVersion` string, nullable

## Response `204`

The device was registered.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/3dprintlog/apis/3d-print-log-api.md) · [All operations](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/llms.txt) · [OpenAPI document](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/revisions/dfc3a4df4e38?raw)
