---
title: "Create Current User Key"
method: POST
path: "/v0/users/me/keys"
tags: ["users"]
---

# Create Current User Key

`POST /v0/users/me/keys`

## Query parameters

- `retry` integer

## Request body

- UserApiKeyCreate
  - `name` string, required

## Response `200`

Successful Response

- DetailResponse
  - `detail` object, required

## Other responses

- `400` — If key `name` validation fails
- `401` — If user authentication fails
- `403` — If user does not have sufficient permissions, or if the maximum number of API keys would be exceeded
- `409` — If API key with the same `name` already exists
- `422` — Validation Error

---

[API](https://skmtc.net/databento/apis/databento-openapi-specification.md) · [All operations](https://skmtc.net/databento/apis/databento-openapi-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/databento/databento-openapi-specification/revisions/08ef3d01f5b8/schema)
