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

# Changes to Create a temporary API key

`POST /api/temporary-keys/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 19 revisions.

- **2026-10-21** `c30bcb383ee8`: 7 breaking, 7 info
- **2026-10-02** `b830b79cfd52`: 1 breaking, 3 info
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
- **2026-09-12** `22b868ef3f22`: 1 info
- **2026-09-02** `764fca4d43e4`: 1 info
- **2026-08-13** `4e064cf81dae`: 21 breaking, 6 warning, 4 info
- **2026-07-31** `c26d550029f8`: 5 breaking, 1 warning, 29 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 7 breaking, 7 info
  - request body became required
  - the `limit_policies/items/warning_threshold` request property type changed from `number, null` to `number`, and format from `double` to no format
  - the response property `rate_limit` became nullable for the status `201`
  - the response property `spending_limit` became nullable for the status `201`
  - the response property `unique_organization_id` became nullable for the status `201`
  - the `rate_limit` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `201`
  - the `spending_limit` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `201`
  - api operation id `temporaryApiKeys_createApiKey` removed and replaced with `createApiKey`
  - api tag `Temporary API Keys` added
  - api tag `temporaryApiKeys` removed
  - the request property `limit_policies/items/notification_method_id` became nullable
  - the request property `limit_policies/items/warning_threshold` became nullable
  - the `limit_policies/items/max_value` request property format was generalized from `double` to no format
  - the `spending_limit` request property format was generalized from `double` to no format
- **2026-10-02** `b830b79cfd52`: 1 breaking, 3 info
  - the response property `spending_limit` became nullable for the status `201`
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `create-api-key` removed and replaced with `temporaryApiKeys_createApiKey`
- **2026-09-02** `764fca4d43e4`: 1 info
  - added the new optional request property `limit_policies`
- **2026-08-13** `4e064cf81dae`: 21 breaking, 6 warning, 4 info
  - the request property `expiry_date` became not nullable
  - the request property `rate_limit` became not nullable
  - the request property `spending_limit` became not nullable
  - the `rate_limit` request property type changed from `number, null` to `integer`, and format from `double` to no format
  - the response property `api_key` became optional for the status `201`
  - the response property `created` became optional for the status `201`
  - the response property `id` became optional for the status `201`
  - the response property `key_usage` became optional for the status `201`
  - the response property `prefix` became optional for the status `201`
  - removed the required property `created_by` from the response with the `201` status
  - removed the required property `hashed_key` from the response with the `201` status
  - removed the required property `last_used` from the response with the `201` status
  - removed the required property `organization` from the response with the `201` status
  - removed the required property `revoked_at` from the response with the `201` status
  - removed the required property `revoked_by_email` from the response with the `201` status
  - removed the required property `spending_in_period` from the response with the `201` status
  - removed the required property `status` from the response with the `201` status
  - removed the required property `suffix` from the response with the `201` status
  - removed the required property `tags` from the response with the `201` status
  - removed the required property `updated_by` from the response with the `201` status
  - removed the required property `user` from the response with the `201` status
  - removed the request property `is_temporary`
  - removed the request property `project`
  - removed the request property `revoked`
  - removed the optional property `is_temporary` from the response with the `201` status
  - removed the optional property `project` from the response with the `201` status
  - removed the optional property `revoked` from the response with the `201` status
  - the `is_test` request property default value `false` was added
  - the `max_usage` request property default value `-1` was added
  - added the non-success response with the status `401`
  - added the optional property `unique_organization_id` to the response with the `201` status
- **2026-07-31** `c26d550029f8`: 5 breaking, 1 warning, 29 info
  - the `rate_limit` request property type changed from `integer` to `number, null`, and format from no format to `double`
  - the response property `expiry_date` became nullable for the status `201`
  - the response property `rate_limit` became nullable for the status `201`
  - the response property `spending_limit` became nullable for the status `201`
  - the `rate_limit` response's property type changed from `integer` to `number, null`, and format from no format to `double` for status `201`
  - removed the optional property `created_at` from the response with the `201` status
  - added the new optional request property `is_temporary`
  - added the new optional request property `project`
  - added the new optional request property `revoked`
  - the request property `expiry_date` became nullable
  - the request property `rate_limit` became nullable
  - the request property `spending_limit` became nullable
  - the `is_test` request property default value `false` was removed
  - the `max_usage` request property default value `-1` was removed
  - removed the non-success response with the status `401`
  - added the optional property `is_temporary` to the response with the `201` status
  - added the optional property `project` to the response with the `201` status
  - added the optional property `revoked` to the response with the `201` status
  - the response property `api_key` became required for the status `201`
  - the response property `id` became required for the status `201`
  - the response property `key_usage` became required for the status `201`
  - the response property `prefix` became required for the status `201`
  - added the required property `created` to the response with the `201` status
  - added the required property `created_by` to the response with the `201` status
  - added the required property `hashed_key` to the response with the `201` status
  - added the required property `last_used` to the response with the `201` status
  - added the required property `organization` to the response with the `201` status
  - added the required property `revoked_at` to the response with the `201` status
  - added the required property `revoked_by_email` to the response with the `201` status
  - added the required property `spending_in_period` to the response with the `201` status
  - added the required property `status` to the response with the `201` status
  - added the required property `suffix` to the response with the `201` status
  - added the required property `tags` to the response with the `201` status
  - added the required property `updated_by` to the response with the `201` status
  - added the required property `user` to the response with the `201` status

---

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