GET   alerts?check_id={check_id}&severity={severity}&enabled={enabled}&target_type={target_type}&target_id={target_id}

Gets alerts matching the provided parameters. Note: all parameters are optional. Only alerts with the following targets are available: SMS, email and webhook.

URL Parameters

NameDescription
check_id

Check Id, optional.

severity

Severity (I, W, E or F), optional.

enabled

Enabled (true or false), optional.

target_type

Target type (sms, email or webhook), optional.

target_id

Target id, optional.

Request example

curl --request GET "https://api-asm1.apica.io/v3/alerts?check_id=12345&severity=I&enabled=true&target_type=sms&target_id=345&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"

Response body model example and description

Only alerts with the following targets are available: SMS, email and webhook.