Company
Date Published
Author
Tom Hacohen
Word count
1482
Language
English
Hacker News points
1

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.