API Design · Senior · Question 13 of 75
What problem does a 'thin event' webhook design solve?
- 1It removes the need for authentication
- 2It makes webhooks encrypted
- ✓Correct answer: Events carry only IDs and type; receivers fetch the current state from the API, which avoids acting on stale or out-of-order payloads
Explanation
The trade-off is an extra API call per event. 'Fat' events save calls but need versioning and ordering care.