curl -X POST https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/alerts/test \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"alert_type": "security_incident",
"recipient": "[email protected]"
}'
{
"sent": true,
"message": "Test alert sent successfully"
}
Test alert configurations
curl -X POST https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/alerts/test \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"alert_type": "security_incident",
"recipient": "[email protected]"
}'
{
"sent": true,
"message": "Test alert sent successfully"
}
curl -X POST https://cp.gosentrix.io/api/v1/tenants/{tenant_id}/alerts/test \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"alert_type": "security_incident",
"recipient": "[email protected]"
}'
{
"sent": true,
"message": "Test alert sent successfully"
}