Turn an alert channel off
Nothing is sent to it until POST /v1/alert-channels/{id}/enable: alerts already queued for it are dropped, and those that follow are not counted as missed. Projects keep their subscriptions, so turning it on again brings their alerts back as they were. disabled_reason is manual.
ApiKeyAuthX-Api-Key<token>id*stringThe alert channel's id
1 <= lengthTurned off
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/string/disable'{
"id": "cm4kq2d5e000cl208m7va4jzh",
"type": "slack",
"name": "Pricing team",
"target": "https://hooks.slack.com/…pleKey",
"recipients": [],
"failure_count": 0,
"last_error": null,
"disabled_at": "2026-11-12T10:00:00.000Z",
"disabled_reason": "manual",
"retry_at": null,
"failing_since": null,
"missed_count": 0,
"created_at": "2026-11-09T08:00:00.000Z"
}