Skip to main content
POST
/
api
/
v1
/
tenants
/
{tenant_id}
/
alerts
/
test
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 to ensure they’re working correctly.
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"
}

Notes

  • Requires tenant admin role
  • Test alerts are sent immediately
  • Use to verify alert delivery configuration