Your REST API Needs Webhooks

ArjanCodes ยท Beginner ยท๐Ÿ—๏ธ Systems Design & Architecture ยท2w ago
๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Take your personal data back with Incogni! Use code ARJANCODES and get 60% off an annual plan: [https://incogni.com/arjancodes](https://incogni.com/arjancodes%E2%80%8B) In this video, I show how to add webhooks to a FastAPI application, and then take it one step further with a cleaner, event-driven design. Instead of tightly coupling your endpoints to integrations, youโ€™ll learn how to decouple side effects using events, making your API more flexible and easier to extend. ๐Ÿ”ฅ GitHub Repository: https://git.arjan.codes/2026/webhook. ๐ŸŽ“ ArjanCodes Courses: https://www.arjancodes.com/courses. ๐Ÿ’ฌ Join my Discord server: https://discord.arjan.codes. โŒจ๏ธ Keyboard Iโ€™m using: https://amzn.to/49YM97v. ๐Ÿ”– Chapters: 0:00 Intro 1:27 Simple Webhooks 6:01 Incogni Sponsored Segment 7:38 Trigger Webhooks From the Endpoint 8:21 The Design Problem 9:06 Introduce Events 11:25 Refactor the Endpoint 13:35 Move Webhooks to Listeners 15:32 Why This Is Better 16:17 Production Reality Check 17:18 Final Thoughts #arjancodes #softwaredesign #python
Watch on YouTube โ†— (saves to browser)
Sign in to unlock AI tutor explanation ยท โšก30

Related AI Lessons

Chapters (11)

Intro
1:27 Simple Webhooks
6:01 Incogni Sponsored Segment
7:38 Trigger Webhooks From the Endpoint
8:21 The Design Problem
9:06 Introduce Events
11:25 Refactor the Endpoint
13:35 Move Webhooks to Listeners
15:32 Why This Is Better
16:17 Production Reality Check
17:18 Final Thoughts
Up next
How to improve show rate from paid ads.
Dr. Matt Shiver
Watch โ†’