---
title: "Create Cli Auth"
method: POST
path: "/me/cli-auth"
tags: ["User API"]
---

# Create Cli Auth

`POST /me/cli-auth`

Create a new CLI auth session.

## Response `200`

Successfully created CLI auth session

- CliAuthModel
  - `id` string, uuid, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `user_id` string, nullable
  - `jwt` string, nullable

## Other responses

- `503` — Toolhouse CLI Authentication Service Unavailable

---

[API](https://skmtc.net/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.net/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/toolhouse/toolhouse-api/versions/6e3bad3564b3/schema)
