Subscribe to events, verify signatures, and retry safely.
Webhooks push events to your infrastructure so you can react without polling. Reliability hinges on verification, idempotency, and fast HTTP responses—treat the endpoint like a mini product.
Return 2xx only after you have safely persisted or handed off work. Use 5xx to signal transient failures worth retrying; 4xx for permanent misconfiguration.