---
title: "Issue Cli Token"
method: POST
path: "/api/auth/cli-token"
tags: ["auth"]
---

# Issue Cli Token

`POST /api/auth/cli-token`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/auth/cli-token`
- Auth: HTTP bearer

Issue a CLI JWT for the authenticated user.

Called by the frontend /api/auth/cli-token route. The caller must present
a valid session JWT (Authorization: Bearer …); the user identity is taken
from that token, never from the request body, to prevent impersonation.

## Response `200`

Successful Response

- object

---

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