{id}.{timestamp}.{body}, with 5 minutes of tolerance on the timestamp.
Subscribe
https:// URLs.
Verify and handle
Pass the body exactly as received, before any JSON parsing. Answer fast, then work. A retried delivery keeps itswebhook-id header: deduplicate on it.
event.type narrows event.data to the right shape. The complete program, with a run that suspends and completes, is in
examples/webhooks.
Events
Every event about a run carries the run’s state as the event left it, its
namespace and its labels.