Manually send a test alert from your monitoring service. This is useful for verifying that your alerts are configured correctly and function as expected. The endpoint returns a job ID to track the test alert status.
id string required Example id parameter
Accept Example Content-Type Example url string name string description string check_interval integer timeout integer max_response_time integer consecutive_failures integer method string expected_status_codes array search_string string check_ssl boolean ssl_alert_days integer alert_channels array type string endpoint_id integer success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/notifications/{id} curl -X POST "https://cloud.hostup.se/api/notifications/url-monitors" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "string",
"name": "string",
"description": "string",
"check_interval": 0,
"timeout": 0,
"max_response_time": 0,
"consecutive_failures": 0,
"method": "string",
"expected_status_codes": [
0
],
"search_string": "string",
"check_ssl": true,
"ssl_alert_days": 0,
"alert_channels": [
"string"
],
"type": "string",
"endpoint_id": 0
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"monitorId": 0
}
} {
"url": "string",
"name": "string",
"description": "string",
"check_interval": 0,
"timeout": 0,
"max_response_time": 0,
"consecutive_failures": 0,
"method": "string",
"expected_status_codes": [
0
],
"search_string": "string",
"check_ssl": true,
"ssl_alert_days": 0,
"alert_channels": [
"string"
],
"type": "string",
"endpoint_id": 0
}