Forgejo API
GET/admin/hooks

List global system webhooks

Lists global system webhooks. Use page and limit to paginate the results, and inspect each hook's configuration, event list, activity status, and timestamps. The returned hook configuration includes a deprecated config field alongside metadata.

2 parameters
pageintegeroptional
The 1-based page number of hooks to return.
limitintegeroptional
The number of hooks to return per page.

1 status code
200Returns an array of global hook objects containing their identifiers, types, event lists, activation status, configuration, metadata, URLs, and creation and update timestamps.
activebooleanoptional
authorization_headerstringoptional
branch_filterstringoptional
configobjectoptional
Deprecated: use Metadata instead
content_typestringoptional
created_atstringoptional
eventsarray<string>optional
idintegeroptional
metadataunknownoptional
typestringoptional
updated_atstringoptional
urlstringoptional

Error handling

page and limit must be integer values when supplied. Use those parameters to select the page and number of hooks to return.