1. Meraki
  2. API
  3. Webhook API
Search docsBETA
Meraki Webhook API
  • Introduction
  • Payload Templates
    • Overview
    • Getting Started
    • Custom Templates
  • Webhook Integrations
    • Overview
    • Meraki (default)
      • Included
      • Custom
    • DataDog
      • Custom
    • Microsoft Teams
      • Included
      • Custom
    • Jira
      • Custom
    • PagerDuty
      • Custom
    • ServiceNow
      • Included
    • Slack
      • Included
      • Custom
    • Webex
      • Included
      • Custom - Markdown
      • Custom - Adaptive Cards
    • Cisco XDR
      • Custom
  • Webhook Sample Alerts
  • Resources
    • Postman Collection
    • Webhook.site for testing
    • Learning Lab

Microsoft Teams

API Docs

Post a webhook alert into a Microsoft Teams channel.

Motion alert Power supply alert

You will first need to WebHook enable the channel. This process creates the HTTP server URL to enter into the Meraki Dashboard.

Template

  • body.liquid
  • HTTP Server URL: https://your-domain.atlassian.net/rest/api/2/issue/createmeta

body.liquid

liquid
Copy
{
    "@type": "MessageCard",
    "@context": "https://schema.org/extensions",
    "summary": "{{organizationName}}",

    "sections": [{
        "activityTitle": "{{organizationName}}",
        "activitySubtitle": "{{networkName}}",
        {% if alertData.imageUrl %}"images": [{"image":"{{alertData.imageUrl}}"}],{% endif %}
        "facts": [
    {
            "name": "When",
            "value": "{{occurredAt}}"
    },
        {
            "name": "Device",
            "value": "{{deviceName}}"
        },
        {
            "name": "Alert",
            "value": "{{alertType}} - {{alertLevel}}"
    }{% unless alertData.imageUrl %},
    {
            "name": "",
            "value": "{{alertData | json_markdown}}"
    }{% endunless %}],
    "markdown": true
  }],
    "potentialAction": [{
        "@type": "OpenUri",
        "name": "Org",
        "targets": [{"os": "default", "uri" : "{{organizationUrl}}"}]
    },
    {
        "@type": "OpenUri",
        "name": "Network",
        "targets": [{"os": "default", "uri" : "{{networkUrl}}"}]
    },
    {
        "@type": "OpenUri",
        "name": "Device",
        "targets": [{"os": "default", "uri" : "{{deviceUrl}}"}]
    }]
}
Next