---
title: "Mint an lp_ API key (requires a Firebase ID token from sign-in)"
method: POST
path: "/keys"
---

# Mint an lp_ API key (requires a Firebase ID token from sign-in)

`POST /keys`

## Request

- Base URL: `https://lucid.page`
- URL: `https://lucid.page/keys`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `apiKey`
  - none

## Response `201`

The key, shown exactly once

- object
  - `accountId` string, required
  - `apiKey` string, required
  - `keyId` string, required
  - `note` string

## Other responses

- `401`: Missing or invalid Firebase ID token

---

[API](https://skmtc.dev/lucid/apis/lucid-page.md) · [All operations](https://skmtc.dev/lucid/apis/lucid-page/llms.txt) · [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-page/revisions/ac6b8c27c38b?raw)
