cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3314
Views
3
Helpful
2
Replies

Webhook shared secret with HTTP header

Shadyproject
Community Member

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

Accepted Solutions

sungod
Level 11
Level 11

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
Level 11
Level 11

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

This did exactly what I wanted. Thanks!