---
title: "Poll for approval"
method: POST
path: "/api/auth/device/token"
tags: ["auth"]
---

# Poll for approval

`POST /api/auth/device/token`

## Request

- Base URL: `https://api.zettoai.com`
- URL: `https://api.zettoai.com/api/auth/device/token`
- Auth: none required

Returns {error: 'authorization_pending'} until approved. Respect `interval`; back off on 'slow_down'. Terminal: 'access_denied', 'expired_token'. Single use.

## Request body

- object
  - `device_code` string, required

## Response `200`

Key, or a pending/terminal state

- object

---

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