Add an alert channel
Slack or Discord incoming webhook, or email recipients. Webhook URLs are stored encrypted and only shown masked (target). Email recipients outside the workspace get a confirmation email: alerts only go to members and confirmed addresses (recipients[].status), and every alert email has an unsubscribe link. Those confirmation emails count against the workspace's 50 a day, and its 100 addresses waiting (429 confirmation_quota: the channel is not created). Send a test with POST /v1/alert-channels/{id}/test, then subscribe projects to it with PUT /v1/projects/{id}/alerts. A workspace has at most 50 channels.
ApiKeyAuthX-Api-Key<token>application/json- body
type*stringslack and discord post to an incoming webhook (url); email writes to recipients. The in_app channel is made by Dataflow and cannot be added
"slack""discord""email"name*stringYour name for the channel, up to 80 characters
1 <= length <= 80url?stringIncoming webhook URL, required for slack (https://hooks.slack.com/services/…) and discord (https://discord.com/api/webhooks/…)
recipients?array<>Email addresses, required for email. Those outside the workspace get a confirmation email and receive no alert until they confirm
1 <= items <= 10Created
application/json- response
id*stringtype*stringin_app: the dashboard's notifications (the bell), one per workspace, made by Dataflow: every member who can view Dataflow gets them. It cannot be added or removed, only turned off and on
"slack""discord""email""in_app"name*stringtarget*stringWebhook host and the end of its path, the recipients, or members who can view Dataflow (in_app)
recipients*array<>An email channel's addresses (empty for the others). Alerts only go to members and verified addresses: an address outside the workspace gets a confirmation email first.
failure_count*integerlast_error*|The provider's last refusal, or why the channel was turned off
disabled_at*string|nulldisabled_reason*|rejected: the provider said the webhook or recipient is gone; unreachable: the provider stayed down through every retry; manual: turned off with POST /v1/alert-channels/{id}/disable
"rejected""unreachable""manual"nullretry_at*|Set while the provider is down: when the channel is tried again
failing_since*string|nullmissed_count*integerAlerts not sent since failing_since, told once it works again
created_at*stringcurl -X POST 'https://dataflow.piloterr.com/v1/alert-channels' \
-H 'Content-Type: application/json' \
-d '{
"type": "slack",
"name": "Pricing team",
"url": "https://hooks.slack.com/services/T0EXAMPLE/B0EXAMPLE/exampleKey"
}'{
"id": "cm4kq2d5e000cl208m7va4jzh",
"type": "slack",
"name": "Pricing team",
"target": "https://hooks.slack.com/…pleKey",
"recipients": [],
"failure_count": 0,
"last_error": null,
"disabled_at": null,
"disabled_reason": null,
"retry_at": null,
"failing_since": null,
"missed_count": 0,
"created_at": "2026-11-09T08:00:00.000Z"
}