---
title: "Device Token Poll"
method: POST
path: "/api/v1/auth/cli/token"
tags: ["authentication"]
---

# Device Token Poll

`POST /api/v1/auth/cli/token`

Poll for device authorization status.

Returns the access token once the user has authorized the device code.

## Request body

- DevicePollRequest — Body for POST /auth/cli/token - poll for device authorization.
  - `device_code` string, required
  - `grant_type` string

## Response `200`

Successful Response

- DevicePollResponse — Response for device token poll.
  - `access_token` string
  - `expires_at` number, nullable
  - `refresh_token` string, nullable
  - `token_type` string
  - `status` string

## Other responses

- `404` — SSO authentication is not configured on this server
- `422` — Validation Error

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/versions/86f514b4e920/schema)
