Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add twilio webhook endpoint for failed SMS deliveries #3110

Merged
merged 15 commits into from
Dec 6, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update endpoint response documentation
zatkiller committed Dec 1, 2021
commit 69873d1c1770decc22ca9d7f69873061add5bfc0
4 changes: 4 additions & 0 deletions src/app/routes/api/v3/notifications/notifications.routes.ts
Original file line number Diff line number Diff line change
@@ -15,5 +15,9 @@ NotificationsRouter.use('/bounces', BouncesRouter)
* status updates
*
* @route POST /api/v3/notifications/twilio
*
* @returns 200 when message succesfully received and logged
* @returns 400 when request is not coming from Twilio
* @returns 403 when twilio request validation failed
*/
NotificationsRouter.post('/twilio', handleTwilioSmsUpdates)