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

# POST /v1/api-keys

`POST /v1/api-keys`

## Request body

- object
  - `key_permissions` 'rw' | 'r' | 'w'
  - `api_key_name` string, required

## Response `200`

Ok

- union
  - object
    - `hashedKey` string, required
    - `apiKey` string, required
    - `id` string, required
  - object
    - `error` string, required

---

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