---
title: "Create a new API key"
method: POST
path: "/v1/keys"
tags: ["Keys"]
---

# Create a new API key

`POST /v1/keys`

## Request body

- object
  - `name` string — Optional human-readable label.

## Response `201`

Newly minted key. The full secret is returned exactly once.

- object
  - `id` string
  - `key` string — Full secret. Store immediately.
  - `prefix` string
  - `name` string, nullable
  - `created_at` string, date-time

---

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