BetaThe webhook configuration
Deploying Webhooks via Blueprints is experimental. This feature is stabilizing but may still be subject to breaking changes.
Configuration for a webhook This feature is subject to breaking changes.
BetaapiVersion: stringMust start with 'v' and use the format YYYY-MM-DD
Betadataset: stringOptional Betadescription?: string | nullOptional BetadisplayName?: stringDisplay name shown in the Sanity dashboard
Optional Betafilter?: stringOptional Betaheaders?: Record<string, string>Optional BetahttpMethod?: "POST" | "PUT" | "PATCH" | "DELETE" | "GET"Optional BetaincludeAllVersions?: booleanOptional BetaincludeDrafts?: booleanBetaname: stringBetaon: WebhookTrigger[]Optional Betaproject?: stringOptional Betaprojection?: stringOptional Betasecret?: stringOptional Betastatus?: "enabled" | "disabled"Betaurl: stringThe webhook resource
Defines a webhook that is called when document changes occur.