---
title: "Changes to This will validate a key definition."
method: POST
path: "/tyk/keys/preview"
---

# Changes to This will validate a key definition.

`POST /tyk/keys/preview`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 54 revisions.

- **2026-10-08** `62fd487c952d`: 2 info
- **2026-04-08** `dd3336b65081`: 4 info
- **2025-02-07** `3d8e4f5b3dab`: 3 breaking, 3 info
- **2024-09-18** `111affa17abe`: 1 info
- **2022-05-24** `111d8ca21864`: 1 breaking

## Changes

- **2026-10-08** `62fd487c952d`: 2 info
  - added the new optional request property `access_rights/additionalProperties/allowed_urls/items/conditions`
  - added the optional property `access_rights/additionalProperties/allowed_urls/items/conditions` to the response with the `200` status
- **2026-04-08** `dd3336b65081`: 4 info
  - added the new optional request property `post_expiry_action`
  - added the new optional request property `post_expiry_grace_period`
  - added the optional property `post_expiry_action` to the response with the `200` status
  - added the optional property `post_expiry_grace_period` to the response with the `200` status
- **2025-02-07** `3d8e4f5b3dab`: 3 breaking, 3 info
  - the response property `access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing` became nullable for the status `200`
  - the response property `access_rights/additionalProperties/limit/smoothing` became nullable for the status `200`
  - the response property `smoothing` became nullable for the status `200`
  - the request property `access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing` became nullable
  - the request property `access_rights/additionalProperties/limit/smoothing` became nullable
  - the request property `smoothing` became nullable
- **2024-09-18** `111affa17abe`: 1 info
  - endpoint added
- **2022-05-24** `111d8ca21864`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/docs/tyk/keys/preview/post.md) - [API](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api.md) - [Page](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/keys/preview/post)
