Piloterr
API referenceAlerts

Re-enable an alert channel

POST
/v1/alert-channels/{id}/enable

Turns a channel back on, whether it was turned off or is waiting for its provider; its failures and missed alerts are cleared.

Authorization

ApiKeyAuth
headerX-Api-Key<token>

Path Parameters

id*string

The alert channel's id

Length1 <= length

Response Body

Enabled

application/json
  1. response
id*string
type*string

in_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

Value in"slack""discord""email""in_app"
name*string
target*string

Webhook 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*integer
last_error*|

The provider's last refusal, or why the channel was turned off

disabled_at*string|null
disabled_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

Value in"rejected""unreachable""manual"null
retry_at*|

Set while the provider is down: when the channel is tried again

failing_since*string|null
missed_count*integer

Alerts not sent since failing_since, told once it works again

created_at*string
Example Request
curl -X POST 'https://dataflow.piloterr.com/v1/alert-channels/string/enable'
Example Response
{
  "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"
}