Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Webhooks - The API strikes back
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Phil Nash
March 23, 2015
Programming
190
1
Share
Webhooks - The API strikes back
Phil Nash
March 23, 2015
More Decks by Phil Nash
See All by Phil Nash
Four steps from JavaScript to TypeScript
philnash
3
560
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
370
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
380
Better API DX with a CLI - APIdays Jakarta
philnash
0
450
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
280
Four steps from JavaScript to TypeScript
philnash
0
480
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
The trouble with webhooks - at APIdays Singapore
philnash
0
410
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
620
Other Decks in Programming
See All in Programming
AI時代になぜ書くのか
mutsumix
0
420
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
0
240
AI Agent と正しく分析するための環境作り
yoshyum
2
520
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
3
170
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
3
960
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
0
110
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
160
Are We Really Coding 10× Faster with AI?
kohzas
0
190
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
1
120
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.6k
Lightning-Fast Method Calls with Ruby 4.1 ZJIT / RubyKaigi 2026
k0kubun
3
3.2k
継続的な負荷検証を目指して
pyama86
3
1.2k
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
350
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
560
How to Talk to Developers About Accessibility
jct
2
200
A designer walks into a library…
pauljervisheath
211
24k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
440
Raft: Consensus for Rubyists
vanstee
141
7.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
How GitHub (no longer) Works
holman
316
150k
Transcript
WeB HookS
The api StrikeS bacK
Phil Nash @philnash http:/ /philna.sh
[email protected]
WeB HookS
WEBHOOKS
Webhooks • What are webhooks? • Developing with webhooks •
Webhook best Practices
WHAT ARE WEBHOOKS?
I COULD TELL YOU...
+447903517178
WEBHOOKS
QUESTIONS?
Webhooks everywhere • Twilio • GoCardless • GitHub • Mandrill
• Stripe • MailChimp • HipChat • SendGrid • DropBox • Slack
WHY WEBHOOKS?
None
WORKING WITH WEBHOOKS
None
NGROK
BECOMING AN API
Becoming an API • Security • Performance • Idempotence
SECURITY
None
USE HTTPS
WEBHOOK PROVIDERS SIGN THEIR REQUESTS
VERIFY THE SIGNATURE
SOME WEBHOOK PROVIDERS DON'T SIGN THEIR REQUESTS
¯\_( ツ)_/¯
SHARE SECRETS
PERFORMANCE
BE GOOD TO YOURSELF AND THE WEBHOOK
DELAY LONG RUNNING TASKS
IDEMPOTENCE
F(F(X)) = F(X)
RETRIES ARE WONDERFUL BUT...
SENDING HUNDREDS OF SMS IS NOT
Webhooks • Use webhooks instead of polling • Use ngrok,
or similar, for development • Secure your webhooks! • Respond quickly to webhooks • Idempotence (idempotence, idempotence...)
None
The modern communications conference http:/ /signal.twilio.com Get 20% off with
code NASH20
Image credits • Polling Station - secretlondon123 • Stevie Graham
- Stevie Graham
Help me! On a scale of 0 to 10, how
likely is it that you would recommend this talk to a friend or colleague? +447903517178
Thanks! @philnash http:/ /philna.sh
[email protected]
Help me! On a scale
of 0 to 10, how likely is it that you would recommend this talk to a friend or colleague? +447903517178