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

# Create API key

`POST /api/api-keys`

## Request

- Base URL: `https://arc-relay.com`
- URL: `https://arc-relay.com/api/api-keys`
- Auth: HTTP bearer

## Request body

- object
  - `name` string
  - `scopes` string[]: Least-privilege scopes for this key. Omit or ["*"] for full access. Scoped keys cannot manage keys, billing, or the account itself.

## Response `200`

API key (shown once)

---

[API](https://skmtc.dev/arc-relay/apis/arc-relay-api.md) · [All operations](https://skmtc.dev/arc-relay/apis/arc-relay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/arc-relay/apis/arc-relay-api/revisions/1743ed2c49bc?raw)
