IN BETA: Webhook **Custom** Payload Templates

Meraki Employee

IN BETA: Webhook **Custom** Payload Templates

The new Webhook Payload Templates feature is awesome!




     Can I change the formatting a little?

     Does this work with my favorite messaging service?

     Do you support custom authentication headers? 




Instead of Meraki making these decisions and building one-off integrations, why not let the user take control?!


Now in Beta, you can create custom payload templates for webhooks to fit the JSON shape, markdown preference and authentication headers that fit your needs.


Custom Payload Templates - Documentation


Check out the Template Examples section to explore integrations and ideas for your next solution.





Also available in our GitHub repository 








Use the Dashboard API to upload and edit your payload templates.




Postman Collection for just webhooks management



Assign payload templates using either the Dashboard or the API





What does a template look like?

A template is written in Liquid, which uses a familiar{{variable}} syntax for those of you who use Postman. The templates will be used to generate the webhook, where the variables and any special liquid syntax will be rendered. This gives you total control as to how you shape the JSON message.


Template - body.liquid







Beta participants have access to this endpoint today, and we're excited to hear your feedback. 

How do I join the beta?

If you'd like the join the beta, you can get started here.


When will these features be generally available?

The GA date is TBD but we look forward to sharing more information as we collect beta feedback.

Kind of a big deal

That is super powerfull.

Kind of a big deal

The templates are network-centric.  They need to be loaded into every network.


Wouldn't organisation centric be a better place for them?


I just can't imagine a case where you would create a template to say how to lay something out for a specific service (such as "Service X"), and then would want to very that per network.  And even if you did, you could just use unique template names.


The HTTP Servers are network-scoped, so the payload templates followed the similar structure. That being said, we are looking at options for org-wide management but it may take some time. Until then, I would make use of Action Batches if you have to deploy these at scale. 



Meraki Employee

Game Changer! 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.