Receive webhook

http
POST /webhooks/{ingress_id}

Accept a delivery from an external sender at the public URL of a webhook, authenticated by the webhook secret and deduplicated by an idempotency key; returns the webhook event that stores the delivery.

Parameters

NameInRequiredDescription
ingress_idpathYesThe public id in the webhook URL (ingress_id on the webhook). An unknown id is not found.
secretqueryWebhook secret for native GitHub repository webhooks, which cannot send custom headers.
x-veryfront-webhook-secretheaderAuthenticate with the X-Veryfront-Webhook-Secret header: the secret returned when the webhook was created. Required unless secret is sent as a query parameter.
idempotency-keyheaderOptional Idempotency-Key header for duplicate delivery detection, 1-255 characters, scoped to the webhook (authenticate with the X-Veryfront-Webhook-Secret header). GitHub webhooks: when this header is absent, the X-GitHub-Delivery header GitHub sends is used as the idempotency key.
x-veryfront-source-event-idheaderOptional X-Veryfront-Source-Event-Id header: the sender's own id for this event, 1-255 characters, scoped to the webhook. It detects duplicates independently of the idempotency key: a delivery matching a stored event on either one returns that event with status 200. GitHub webhooks: when this header is absent, the X-GitHub-Delivery header is used as the source event id.

Responses

StatusDescription
200Duplicate webhook delivery accepted
202Webhook accepted
400invalid_input: missing secret, invalid body or headers, or the webhook is not enabled
404not_found: unknown ingress_id or wrong secret
409conflict: the idempotency key and source event id match different webhook events
412conflict: project automation is on hold
413limit_exceeded: payload over 64 KiB
429limit_exceeded: too many requests from this IP address
500internal