v24

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19169310464.0 KB
Hook

Edit Hook

Edit a hook subscription (events or state).

Allows updating the events filter and/or the state of a hook.

post/hooks/{hook_id}/edit

Path parameters

hook_idstring uuid required

Request body

eventsstring[] nullable

Updated list of events to subscribe to

statestring nullable

Updated hook state (active, disabled, deleted)

Response

Successful Response

idstring uuid required

The subscription ID

urlstring required

The webhook URL

eventsstring[] nullable

List of subscribed events

statestring required

The hook state

updatedboolean required

Whether the hook was updated