---
title: "Create API key."
method: POST
path: "/project/v1/api-keys/"
tags: ["api-keys"]
---

# Create API key.

`POST /project/v1/api-keys/`

Create a new API key for the project.

## Request body

- object
  - `name` string, required — Name for the API key
  - `domains` string[] — Allowed domains for this API key

## Response `201`

Default Response

- object
  - `data` object
    - `id` string
    - `name` string
    - `key` string
    - `domains` string[]
    - `createdAt` string, date-time
    - `active` boolean

---

[API](https://skmtc.dev/unlayer/apis/unlayer-api.md) · [All operations](https://skmtc.dev/unlayer/apis/unlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlayer/unlayer-api/revisions/6bef9fa0591c/schema)
