Update an existing alert channel. Send the full config payload for the channel type. Use /alerts/pause to change the paused state.
| Method | POST |
| Url | https://downdar.com/api/v1/alerts/update |
channel_key
key
|
Alert channel key ({type}:{guid}). |
name
req
|
String, max 255 characters. |
webhook_url
opt
|
Required for discord, slack, teams, and webhook. |
bot_token
opt
|
Required for telegram. |
chat_id
opt
|
Required for telegram. |
auth_bearer
opt
|
Optional bearer token for webhook. |
signing_secret
opt
|
Optional signing secret for webhook. |
ok
|
Always true on success. |
alert_channel
|
Updated alert channel object. |
capacity
|
Alert channel quota for the account. |
rate_limit
|
Rate limit state for the tier this endpoint consumes. Present on every successful response. |
tier
|
Rate tier this endpoint counts against (1-5). |
cost
|
Units consumed by this request against the tier window. |
timeframe
|
Rolling limit window: second, minute, hour, or day. |
limit
|
Maximum units allowed in the timeframe for this tier on your plan. |
used
|
Units already used in the current window. |
remaining
|
Units left before this tier returns HTTP 429. |