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

# Changes to Create a hook

`POST /api/hooks`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 8 revisions.

- **2026-09-07** `5768a9ce87db`: 4 warning, 4 info

## Changes

- **2026-09-07** `5768a9ce87db`: 4 warning, 4 info
  - added the new `TrustedDevice.Created` enum value to the `event` response property for the response status `201`
  - added the new `TrustedDevice.Created` enum value to the `events/items/` response property for the response status `201`
  - added the new `TrustedDevice.Deleted` enum value to the `event` response property for the response status `201`
  - added the new `TrustedDevice.Deleted` enum value to the `events/items/` response property for the response status `201`
  - added the new `TrustedDevice.Created` enum value to the request property `event`
  - added the new `TrustedDevice.Created` enum value to the request property `events/items/`
  - added the new `TrustedDevice.Deleted` enum value to the request property `event`
  - added the new `TrustedDevice.Deleted` enum value to the request property `events/items/`

---

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