---
title: "Auth Device Code"
method: POST
path: "/auth/device/code"
---

# Auth Device Code

`POST /auth/device/code`

## Request

- Base URL: `https://api.textforagents.com`
- URL: `https://api.textforagents.com/auth/device/code`
- Auth: none declared

Start the device-code flow: the agent shows its human
the user_code + verification path; the human approves by
logging in there. The agent then polls /auth/device/token.

## Request body

- DeviceCodeBody
  - `scope` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/textforagents/apis/textforagents-api.md) · [All operations](https://skmtc.dev/textforagents/apis/textforagents-api/llms.txt) · [OpenAPI document](https://skmtc.dev/textforagents/apis/textforagents-api/revisions/9306ab0e457b?raw)
