name: webhook-event-envelope-standard description: Designs secure webhook event payloads with standardized metadata, UUIDs, and event type namespaces. Use when architecting outward-bound webhook notification systems. license: MIT metadata: author: Community List Maintainers version: "1.0.0" source: "https://www.standardwebhooks.com/"
Webhook Event Envelope Standard
Overview
Inconsistent webhook formats burden external integrators. The Standard Webhooks specification defines uniform envelope structure (id, type, timestamp, data) and HMAC signing conventions.
Operational Workflow
Structure standard top-level JSON fields:
- Structure standard top-level JSON fields: id (msg_UUID), type (domain.resource.action), and timestamp.
Encapsulate domain event entity inside the data payload object.:
- Encapsulate domain event entity inside the data payload object.
Compute HMAC-SHA256 signature and attach msg-id, msg-timestamp, and signature in request headers.:
- Compute HMAC-SHA256 signature and attach msg-id, msg-timestamp, and signature in request headers.
Provide public developer documentation detailing event schemas and retry backoff policies.:
- Provide public developer documentation detailing event schemas and retry backoff policies.
Recommended Tools & Environments
- JSON
- Standard Webhooks Spec
- HMAC
- TypeScript
Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.