---
title: "Cli Approve"
method: POST
path: "/api/auth/cli-approve"
---

# Cli Approve

`POST /api/auth/cli-approve`

Step 3 — browser (already-authenticated SPA) approves the pairing
by submitting the human-typeable `user_code`.

## Headers

- `authorization` string, nullable

## Request body

- CliApproveBody
  - `user_code` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
