Send an alert

Send an alert by its account name.

Headers

AuthorizationstringRequired

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

X-HMN-APP-IDstringRequired
The HUMAN Application ID. The application must be in the same account as the server token used to authenticate.

Request

This endpoint expects an object.
namestringRequired
Name for the rule
time_start_windowstringRequiredformat: "YYYY-MM-DDTHH:MM:SSZ"
Start time of the anomaly window
time_end_windowstringRequiredformat: "YYYY-MM-DDTHH:MM:SSZ"
End time of the anomaly window
environmentenumOptional
Environment of the anomaly. If environment is below production, then Secondary Detection will throw an error. However, you can still test your API connection.
Allowed values:
standardobjectOptional
Standard fields
customobjectOptional
Configured custom fields. Please [contact us](mailto:contact-support@humansecurity.com) about available fields.

Response

Success
messagestring or null
requestIdstring or null
The ID of the request.

Errors