Skip to main content
POST
Create 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

Body

application/json
name
string
required

Webhook name, 1-120 characters.

Required string length: 1 - 120
target
object
required

Target invoked by a webhook definition.

prompt_template
string

Prompt template for run targets: required unless target.kind is event, where it is not supported.

Required string length: 1 - 20000
event_filter
object | null

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

Response

Created webhook

webhook
object
required
webhook_secret
string
required

Secret for the X-Veryfront-Webhook-Secret header. Returned only once, on create; store it now.