Skip to main content
Contributor I
Feb 9, 2023 11:46 AM UTC
Solved

Authenticating Webhooks

Hi guys,

 

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

    This topic has been closed for replies.
    abrAnswer
    Contributor I
    Feb 9, 2023 12:11 PM UTC

    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
    Partner - Silver
    Feb 9, 2023 11:51 AM UTC

    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.

    Klaviyo Silver Master --> LowGravitySolutions.com
    abrAuthorAnswer
    Contributor I
    Feb 9, 2023 12:11 PM UTC

    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
    Klaviyo Alum
    Feb 21, 2023 3:38 PM UTC

    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