---
title: "Public Create Api Key"
method: POST
path: "/v1/admin/groups/{group_id}/api-keys"
tags: ["V1 - Admin"]
---

# Public Create Api Key

`POST /v1/admin/groups/{group_id}/api-keys`

## Request

- Base URL: `https://api.app.noxus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.noxus.ai/v1/admin/groups/{group_id}/api-keys`
- Auth: API key in header `X-API-Key`

## Path parameters

- `group_id` string, uuid, required

## Request body

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

## Response `200`

Successful Response

- ApiKey
  - `name` string, required
  - `id` string, uuid, required
  - `group_id` string, uuid, required
  - `value` string, required
  - `tenant_admin` boolean
  - `permissions` string[], nullable
  - `last_used` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noxus/apis/noxus-backend.md) - [All operations](https://skmtc.dev/noxus/apis/noxus-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/noxus/apis/noxus-backend/revisions/0e37810b7ad5?raw)
