How to use the Rest API to manage SIGNL4 categories

Sep 20, 2023 | Developer, DevOps

SIGNL4 Categories

The categories in SIGNL4 are a powerful tool to make it clear to users at first glance what a particular alert is about. For example, colors, icons, location and predefined texts can be configured here.

Categories can be created and edited manually.

Manage Categories automatically

In certain circumstances it can be useful to create or delete categories automatically. This can be the case, for example, if you have multiple teams and they only want to use certain categories, or even if you want to equip a SIGNL4 account with your categories before handing it over to one of your customers, for example. This can greatly simplify the onboarding process for SIGNL4 teams.

Use the REST API

The SIGNL4 REST API offers functions, to add, delete and manage categories. In order to use the API you first need a SIGNL4 API Key. You get this one in the SIGNL4 We portal under Integrationen -> API Keys.

The following functions are especially helpful for managing the categories.


# Get Teams
# As a result you get the team id(s) that you need in the next steps
GET https://connect.signl4.com/api/teams
X-S4-Api-Key: your-api-key

# Get Categories
# Get all categories for the given team
GET https://connect.signl4.com/api/categories/your-team-id
X-S4-Api-Key: your-api-key

# Add Category
POST https://connect.signl4.com/api/categories/your-team-id
X-S4-Api-Key: your-api-key
Content-Type: application/json
Accept: application/json

{
"augmentations": [
{
"enabled": false,
"name": "",
"type": "Subject",
"value": ""
},
{
"enabled": false,
"name": "",
"type": "Location",
"value": ""
},
{
"enabled": false,
"name": "",
"type": "Text",
"value": ""
}
],
"color": "#30AFE5",
"imageName": "bug.svg",
"keywordMatching": "Any",
"keywords": [
"keyword1",
"keyword2"
],
"name": "My New Category"
}

# Delete Category (team id / category id)
DELETE https://connect.signl4.com/api/categories/your-team-id/your-category-id
X-S4-Api-Key: your-api-key

By the way, the above codes can be used with Visual Studio Code. With the REST Client extension you can also call and test the requests directly from there. This is quite convenient and maybe also an option to simplify the category creation.

You can learn about category based alerting here.

Automation with Node-RED

To automate the creation or deletion of categories, you can use, for example, no-code platforms such as Make.com, n8n, or Node-RED. We have provided an example of a Node-RED flow that creates a category. There, the functions with the parameters (API Key and Team ID) still have to be adjusted.

Discover SIGNL4

Dashboard of SIGNL4's mobile Alerting App

Stay ahead of critical incidents with SIGNL4 and its superpowers. SIGNL4 provides superior and automated mobile alerting, delivers alerts to the right people at the right time and enables operations teams to respond and to manage incidents from anywhere.

Learn more about SIGNL4 and start your free 30-days trial.

    Mobile Alerting & Anywhere Incident Response

    Feature Overview

    A comprehensive Platform for mobile Alerting for an up to 10x faster Response

    AIOps and AI Alerting

    AI-powered Alerting and Alert & Incident Management

    Reliable Alert Notifications

    Alert Notifications by push, text, voice and email. With Tracking and Escalations

    Alerting App

    The modern Way of receiving and managing critical Alerts on-the-go

    On-Call Scheduling

    Ai-powered Scheduling and Management of On-Call Duties and Shifts

    Call Routing

    Live call routing and a Voice Mailbox for modern after-business Hours Operations

      Use Cases

      IT Alerting

      Stay ahead of critical IT incidents and minimize downtime with SIGNL4 – automated, secure, and in real-time

      Incident Management

      Accelerate response, and streamline incident workflows with real-time mobile alerts

      SecOps Alerting

      Respond faster to cyber threats with mobile-first alerting

      SCADA Alarm Notifications

      Respond faster to machine breakdowns, quality issues, and maintenance calls

        IoT Service Alerting

        Automatically alert and notify your field service teams based on real-time signals from your IoT sensors and devices

        Field Service Alerting

        Automated Mobile Routing of Service Requests and Alerts to Field Teams

        On-Call Management

        Create and manage duty schedules, automate alert delivery, escalate seamlessly, and route after-hours calls

        After-Hours Call Routing

        SIGNL4 automatically routes after-hours calls to on-call staff – ensuring timely response and 24/7 coverage

        Building Automation

        Ensure fast response, fewer disruptions, and better facility management and service

        Emergency Alerting

        Keep your teams prepared when every second counts. SIGNL4 delivers fast, reliable emergency notifications

        Alert Management

        A central alert management hub helps to streamline alerting processes from multiple enterprise systems

        Integrations and APIs

        Integrations Overview

        We have verified and tested 200+ Integrations with 3d Party Products

        EMail (SMTP)

        The fastest and easiest way to connect to SIGNL4.

        REST API

        Seamlessly integrate services or implement additional features

        Webhook

        SIGNL4’s most popular and flexible integration

          Selected Customer Case Studies

          Berlin-Brandenburg Airport

          Automated Alerts and Mobile Incident Response for Luggage Transportation Systems

          BASF Coatings

          Automated Transport Dispatching with IoT Buttons and a mobile App for optimized Intralogistics

          RedIron, Canada

          Unifying Alerts and Notifications in mission-critical IT Operations

          CSP Lighthouse, Australia

          Reliable 24/7 Alerting for a global Cybersecurity Service Provider

            Swiss Bankers, Switzerland

            Real-Time Fraud Prevention with 24/7 mobile alerting in Financial Services Operation

            Conexus Credit Union, Canada

            Conexus transformed Incident Response in a Single Day with SIGNL4

            Overview of Industries

            Exciting case studies from selected customers in sectors such as logistics, aviation, manufacturing, finance and IT

            About us

            About Derdack & SIGNL4

            Learn more about a Market Leader in mobile Alerting and Anywhere Incident Response for critical Systems

            Partner Program

            Become a SIGNL4 Partner and take Advantage of a well-established and rapidly growing Product

            Newsletter

            Get Updates, exciting Insights, and Customer Stories – Sign up for our Newsletter!

            Glossary

            We explain the most important Terms and Topics in the Field of Alerting and Incident Management

            Blog

            Our blog offers expert insights and practical tips for getting the most out of SIGNL4

              SIGNL4 got recognized by the G2 Community
              DERDACK SIGNL4
              Privacy Overview

              This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.