---
title: "Generate API Key"
method: POST
path: "/user/api-key/generate"
tags: ["API Key Management"]
---

# Generate API Key

`POST /user/api-key/generate`

## Request

- Base URL: `https://app.taisly.com/api/private`
- URL: `https://app.taisly.com/api/private/user/api-key/generate`
- Auth: HTTP bearer

Generate a new API key or regenerate if one already exists.

**IMPORTANT**:
- The full API key is only shown once. Save it securely.
- If you regenerate, the old key will be invalidated immediately.

## Response `200`

## Other responses

- `500`: Server error

---

[API](https://skmtc.dev/taisly/apis/taisly-api-documentation.md) · [All operations](https://skmtc.dev/taisly/apis/taisly-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/taisly/apis/taisly-api-documentation/revisions/664bfbec4cff?raw)
