---
title: "Creates an API key."
method: POST
path: "/manage/api/api_keys"
tags: ["manage"]
---

# Creates an API key.

`POST /manage/api/api_keys`

## Request body

- CreateApiKeyRequest, nullable
  - `label` string — User-supplied label shown alongside the key in the management UI.

## Response `200`

The newly created API key

- PostApiKeyResponse
  - `api_key` string, required — The API key to use when making authenticated requests with the API. This key will only be shown once.
  - `api_key_id` string, required — The ID of the API key. A URL safe base64 encoded UUID

## Other responses

- `401` — Not authorized
- `402` — Payment is required; did you create a subscription?

---

[API](https://skmtc.net/ideogram/apis/ideogram-openapi-3-0.md) · [All operations](https://skmtc.net/ideogram/apis/ideogram-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ideogram/ideogram-openapi-3-0/revisions/bd40f367a834/schema)
