---
title: "Create an API key."
method: POST
path: "/v1/apikeys"
---

# Create an API key.

`POST /v1/apikeys`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/apikeys`
- Auth: HTTP bearer

Create an API key. The plaintext key is returned only in this response.

## Request body

- object
  - `label` string, required

## Response `201`

Successful response.

- object

## Other responses

- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
