---
title: "Exchange device code for token"
method: POST
path: "/auth/device/token"
tags: ["Auth"]
---

# Exchange device code for token

`POST /auth/device/token`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/auth/device/token`
- Auth: none declared

## Request body

- object
  - `deviceCode` string, required

## Response `200`

Token issued

## Other responses

- `410`: Code expired or consumed
- `428`: Authorization pending

---

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