---
title: "Poll CLI device authorization"
method: POST
path: "/cli/auth/poll"
tags: ["Auth"]
---

# Poll CLI device authorization

`POST /cli/auth/poll`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/cli/auth/poll`
- Auth: none required

## Request body

- PollCLIAuthInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `device_code` string, required

## Response `200`

OK

- PollCLIAuthOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `expires_in` integer, required
  - `interval` integer, required
  - `retry_after` integer
  - `status` string, required
  - `token` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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