Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Webhooks - The API strikes back
Search
Phil Nash
March 23, 2015
Programming
1
180
Webhooks - The API strikes back
Phil Nash
March 23, 2015
Tweet
Share
More Decks by Phil Nash
See All by Phil Nash
Four steps from JavaScript to TypeScript
philnash
3
540
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
340
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
350
Better API DX with a CLI - APIdays Jakarta
philnash
0
420
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
260
Four steps from JavaScript to TypeScript
philnash
0
460
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The trouble with webhooks - at APIdays Singapore
philnash
0
370
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
580
Other Decks in Programming
See All in Programming
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
320
認証・認可の基本を学ぼう後編
kouyuume
0
180
開発に寄りそう自動テストの実現
goyoki
1
750
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
110
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
260
Cap'n Webについて
yusukebe
0
120
sbt 2
xuwei_k
0
250
dotfiles 式年遷宮 令和最新版
masawada
1
730
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
380
エディターってAIで操作できるんだぜ
kis9a
0
700
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
A Modern Web Designer's Workflow
chriscoyier
698
190k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Visualization
eitanlees
150
16k
Six Lessons from altMBA
skipperchong
29
4.1k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
The Cult of Friendly URLs
andyhume
79
6.7k
Context Engineering - Making Every Token Count
addyosmani
9
490
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Balancing Empowerment & Direction
lara
5
790
Done Done
chrislema
186
16k
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