Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validate Twilio webhook incoming request with API key and secret, instead of using Auth Token

Instead of using Twilio Auth Token to validate the incoming webhook request from twilo, I want to use API key - API Key Secret combination to validate the request. I am not being able to find an option in twilio lib

like image 328
pramod1792 Avatar asked Oct 22 '25 18:10

pramod1792


1 Answers

I came across this and saw it was unanswered. Twilio employee here.

This is unfortunately not possible. All outgoing webhooks are signed with the PRIMARY auth token of your account.

As such, it's currently not possible validating these requests using either the secondary token or an API key.

like image 193
mmenschig Avatar answered Oct 25 '25 03:10

mmenschig



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!