---
title: "POST /v1/api-keys"
method: POST
path: "/v1/api-keys"
tags: ["ApiKeys"]
---

# POST /v1/api-keys

`POST /v1/api-keys`

## Request

- Base URL: `https://api.pinlyx.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pinlyx.com/v1/api-keys`
- Auth: HTTP bearer

## Request body

- CreateKeyRequest
  - `Name` string, nullable
  - `Scopes` string, nullable
  - `RateLimitPerMinute` integer, nullable
  - `AllowIps` string, nullable
  - `EnvLabel` string, nullable
  - `ExpiresAt` string, date-time, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/pinlyx/apis/pinlyx-public-api.md) · [All operations](https://skmtc.dev/pinlyx/apis/pinlyx-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pinlyx/apis/pinlyx-public-api/revisions/e45e0df8a1cd?raw)
