Create an alert

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version

Headers

x-platform-idstringOptional
Platform ID.

Request

This endpoint expects an object.
platform_idstringRequired
Resource ID of type PLATFORM
alert_rule_idstringRequired

Resource ID of type ALERT_RULE

customer_idstringRequired
Resource ID of type CUSTOMER
typeenumRequired
Allowed values:
alert_ruleobject or nullOptional
customerobject or nullOptional
data_trigger_referencestring or nullOptional
alert_dataobjectOptional

Response

Created
platform_idstring
Resource ID of type PLATFORM
alert_rule_idstring

Resource ID of type ALERT_RULE

customer_idstring
Resource ID of type CUSTOMER
typeenum
Allowed values:
object_typestring or nullRead-only
idstring or nullRead-only
created_atstring or nullRead-only
alert_ruleobject or null
customerobject or null
data_trigger_referencestring or null
alert_dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error