---
title: "Cli Auth Start"
method: POST
path: "/v1/auth/cli/start"
tags: ["auth"]
---

# Cli Auth Start

`POST /v1/auth/cli/start`

Begin a CLI device-authorization session (no auth).

Returns a secret `device_code` (the CLI keeps it and polls with it) and a
short `user_code` embedded in the verification URL the user opens.

## Response `200`

Successful Response

- CliAuthStartResponse
  - `device_code` string, required
  - `user_code` string, required
  - `verification_uri` string, required
  - `interval` integer, required
  - `expires_in` integer, required

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
