---
title: "Poll CLI authentication status"
method: POST
path: "/auth/cli/poll"
tags: ["CLI Authentication"]
---

# Poll CLI authentication status

`POST /auth/cli/poll`

Check the status of a CLI authentication session using the polling code

## Request body

- object
  - `polling_code` string, required

## Response `200`

Successful response

- object
  - `status` 'waiting' | 'success' | 'expired' | 'used', required
  - `refresh_token` string

## Other responses

- `201` — Successful response

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/9b9326fe08a5/schema)
