Content Deep Dive
Webhook Versioning: How to Version Webhooks
Blog post from Svix
Post Details
Company
Date Published
Author
Tom Hacohen
Word Count
1,482
Language
English
Hacker News Points
1
Source URL
Summary
Webhook versioning is crucial to avoid breaking customers' integrations when making backward-incompatible changes. The most common methods of API versioning are path-based and header-based, but webhooks require a different approach due to their asynchronous nature. Svix recommends using per event-type versioning, which allows consumers to choose different versions for different event types and update gradually. This method offers the most flexibility for webhook senders and robust experience for consumers.