---
title: "Desktop Token"
method: POST
path: "/api/auth/google/token"
---

# Desktop Token

`POST /api/auth/google/token`

## Request

- Base URL: `https://api.nullprint.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nullprint.ai/api/auth/google/token`
- Auth: none declared

RFC 8628 风格:authorization_pending · slow_down · expired_token(不存在 / 已用 / 过期不区分)·
access_denied + reason;成功 = /api/auth/login 同形状,签票前检查失败原样 4xx {detail:{reason}}。

## Request body

- DesktopTokenBody
  - `poll_code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nullprint/apis/nullprint-backend.md) · [All operations](https://skmtc.dev/nullprint/apis/nullprint-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/nullprint/apis/nullprint-backend/revisions/51dfcef9dce2?raw)
