---
title: "Changes to Create a new API key"
method: POST
path: "/v1/auth/keys"
---

# Changes to Create a new API key

`POST /v1/auth/keys`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-10-20** `1d21bd5bbf8e`: 9 info

## Changes

- **2026-10-20** `1d21bd5bbf8e`: 9 info
  - added the new optional request property `expiresInDays`
  - added the new optional request property `scope`
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the optional property `code` to the response with the `401` status
  - added the required property `code` to the response with the `429` status
  - added the required property `expiresAt` to the response with the `201` status
  - added the required property `scope` to the response with the `201` status
  - added the required property `workspaceId` to the response with the `201` status

---

[Operation](https://skmtc.dev/zindex/apis/zindex-api/docs/v1/auth/keys/post.md) · [API](https://skmtc.dev/zindex/apis/zindex-api.md) · [Page](https://skmtc.dev/zindex/apis/zindex-api/changes/v1/auth/keys/post)
