---
title: "POST /api/v1/apikeys"
method: POST
path: "/api/v1/apikeys"
---

# POST /api/v1/apikeys

`POST /api/v1/apikeys`

Create a new apikey.

## Request body

- ApiKey
  - `id` string — The unique identifier for the API key.
  - `uid` string
  - `user` string
  - `key_hash` string
  - `metadata` object
  - `created_at` string
  - `enabled` boolean

## Response `201`

Single action being created

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/stackstorm/apis/stackstorm-api.md) · [All operations](https://skmtc.net/stackstorm/apis/stackstorm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stackstorm/stackstorm-api/revisions/85e49f390588/schema)
