Skip to main content
Standard WebhooksStandard Webhooks Flow Payroll’s webhooks follow version 1.0.0 of the open Standard Webhooks specification. The specification sets out a signature scheme and three headers, then a series of recommendations; it does not use formal MUST and SHOULD wording. This page takes its points in turn and says what we do. Yes means we do what the specification says, and the last column says how.

Signatures and headers

Payload

Event types

Delivery

Security

Additional functionality

What Flow Payroll adds

None of these change anything the specification requires, so the official verification libraries check our v1 signatures as they are.
  • Headers: X-Flow-Event-Type, X-Flow-Organisation-Id, X-Flow-Customer-Id, X-Flow-Delivery-Id, X-Flow-Delivery-Attempt and X-Request-Id, so you can route before parsing the body and quote ids to support.
  • Envelope fields: id, apiVersion, organisationId, customerId, livemode and metadata (resourceUrl, documentUrl, correlationId, payloadStyle, payloadDowngraded and the date formats).
  • Stopping one delivery: answer with a non-2xx status and the header webhook-delivery: abort-message to stop retrying that delivery without disabling the endpoint.
  • Pausing a failing endpoint: ten failures in a row pause deliveries for one minute, doubling each time up to 30 minutes, without using up attempts.
  • Operational events: webhook.endpoint.failing, webhook.endpoint.disabled and webhook.delivery.exhausted, so you can act on failures in code. See Operational events.
  • Test events: webhook.test, sent on demand. See Testing webhooks.
  • Account-wide endpoints: one endpoint for every organisation on an account, with organisations included or excluded. See Bureaux and many organisations.
  • Endpoint settings: strict Fifo ordering, a rateLimitPerSecond cap, custom headers (stored encrypted) and alert contacts. See Manage endpoints.
  • Versioned payloads: an endpoint keeps its apiVersion until you move it. See Versions.
  • Retry-safe API calls: an Idempotency-Key header on create, rotate, resend and replay.