---
title: "POST /user/api/v1/user-api-key/"
method: POST
path: "/user/api/v1/user-api-key/"
tags: ["user"]
---

# POST /user/api/v1/user-api-key/

`POST /user/api/v1/user-api-key/`

Create a new API key. When using API key authentication, only project-level API keys can be created.

## Request body

- UserAPIKey
  - `id` integer
  - `name` string
  - `organization_name` string
  - `project` integer, nullable
  - `project_name` string
  - `key` string
  - `created_at` string, date-time

## Response `201`

- UserAPIKey
  - `id` integer
  - `name` string
  - `organization_name` string
  - `project` integer, nullable
  - `project_name` string
  - `key` string
  - `created_at` string, date-time

---

[API](https://skmtc.net/cekura/apis/cekura-api.md) · [All operations](https://skmtc.net/cekura/apis/cekura-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cekura/cekura-api/revisions/d08e85615b58/schema)
