Skip to main content
Solved

Authenticating Webhooks

  • February 9, 2023
  • 3 replies
  • 291 views

Forum|alt.badge.img+2
  • Contributor I
  • 1 reply

Hi guys,

 

Is there any documentation on how I should be authenticating/verifying webhook requests sent from Klaviyo?

Best answer by abr

DavidSandel wrote:

In what way? In all the documentation I’ve seen, it shows exactly how and where to put the API key and/or what kind of headers are required for that endpoint.

I think what I want to do is to generate a timestamp & HMAC on the Klaviyo side, that I can then consume in my app.

Similarly to this: https://api.slack.com/authentication/verifying-requests-from-slack

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

DavidSandel
Partner - Silver
Forum|alt.badge.img+21
  • Partner - Silver
  • 155 replies
  • February 9, 2023

In what way? In all the documentation I’ve seen, it shows exactly how and where to put the API key and/or what kind of headers are required for that endpoint.


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 1 reply
  • Answer
  • February 9, 2023
DavidSandel wrote:

In what way? In all the documentation I’ve seen, it shows exactly how and where to put the API key and/or what kind of headers are required for that endpoint.

I think what I want to do is to generate a timestamp & HMAC on the Klaviyo side, that I can then consume in my app.

Similarly to this: https://api.slack.com/authentication/verifying-requests-from-slack


Brian Turcotte
Forum|alt.badge.img+37

Hi @abr!

 

Just adding the link to the docs that @DavidSandel mentioned:

 

As far as sending additional information, as of now you can include Properties, Event Variables, and Django Logic - so you may be able to use some combination of those to formulate a webhook action that’s similar to the one you referenced.

 

I hope this helps!

- Brian