Create Incident API
Last updated
curl --location 'https://app.hivel.ai/api/hooks/v1/incident' \
--header 'X-API-Token: YOUR_API_TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "Database connection timeout affecting API",
"severity": "HIGH",
"affected_systems": ["database", "api-gateway"],
"reported_time": "2025-09-22T10:30:00Z",
"reported_by": "alerts@company.com",
"resolution_time": "2025-09-22T11:15:00Z",
"provider_id": "inc-20250922-1030",
"repo_url": "https://github.com/hivelai/webhook-logger",
"pr_number": "71"
}'{
"message": "Success",
"incident_id": "incident-2024-08-01-12345",
}