---
title: "Get Token From Device Code"
method: POST
path: "/v1/api/user/auth/device/token"
tags: ["user"]
---

# Get Token From Device Code

`POST /v1/api/user/auth/device/token`

Returns the user's token once the device code is authorized.

## Request body

- DeviceTokenSchema
  - `device_code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.dev/torbox/apis/torbox-api.md) · [All operations](https://skmtc.dev/torbox/apis/torbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/torbox/torbox-api/revisions/6017d1e0162a/schema)
