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

# Changes to Create a new API key

`POST /secrets/api/keys`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 13 of 139 revisions.

- **2026-09-01** `e1d4e27b5677`: 1 warning
- **2026-07-31** `50b7421a9690`: 2 warning
- **2026-07-15** `f8ecf435d25d`: 4 warning
- **2026-07-09** `646d6658479b`: 1 breaking
- **2026-07-09** `7d57386313c7`: 6 breaking, 20 warning, 3 info
- **2026-07-09** `4b1a811c4179`: 12 breaking, 21 info
- **2026-06-22** `dfdec3f90590`: 2 info
- **2026-06-03** `7adf4f33ea1a`: 1 warning
- **2026-05-18** `8ec2edea6b20`: 4 warning
- **2026-04-10** `5856ed2fbdd6`: 1 warning
- **2026-04-06** `95af41a12111`: 4 warning, 8 info
- **2026-04-04** `9013edc21339`: 1 breaking
- **2026-03-20** `fdc2d8c76b76`: 1 warning

## Changes

- **2026-09-01** `e1d4e27b5677`: 1 warning
  - added the new `gcs` enum value to the `secret/provider` response property for the response status `201`
- **2026-07-31** `50b7421a9690`: 2 warning
  - added the new `azure_marketplace` enum value to the `secret/provider` response property for the response status `201`
  - added the new `gcp_marketplace` enum value to the `secret/provider` response property for the response status `201`
- **2026-07-15** `f8ecf435d25d`: 4 warning
  - added the new `aws_marketplace` enum value to the `secret/provider` response property for the response status `201`
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
  - added the new `tabs` enum value to the `secret/provider` response property for the response status `201`
- **2026-07-09** `646d6658479b`: 1 breaking
  - the `expires_at` request property format changed from no format to `date-time`
- **2026-07-09** `7d57386313c7`: 6 breaking, 20 warning, 3 info
  - request property `type` was restricted to a list of enum values
  - the `type` request property type changed from no type to `string`
  - the `secret/provider` response's property type changed from no type to `string` for status `201`
  - the `secret/status` response's property type changed from no type to `string` for status `201`
  - the `secret/type` response's property type changed from no type to `string` for status `201`
  - the `secret/user_type` response's property type changed from no type to `string` for status `201`
  - added the new `archived` enum value to the `secret/status` response property for the response status `201`
  - added the new `chargebee` enum value to the `secret/provider` response property for the response status `201`
  - added the new `deleted` enum value to the `secret/status` response property for the response status `201`
  - added the new `flexprice` enum value to the `secret/provider` response property for the response status `201`
  - added the new `hubspot` enum value to the `secret/provider` response property for the response status `201`
  - added the new `integration` enum value to the `secret/type` response property for the response status `201`
  - added the new `moyasar` enum value to the `secret/provider` response property for the response status `201`
  - added the new `nomod` enum value to the `secret/provider` response property for the response status `201`
  - added the new `paddle` enum value to the `secret/provider` response property for the response status `201`
  - added the new `private_key` enum value to the `secret/type` response property for the response status `201`
  - added the new `publishable_key` enum value to the `secret/type` response property for the response status `201`
  - added the new `published` enum value to the `secret/status` response property for the response status `201`
  - added the new `quickbooks` enum value to the `secret/provider` response property for the response status `201`
  - added the new `razorpay` enum value to the `secret/provider` response property for the response status `201`
  - added the new `s3` enum value to the `secret/provider` response property for the response status `201`
  - added the new `service_account` enum value to the `secret/user_type` response property for the response status `201`
  - added the new `stripe` enum value to the `secret/provider` response property for the response status `201`
  - added the new `user` enum value to the `secret/user_type` response property for the response status `201`
  - added the new `whop` enum value to the `secret/provider` response property for the response status `201`
  - added the new `zoho_books` enum value to the `secret/provider` response property for the response status `201`
  - added the new `integration` enum value to the request property `type`
  - added the new `private_key` enum value to the request property `type`
  - added the new `publishable_key` enum value to the request property `type`
