incident.io icon

incident.io

Interact with incident.io API

Actions76

Alert Route → Create

AI-generated

Summary

Create a new alert route in incident.io.

Inputs

  • name (required) — Name of the alert route.
  • additionalFields — Collection of additional fields, including 'Enabled' (boolean) to set the route's status.
  • requestOptions — Collection of options for request configuration, including batching settings, SSL options, proxy, and timeout.

Output shape

no body — success/failure only

Ensure 'name' is provided as it is required to create the alert route. Optional fields can customize the alert route's settings.

Examples

Example 1: Create an alert route named 'Critical Alerts' that is enabled.

Set 'name' to 'Critical Alerts' and 'additionalFields.enabled' to true.

Example 2: Create an alert route with a custom batching setup.

Set 'name' to 'Periodic Alerts', 'requestOptions.batchSize' to 30 and 'requestOptions.batchInterval' to 500.

Discussion