Skip to main content
Solved

Authenticating Webhooks

  • February 9, 2023
  • 3 replies
  • 349 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

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

3 replies

DavidSandel
Partner - Silver
Forum|alt.badge.img+21
  • Partner - Silver
  • 157 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

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
  • Klaviyo Alum
  • 1393 replies
  • February 21, 2023

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