Skip to main content
PATCH
Update webhook

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
webhook_id
string<uuid>
required

The webhook id. Updates require project.agents.write. When target is omitted, a stored conversation-backed target (create_new or existing conversation mode) still requires project.conversations.write.

Body

application/json

Updates require project.agents.write. When target is omitted, a stored conversation-backed target (create_new or existing conversation mode) still requires project.conversations.write.

name
string

New webhook name, 1-120 characters.

Required string length: 1 - 120
target
object

Target invoked by a webhook definition.

prompt_template
string

Prompt template for run targets. Not supported for event-only webhooks.

Required string length: 1 - 20000
event_filter
object | null

Optional incoming event filter. Missing, null, or empty conditions accept every event.

status
enum<string>

draft, enabled or disabled.

Available options:
draft,
enabled,
disabled

Response

Updated webhook metadata or status.

id
string<uuid>
required

The webhook id. Pass it as webhook_id to the other webhook operations.

project_id
string<uuid>
required
name
string
required
source
enum<string>
required
Available options:
webhook
target
object
required
prompt_template
string | null
required
event_filter
object | null
required

Optional incoming event filter. Missing, null, or empty conditions accept every event.

status
enum<string>
required
Available options:
draft,
enabled,
disabled
runtime_target_kind
enum<string>
required
Available options:
main_branch,
environment,
preview_branch
runtime_target_environment_id
string<uuid> | null
required
runtime_target_branch_id
string<uuid> | null
required
definition_source
enum<string>
required
Available options:
manual,
source
source_trigger_id
string | null
required
source_path
string | null
required
source_hash
string | null
required
ingress_id
string
required

The public id in webhook_url that external senders post to.

webhook_url
string
required
created_by_user_id
string<uuid>
required
enabled_at
string | null
required
disabled_at
string | null
required
disabled_reason
string | null
required
created_at
string
required
updated_at
string
required
webhook_id
string
required

Deprecated: the same value as ingress_id. Use ingress_id.