---
title: "Changes to Mint a Replo API key with repository scopes. type user (the default) follows your live access to every project, for a coding agent such as Codex or Claude Code; type project reaches only projectIds, for CI or automation. Requires the api_keys.write scope when called with an API key."
method: POST
path: "/api-keys"
---

# Changes to Mint a Replo API key with repository scopes. type user (the default) follows your live access to every project, for a coding agent such as Codex or Claude Code; type project reaches only projectIds, for CI or automation. Requires the api_keys.write scope when called with an API key.

`POST /api-keys`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 23 revisions.

- **2026-11-04** `53d194ba2067`: 9 info
- **2026-10-29** `666c31ceb45c`: 4 breaking, 1 warning, 6 info
- **2026-10-08** `bed444e713a4`: 1 breaking, 1 info
- **2026-09-09** `6324f4b55035`: 1 breaking, 2 info

## Changes

- **2026-11-04** `53d194ba2067`: 9 info
  - added the optional property `error/issues` to the response with the `400` status
  - added the optional property `error/issues` to the response with the `401` status
  - added the optional property `error/issues` to the response with the `403` status
  - added the optional property `error/issues` to the response with the `404` status
  - added the optional property `error/issues` to the response with the `409` status
  - added the optional property `error/issues` to the response with the `413` status
  - added the optional property `error/issues` to the response with the `429` status
  - added the optional property `error/issues` to the response with the `500` status
  - added the optional property `error/issues` to the response with the `503` status
- **2026-10-29** `666c31ceb45c`: 4 breaking, 1 warning, 6 info
  - added the new required request property `expiresInDays`
  - added the new required request property `projectIds`
  - removed the enum value `2026-10-05` from the `header` request parameter `Replo-Api-Version`
  - removed the required property `projectId` from the response with the `201` status
  - removed the request property `projectId`
  - added the new optional request property `type`
  - added the new enum value `2026-10-29` to the `header` request parameter `Replo-Api-Version`
  - added the required property `expiresAt` to the response with the `201` status
  - added the required property `git` to the response with the `201` status
  - added the required property `projectIds` to the response with the `201` status
  - added the required property `type` to the response with the `201` status
- **2026-10-08** `bed444e713a4`: 1 breaking, 1 info
  - removed the enum value `2026-09-08` from the `header` request parameter `Replo-Api-Version`
  - added the new enum value `2026-10-05` to the `header` request parameter `Replo-Api-Version`
- **2026-09-09** `6324f4b55035`: 1 breaking, 2 info
  - removed the enum value `2026-08-21` from the `header` request parameter `Replo-Api-Version`
  - added the new enum value `2026-09-08` to the `header` request parameter `Replo-Api-Version`
  - added the non-success response with the status `413`

---

[Operation](https://skmtc.dev/replo/apis/replo-public-api/docs/api-keys/post.md) - [API](https://skmtc.dev/replo/apis/replo-public-api.md) - [Page](https://skmtc.dev/replo/apis/replo-public-api/changes/api-keys/post)
