---
title: "Mint a new ingest API key"
method: POST
path: "/api/v1/projects/{projectId}/api-keys"
tags: ["API keys"]
---

# Mint a new ingest API key

`POST /api/v1/projects/{projectId}/api-keys`

## Path parameters

- `projectId` string, uuid, required

## Response `200`

Key minted (plaintext shown once)

- object
  - `api_key` object, required
    - `id` string, required
    - `name` string, required
    - `key_prefix` string, required — Stable prefix of the key (safe to display).
    - `plaintext` string, required — Full key. Shown once — store immediately.

## Other responses

- `401` — Missing / wrong-type / revoked token
- `404` — Resource not found in this org

---

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