Create a Devices alertCopy Pagepost https://api.controlup.com/events/v1/alerts/organizations/{orgId}/alert-configs/desktopCreates a new Devices alert.Path ParamsorgIduuidrequired^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$ID of your ControlUp organization. You can find your organization ID on the API Key Management page in the DEX platform.Body ParamsDesktop alert configuration detailsDesktop alert configuration detailsintegrationsobjectIntegrations with third-party software.integrations objectselfServiceNotificationobjectControlUp Connect / end-user self-service notification settings.selfServiceNotification objecttagsarray of stringsList of device tags to filter which devices can trigger this alert. If empty or omitted, the alert applies to all devices. If set, the alert triggers only for devices that have at least one matching tag.tagsADD stringnotificationsobjectNotifications to send when the alert triggers.notifications objectactionsobjectFollowup actions to run on devices that trigger the alert.actions objectretriggerIntervalSecondsdoublerequiredThe minimum duration between subsequent alert activations. If the retrigger interval duration has not passed since the last alert activation, then the alert won't activate even if all conditions are met.hitsTimeWindowSecondsdoublerequiredThe time window in seconds for the hitsNumber parameter.hitsNumberdoublerequiredThe number of times that the alert conditions (metrics) must be met within the specified time window (hitsTimeWindowSeconds) for the alert to trigger.metricsarray of objectsrequiredList of conditions that must be met for the alert to trigger. Multiple conditions are combined with AND operators.metrics*ADD objectindexstringrequiredThe data index used for the alert. The alert conditions in the metrics object must be based on fields within this data index. You can use List all data indices to get a list of indices, and Get a data index to see the data within an index.platformnumberenumrequiredOS platform for followup action script execution. Scripts configured in the actions object must match the platform in this parameter. Note that this parameter does not control which devices can trigger the alert. If you don't want the alert to trigger a script, you can set this to 0. (0 - No platform selected, 1 - Windows, 2 - macOS, 3 - Linux, 4 - ChromeOS)01234Allowed:01234enabledbooleanrequiredWhether the alert is enabled.truefalseseveritystringenumrequiredThe alert's severity level.informationallowmediumhighcriticalAllowed:informationallowmediumhighcriticaldescriptionstringThe alert's description.namestringrequiredThe alert's name.Responses 200Ok 400Bad Request 401Unauthorized: Access is denied 403Forbidden: Access to this resource is denied 404Not Found: The requested resource could not be found 500Internal Server ErrorUpdated 3 months ago Delete a Devices alertLicense UsageDid this page help you?YesNo