{
  "opencollection": "1.0.0",
  "info": {
    "name": "SIGNL4 Webhook and REST API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "Webhook",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Trigger Inbound Webhook Alert",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.signl4.com/webhook/:teamSecret",
            "params": [
              {
                "name": "teamSecret",
                "value": "",
                "type": "path",
                "description": "Team or webhook secret that authorizes the alert."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a SIGNL4 mobile alert by posting a payload containing Title and Message fields along with any optional X-S4 control parameters. Authentication is via the team or webhook secret embedded in the URL path. Supports application/json, application/x-www-form-urlencoded, and multipart/form-data content types."
        }
      ]
    },
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://connect.signl4.com/api/v2/events/:webhookIdOrTeamId",
            "params": [
              {
                "name": "webhookIdOrTeamId",
                "value": "",
                "type": "path",
                "description": "Webhook ID or team ID receiving the event."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-S4-Api-Key",
              "value": "{{X-S4-Api-Key}}",
              "placement": "header"
            }
          },
          "docs": "Raise an event in SIGNL4 that will be turned into a mobile alert. Authentication uses the X-S4-Api-Key header carrying the team or webhook secret."
        }
      ]
    }
  ],
  "bundled": true
}