- **2026-07-09** `4b1a811c4179`: 12 breaking, 21 info
  - removed the enum value `integration` of the request property `type`
  - removed the enum value `private_key` of the request property `type`
  - removed the enum value `publishable_key` of the request property `type`
  - the `type` request property type changed from `string` to no type
  - the `secret/created_at` response's property format changed from `date-time` to no format for status `201`
  - the `secret/expires_at` response's property format changed from `date-time` to no format for status `201`
  - the `secret/last_used_at` response's property format changed from `date-time` to no format for status `201`
  - the `secret/provider` response's property type changed from `string` to no type for status `201`
  - the `secret/status` response's property type changed from `string` to no type for status `201`
  - the `secret/type` response's property type changed from `string` to no type for status `201`
  - the `secret/updated_at` response's property format changed from `date-time` to no format for status `201`
  - the `secret/user_type` response's property type changed from `string` to no type for status `201`
  - the `expires_at` request property format was generalized from `date-time` to no format
  - removed the `archived` enum value from the `secret/status` response property for the response status `201`
  - removed the `chargebee` enum value from the `secret/provider` response property for the response status `201`
  - removed the `deleted` enum value from the `secret/status` response property for the response status `201`
  - removed the `flexprice` enum value from the `secret/provider` response property for the response status `201`
  - removed the `hubspot` enum value from the `secret/provider` response property for the response status `201`
  - removed the `integration` enum value from the `secret/type` response property for the response status `201`
  - removed the `moyasar` enum value from the `secret/provider` response property for the response status `201`
  - removed the `nomod` enum value from the `secret/provider` response property for the response status `201`
  - removed the `paddle` enum value from the `secret/provider` response property for the response status `201`
  - removed the `private_key` enum value from the `secret/type` response property for the response status `201`
  - removed the `publishable_key` enum value from the `secret/type` response property for the response status `201`
  - removed the `published` enum value from the `secret/status` response property for the response status `201`
  - removed the `quickbooks` enum value from the `secret/provider` response property for the response status `201`
  - removed the `razorpay` enum value from the `secret/provider` response property for the response status `201`
  - removed the `s3` enum value from the `secret/provider` response property for the response status `201`
  - removed the `service_account` enum value from the `secret/user_type` response property for the response status `201`
  - removed the `stripe` enum value from the `secret/provider` response property for the response status `201`
  - removed the `user` enum value from the `secret/user_type` response property for the response status `201`
  - removed the `whop` enum value from the `secret/provider` response property for the response status `201`
  - removed the `zoho_books` enum value from the `secret/provider` response property for the response status `201`
- **2026-06-22** `dfdec3f90590`: 2 info
  - added the optional property `secret/service_account_name` to the response with the `201` status
  - added the optional property `secret/user_id` to the response with the `201` status
- **2026-06-03** `7adf4f33ea1a`: 1 warning
  - added the new `whop` enum value to the `secret/provider` response property for the response status `201`
- **2026-05-18** `8ec2edea6b20`: 4 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - added the new `too_many_requests` enum value to the `code` response property for the response status `500`
- **2026-04-10** `5856ed2fbdd6`: 1 warning
  - added the new `zoho_books` enum value to the `secret/provider` response property for the response status `201`
- **2026-04-06** `95af41a12111`: 4 warning, 8 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - removed the optional property `success` from the response with the `500` status
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `500` status
  - added the optional property `http_status_code` to the response with the `400` status
  - added the optional property `http_status_code` to the response with the `500` status
  - added the optional property `message` to the response with the `400` status
  - added the optional property `message` to the response with the `500` status
- **2026-04-04** `9013edc21339`: 1 breaking
  - the `expires_at` request property format changed from no format to `date-time`
- **2026-03-20** `fdc2d8c76b76`: 1 warning
  - added the new `paddle` enum value to the `secret/provider` response property for the response status `201`

---

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