Webhooks

Webhooks are a way to communicate between applications by sending data to another application when an event occurs. Webhooks are HTTP-based callback functions that are automated and triggered by an event in a source system, then sent to a destination system, providing event-driven capabilities utilizing simple HTTP "reverse APIs".

Also known as: HTTP callbacks, Reverse APIs, Event notifications

Standards

HTTP Headers

HeaderDirectionSpecDescription
Webhook-Id request Standard Webhooks Unique identifier for the delivery; used for idempotency.
Webhook-Timestamp request Standard Webhooks Unix timestamp of the delivery; used in the signature base string.
Webhook-Signature request Standard Webhooks HMAC signature over id.timestamp.payload, base64-encoded.
Signature request RFC 9421 HTTP Message Signatures — emerging standard for signed webhook deliveries.
User-Agent request RFC 9110 Identifies the sending platform; useful for receiver allowlists.
Content-Type request RFC 9110 Typically application/json or application/cloudevents+json.

Status Codes

Media Types

OpenAPI Expression

Governance Rules

Risk & Compliance

OWASP:

Compliance:

Security: Webhooks are an outbound and inbound attack surface. On the sender side, validate destination URLs (block private ranges, enforce TLS, allow only http/https), sign every payload, and rotate signing secrets. On the receiver side, verify signatures and timestamps before doing any work, dedupe on the delivery id, return 2xx fast and process asynchronously, and treat the payload as untrusted input.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Community Properties