---
title: "Cli Device Token"
method: POST
path: "/auth/cli/device/token"
tags: ["auth"]
---

# Cli Device Token

`POST /auth/cli/device/token`

Poll a device authorization. Returns a pending status, or — once the user
approves — the minted session key + identity.

## Request body

- DeviceTokenRequest
  - `device_code` string, required

## Response `200`

Successful Response

- DeviceTokenResponse — ``status == "complete"`` carries the minted token + identity; otherwise it is one of ``pending`` / ``slow_down`` / ``expired`` / ``denied``.
  - `status` string, required
  - `token` string, nullable
  - `user_email` string, nullable
  - `conglomerate_id` string, nullable
  - `expires_at` string, nullable

## Other responses

- `422` — Validation Error

---

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