---
title: "Create Pat"
method: POST
path: "/api/v1/auth/pat"
tags: ["auth"]
---

# Create Pat

`POST /api/v1/auth/pat`

Issue a new personal access token for the current user.

## Response `200`

Successful Response

- CreatePatResponse — Response returned when a new PAT is created, including the token value shown only once.
  - `id` string, uuid, required — Unique identifier for the PAT.
  - `created_at` string, required — ISO-8601 timestamp when the PAT was created.
  - `last_used_at` string, nullable — ISO-8601 timestamp when the PAT was last used, if ever.
  - `token` string, required — The raw PAT value. Only returned at creation time.

---

[API](https://skmtc.dev/omnara/apis/omnara-api.md) · [All operations](https://skmtc.dev/omnara/apis/omnara-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omnara/omnara-api/revisions/624048e40cad/schema)
