---
title: "Create an API key (shown once)"
method: POST
path: "/api/v1/keys"
---

# Create an API key (shown once)

`POST /api/v1/keys`

## Request

- Base URL: `https://rows.page`
- URL: `https://rows.page/api/v1/keys`
- Auth: HTTP bearer

## Request body

- object
  - `label` string, nullable

## Response `201`

Created

- object
  - `id` string
  - `prefix` string
  - `label` string, nullable
  - `created_at` string
  - `last_used_at` string, nullable
  - `key` string

## Other responses

- `400`: Error
- `401`: Error

---

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