---
title: "Create Api Key"
method: POST
path: "/api/users/me/api-keys"
tags: ["Users"]
---

# Create Api Key

`POST /api/users/me/api-keys`

Create a new API key.

The raw key is only returned once - save it immediately!

Args:
    name: User-friendly name for the key
    permissions: List of platforms (default: all)

## Request body

- CreateApiKeyRequest
  - `name` string, required
  - `permissions` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/shofo/apis/shofo-api.md) · [All operations](https://skmtc.dev/shofo/apis/shofo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shofo/shofo-api/revisions/9fbdf65aab60/schema)
