Lab 5 - Webhooks¶
So far, you've explored how to use Postman and the Meraki Python SDK to send requests to the Meraki dashboard—retrieving the operational status of your deployment or changing configurations in a programming way. But what if the Dashboard could proactively notify you when something happens? Meraki Webhooks offer a powerful, lightweight solution to send network alerts in minutes to remote services, such as instant messaging apps, ITSM platforms, or other monitoring and management systems.
Information
In this lab, you'll be guided through configuring Webhooks using the intuitive Meraki Dashboard. You can also leverage those Webhooks API endpoints from Meraki Python SDK to automate the settings.
Steps¶
- Visit https://webhook.site/ to generate a unique Webhook receiver URL. The page will show it's waiting for the first request from a sender (in this case, it's your Meraki lab organization). Copy your unique URL for use in the next steps.

- In the Meraki Dashboard, navigate to the branch network, then go to Network-wide > Alerts. Under the Webhooks section, select Add an HTTPS receiver.

- Name the HTTPS receiver Jumpstart-Webhooks, then paste your unique URL from Step 1 into the URL field. Leave other setting options as default and click Save.

Information
A Webhook HTTPS Receiver can have a Payload template assigned to it, which will be applied to each alert sent to the configured URL. The Meraki Dashboard provides built-in templates and also allow administrators to create custom templates.
- With both your Dashboard and webhook.site pages open side by side, click the Send test webhook button next to the HTTPS receiver you just created.

- On the Webhook receiver page, you should see a POST request from your lab network/organization. The test payload uses the alert type "Power supply went down".

- Now that you've set up both the Webhook receiver and Dashboard configuration, go to the Alerts page (Network-wide > Alerts) of your branch network. Check the box for "Configuration settings are changed," then click the plus (+) icon to add a recipient.

- Type "web" and select Webhook: Jumpstart-Webhooks. Then scroll to the bottom of the page and click Save.

- Next navigate to Switching > Switch Ports. Click the switch port 5 and change the switch port type to Access. Then click Update to save the configuration changes.

- Check the Webhook receiver—you should see a couple of new POST requests reflecting the changes made in steps 7 and 8.

Hint
Be patient! It may take a couple of minutes for the Dashboard to send notifications to the receiver via Webhooks.
To conclude this lab, here are common use cases for Webhooks:
- Integrating with reporting and automation systems
- Enabling around-the-clock network monitoring
- Receive near real-time updates for outages, network changes, and other network events
Congratulations on completing the Meraki Dashboard API Jumpstart lab!¶
To recap, you've learned how to:
- Navigate Meraki's developer documents and available resources
- Generate a Dashboard API key for your account
- Test a REST API call with cURL
- Use Postman with the Meraki collection to automate tasks
- Install Python and the Meraki SDK
- Understand how API endpoint resources are organized within the Meraki package folder
- Leverage key SDK features such as simulation mode and error retries to enhance the code
- Experience the power and flexibility of the Meraki Dashboard API
- Analyze your API usage through the built-in analytics in the Dashboard
- Use Webhooks to monitor and manage the alerts
Information
There are virtually unlimited use cases for streamlining your Meraki implementation and operations by leveraging the Dashboard API and the broader eco-system of Meraki platform.
Looking to connect with fellow developers and discover innovative projects? Explore Cisco Code Exchange and join the conversation in the Developers & API Community Forum.
Prefer plug-and-play over building from scratch? Browse the Cisco Networking App Marketplace for ready-to-use solutions that meet your needs.
To learn even more about Meraki APIs, please visit https://developer.cisco.com/meraki/.