Skip to main content
GET
List webhooks

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
Minimum string length: 1

Query Parameters

runtime_target_kind
enum<string> | null
Available options:
main_branch,
environment,
preview_branch,
null
target_environment_id
string<uuid> | null
target_branch_id
string<uuid> | null
source_target_kind
enum<string>
Available options:
project,
main_branch,
environment,
preview_branch
limit
integer

Maximum webhooks to return, from 1 to 100. Without limit and cursor the response lists every webhook; with a cursor alone, the page holds up to 100.

Required range: 1 <= x <= 100
cursor
string<uuid>

The page_info.next of the previous page: the id of its last webhook. Keep sort_order the same across pages. Only data and webhooks are paged; source_webhooks is listed on the first page only.

sort_order
enum<string>

Creation order: desc (newest first, the default) or asc.

Available options:
asc,
desc

Response

A page of webhooks

data
object[]
required

The page of webhooks, newest first by default.

page_info
object
required

Pages data (and webhooks) only, newest first by default. Pass next as cursor for the next page; it is null on the last page and whenever neither limit nor cursor is sent.

webhooks
object[]
required

Deprecated: the same page as data. Use data.

source_webhooks
object[]

Deprecated: use listSourceWebhooks. Webhooks declared in project source, returned on the first page when a source selector is sent.

diagnostics
object[]

Deprecated: use listSourceWebhooks. Source discovery diagnostics, returned with source_webhooks.