Best answer

Is using Webhook secured

  • 30 November 2022
  • 7 replies
  • 147 views

Hey guys,

I am looking to create a zap that is triggered when a user is buying an ecommerce item in my webflow site and trigger an http post request.

The thing is, in the URL i need to have an api private key.

Is it safe to use it this way? Is the weebhook url secured and not exposed?

 

Thanks a lot,

DuoDiv

icon

Best answer by Troy Tessalone 30 November 2022, 17:42

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Userlevel 7
Badge +14

Hi @DuoDiv

Good question.

The Webhooks app can handle API Keys/Tokens in Headers, query string parameters, or body parameters.

 

Basic Auth is also supported.

 

Hi @DuoDiv

Good question.

The Webhooks app can handle API Keys/Tokens in Headers, query string parameters, or body parameters.

 

Basic Auth is also supported.

 

Hi @Troy Tessalone, thanks for the reply,

Yes i know, but this is not what i need. The Webhook url contain my key.

Like: https://blabla.blabla.com/api/v2/API_KEY

Is it safe to put my private key in the webhook url?

Userlevel 7
Badge +14

@DuoDiv 

Yes, that’s supported.

The API request is not being sent via a browser.

@Troy Tessalone 

Hey mate :)

is there a way to add data to the request from a form submition that is submited during the checkout?

for example data from the checkout itself?

Userlevel 7
Badge +14

@DuoDiv 

That would have to be configured on the app that is making the webhook request.

@DuoDiv

That would have to be configured on the app that is making the webhook request.

@Troy Tessalone 

i am using webflow, and using the new order trigger.

Userlevel 7
Badge +14

@DuoDiv 

The data points would need to be available on the Webflow New Order trigger data in order to map to other Zap action steps.