---
title: "Changes to Create"
method: POST
path: "/api/v1/hooks"
---

# Changes to Create

`POST /api/v1/hooks`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 36 revisions.

- **2026-08-21** `f2cf3228f366`: 7 breaking, 19 warning, 6 info
- **2026-04-30** `fa2bb307d6fa`: 1 info

## Changes

- **2026-08-21** `f2cf3228f366`: 7 breaking, 19 warning, 6 info
  - the request property `builtinPattern` became not nullable
  - the request property `function` became not nullable
  - the `builtinPattern` request property type changed from `object` to no type
  - the `filter` request property type changed from `object` to no type
  - the `function` request property type changed from `object` to no type
  - added `#/components/schemas/c1.api.hooks.v1.Hook, subschema #2` to the `hook` response property `oneOf` list for the response status `200`
  - the `hook` response's property type changed from `object` to no type for status `200`
  - removed the request property `builtinPattern/creditCardBlocking`
  - removed the request property `builtinPattern/piiRedaction`
  - removed the request property `builtinPattern/queryScopeLimit`
  - removed the request property `builtinPattern/sensitiveFileGuard`
  - removed the request property `builtinPattern/writeAuthorization`
  - removed the request property `filter/celExpression`
  - removed the request property `function/commitId`
  - removed the request property `function/functionId`
  - removed the optional property `hook/builtinPattern` from the response with the `200` status
  - removed the optional property `hook/createdAt` from the response with the `200` status
  - removed the optional property `hook/description` from the response with the `200` status
  - removed the optional property `hook/displayName` from the response with the `200` status
  - removed the optional property `hook/enabled` from the response with the `200` status
  - removed the optional property `hook/event` from the response with the `200` status
  - removed the optional property `hook/filter` from the response with the `200` status
  - removed the optional property `hook/function` from the response with the `200` status
  - removed the optional property `hook/id` from the response with the `200` status
  - removed the optional property `hook/priority` from the response with the `200` status
  - removed the optional property `hook/updatedAt` from the response with the `200` status
  - added the new optional request property `jsonPatch`
  - added the new optional request property `managedByGuardrails`
  - added the new `HOOK_EVENT_TYPE_PRE_OUTPUT` enum value to the request property `event`
  - added `#/components/schemas/c1.api.hooks.v1.BuiltInPattern, subschema #2` to the `builtinPattern` request property `oneOf` list
  - added `#/components/schemas/c1.api.hooks.v1.HookFilter, subschema #2` to the `filter` request property `oneOf` list
  - added `#/components/schemas/c1.api.hooks.v1.HookFunctionRef, subschema #2` to the `function` request property `oneOf` list
- **2026-04-30** `fa2bb307d6fa`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/conductorone/apis/c1-api/docs/api/v1/hooks/post.md) - [API](https://skmtc.dev/conductorone/apis/c1-api.md) - [Page](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/hooks/post)
