Webhook shared secret with HTTP header

Solved
Shadyproject
Conversationalist

Webhook shared secret with HTTP header

Hi, I'm using a webhook that supports shared secrets, but the secret needs to be passed in via a configured http header (which IMO is the superior way to do this vs including the secret in the payload).  Is there a way to have the meraki webhook include the shared secret in a header?  Optionally, configuring the header name would be nice, but as long as I can figure out what the header name is to provide it to the receiving webhook, that would be sufficient.

 

Thanks.

1 Accepted Solution
sungod
Kind of a big deal

You can probably use the template tools to create the request in the form you need, see...

 

https://developer.cisco.com/meraki/webhooks/payload-templates-overview/

 

As an example, I've used it to put authentication info into the header for Splunk integration...

 

https://community.meraki.com/t5/Developers-APIs/Dashboard-Webhooks-to-Splunk/m-p/198696

 

 

 

View solution in original post

2 Replies 2
sungod
Kind of a big deal

You can probably use the template tools to create the request in the form you need, see...

 

https://developer.cisco.com/meraki/webhooks/payload-templates-overview/

 

As an example, I've used it to put authentication info into the header for Splunk integration...

 

https://community.meraki.com/t5/Developers-APIs/Dashboard-Webhooks-to-Splunk/m-p/198696

 

 

 

Shadyproject
Conversationalist

This did exactly what I wanted.  Thanks!

Get notified when there are additional replies to this discussion.