Endpoint
:tenantId with your tenant ID, found in Settings > General.
Required headers
| Header | Description |
|---|---|
X-API-Key | Your CauseFlow API key, created in Settings > API Keys |
X-Webhook-Signature | HMAC-SHA256 signature of the raw request body |
Payload format
The request body must be valid JSON. The only required fields aretitle and description. All other fields are optional but improve triage accuracy.
| Field | Required | Description |
|---|---|---|
title | Yes | Short description of the alert |
description | Yes | Detailed description for triage |
sourceAlertId | No | Unique alert ID from your system, used for deduplication |
severity | No | critical, high, medium, low, or info |
service | No | Name of the affected service |
environment | No | production, staging, development, etc. |
tags | No | Key-value pairs for additional categorization |
metadata | No | Any additional structured data about the alert |
Generating the HMAC-SHA256 signature
Sign the raw request body with your webhook secret using HMAC-SHA256. The signature must be hex-encoded.Full curl example
202 Accepted with the new incident ID:
Deduplication
If you send multiple alerts for the same firing condition, include the samesourceAlertId in each request. CauseFlow deduplicates on this field — subsequent requests with an already-seen sourceAlertId return 409 Conflict and the original incident is not duplicated.