---
title: "Post api key"
method: POST
path: "/apiKeys/"
tags: ["ApiKeys"]
---

# Post api key

`POST /apiKeys/`

Creates a new api key for an organization.

## Headers

- `x-m2-organization-id` string, required

## Request body

- PostApiKeyRequest — Request body for creating a new API key
  - `displayName` string, required
  - `claims` object
  - `isActive` boolean, required
  - `permissions` string[], required

## Response `200`

Response body for creating a new API key

- PostApiKeyResponse — Response body for creating a new API key
  - `apiKey` string, required

---

[API](https://skmtc.net/otherside/apis/organizations.md) · [All operations](https://skmtc.net/otherside/apis/organizations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/organizations/revisions/7bb9c8fbb542/schema)
