Payload Structure
Fields
id
A unique identifier (UUID) for this specific webhook delivery. Use this to deduplicate events on your end.
event
The event type that triggered this webhook. Matches one of the event types you subscribed to during setup.
data
The event payload. Its shape depends on the event type — see the individual event documentation for field details.
timestamp
Unix timestamp in milliseconds indicating when the event was emitted.
webhook_id
The UUID of the webhook subscription that produced this delivery. Useful when you have multiple webhooks configured and need to identify the source.
attempt
The delivery attempt number, starting at 1. If your endpoint fails to respond with a 2xx status code, Struct will retry the delivery and increment this value.
Fields within
data may be null depending on the event type and the availability of enriched metadata at the time of delivery.