---
title: "Auth Device Approve"
method: POST
path: "/auth/device/approve"
---

# Auth Device Approve

`POST /auth/device/approve`

## Request

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

The human side of the device flow: type the user code
and log in with username/password. Approving binds the code
to the account — the password itself never reaches the
agent.

## Request body

- DeviceApproveBody
  - `password` string, required
  - `user_code` string, required
  - `username` string, required

## 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)
