---
title: "Begin a CLI login pairing"
method: POST
path: "/cli-auth/start"
tags: ["Auth"]
---

# Begin a CLI login pairing

`POST /cli-auth/start`

## Request

- Base URL: `https://api.madethis.com/v1`
- URL: `https://api.madethis.com/v1/cli-auth/start`
- Auth: none required

## Request body

- object
  - `client_secret_hash` string, required
  - `requested_preset` 'observer' | 'operator' | 'manager' | 'developer' | 'workspace'

## Response `201`

Success envelope.

- object
  - `data` object, required
    - `code` string, required
    - `verify_url` string, required
    - `expires_in_seconds` integer, required
  - `hint` string: One-sentence orientation for agents.
  - `next_action` string: The literal next call an agent would chain.

## Other responses

- `default`: Error envelope — machine-readable `code` plus a docs link.

---

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