---
title: "Create API key"
method: POST
path: "/api-keys"
tags: ["Account"]
---

# Create API key

`POST /api-keys`

Creates a company-scoped API key. The plain key is returned only once.

## Request body

- object
  - `name` string — Human-readable key name.

## Response `200`

API key created

- object
  - `success` boolean
  - `apiKey` object
    - `id` string
    - `name` string
    - `key` string — Plain API key. This is shown only on creation.
    - `prefix` string
    - `createdAt` string, date-time
  - `message` string
  - `instructions` object

## Other responses

- `401` — Unauthorized
- `500` — API key could not be created

## Changes

- **2026-05-11** `ee7b7111c55b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/api-keys/post.md)

---

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