---
title: "Create Api Key"
method: POST
path: "/api_keys"
tags: ["Api Keys"]
---

# Create Api Key

`POST /api_keys`

Create a api key

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- ApiKeyRequest
  - `description` string — A name or brief explanation of what this api key is used for
  - `role` string, required

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `422` — parameter validation error
- `500` — internal server error

---

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