Solved

Webhook to Twilio 401 error

  • 22 March 2022
  • 2 replies
  • 208 views

Badge

Has anyone successfully sent a webhook request directly to the Twilio messaging API from a Klaviyo flow? I’m getting a 401 error with no additional information, and I know my credentials are correct because I’m able to send a successful request from Postman>Twilio and Zapier>Twilio with the same settings.

icon

Best answer by Taylor Tarpley 23 March 2022, 16:56

View original

2 replies

Userlevel 6
Badge +54

Hi @tony-owl

 

Welcome to the Community! 

 

Do you mind sharing what information you’re looking to send to Twilio from a Klaviyo Flow or what you’re goal in the process is? Additionally, can share how you’re setting up your webhook? That might help me better understand why you’re getting an error here.

 

 Typically, a 401 error is an authentication issue. This could either mean that your aren’t authorized to make the request or not have the correct permissions set within Twilio to accept the webhook from Klaviyo. 

 

Looking forward to solving this with you! Thanks for sharing your question with the Community! 

-Taylor 

Badge

Hi Taylor,

 

Do Klaviyo webhooks support basic authentication? I’m using the following header:

 

authorization: "Basic {TWILIO API KEY SID}:{TWILIO API KEY SECRET}"

Reply