POST   alerts/{alert_type}

Creates a new alert of the provided alert_type.

URL Parameters

NameDescription
alert_type

Alert type. Allowed values: SMS, email.

Remarks

Use GET checks route to get the list of values applicable for check_ids.
The default context for the route is the user context. To enable customer context (if allowed for the user) use the request query parameter customer_context=1. The customer_context parameter lets you choose the set of checks you have access to in the check_ids parameter.
Use GET alerts/targets route to get the list of values applicable for target_ids.
Use GET alerts/recipients route to get the list of values applicable for recipient_ids.
Use any combination of I,W,E,F letters as a severity value, for example "IW" or "IEF".

Returns HTTP 201 Created when successful.

Request body model example and description

{
  "target_ids": [
    1,
    2,
    3
  ],
  "recipient_ids": [
    1,
    2,
    3
  ],
  "check_ids": [
    1,
    2,
    3
  ],
  "severity": "ieWF"
}
NameType Required Description
target_ids Array Yes

No documentation available.

recipient_ids Array Yes

No documentation available.

check_ids Array Yes

No documentation available.

severity String Yes

No documentation available.