midAPI Design
What is a Webhook?
Updated Apr 28, 2026
Short answer
A way for an app to provide other applications with real-time information by pushing data when an event occurs.
Deep explanation
Intermediate API design involves handling complexity and security. A way for an app to provide other applications with real-time information by pushing data when an event occurs.
Real-world example
GitHub API using cursors for navigating large lists of commits.
Common mistakes
- Not versioning the API from day one, leading to breaking changes.
Follow-up questions
- Is PUT idempotent?
- Is POST idempotent?