const url = 'https://app.monitorly.cloud/api/v1/alert-channels/CHANNEL_ID';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","serviceNotifications":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.monitorly.cloud/api/v1/alert-channels/CHANNEL_ID \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "serviceNotifications": true }'Renames a channel, or turns the workspace’s service notifications on or off for a channel or a linked Telegram chat (workspace owner or admin). A chat’s name is its Telegram title and cannot be changed here.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The alert channel’s id, or a linked Telegram chat’s.
Example
CHANNEL_IDRequest Bodyrequired
Section titled “Request Bodyrequired”object
1–100 characters. Not for Telegram chats: their title is Telegram’s.
The workspace’s service notifications go to the channel or chat (workspace owner or admin).
Example generated
{ "name": "example", "serviceNotifications": true}Responses
Section titled “Responses”The channel.
object
The last message the provider accepted; null for Telegram chats and channels that got nothing yet.
The last temporary error (a retry is scheduled), while it is newer than the last delivery.
The project the channel was added in (its project admins may manage it); null for a channel added for the
workspace. Which projects’ alerts it receives is projectIds.
The projects whose check alerts go to this channel. In a project’s lists only that project can appear here: present when the project picked the channel. Always sent; optional in the schema because it was added after the first clients (2026-11-15).
The workspace’s service notifications (nodes, backups) go to this channel too.
The email address, the provider’s host (Slack, Discord, Teams, Google Chat, PagerDuty, Pushover), the URL’s origin (webhook, Mattermost, the ntfy server) or the Telegram chat title. Never a full URL, a topic or a key.
Unverified email channels: when the confirmation link stops working.
Example
{ "id": "ID", "kind": "email", "projectId": "PROJECT_ID", "projectIds": [ "ID" ], "status": "unverified"}Bad Request.
request.malformed: the body or a parameter is not of the expected shapeauth.credentials_conflict: the request carries both a session cookie and a token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unauthorized.
auth.unauthenticated,auth.session_expired: no session, or it endedtoken.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Forbidden.
auth.forbidden: your role is too low for thistoken.scope_missing: the token lacks the scope this needs;detailnames itrequest.origin_mismatch,request.header_required: a changing request with a session comes from another site or lacksX-Monitorly-Request: 1
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Not Found.
request.not_found: it does not exist, or you cannot see it
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Payload Too Large.
request.too_large: the body is larger than 256 KiB
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unprocessable Entity.
field.required,field.too_long,field.invalid: a field breaks a rule;errorspoints at it
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Too Many Requests.
token.rate_limited: more than 10 requests a second with this tokensession.rate_limited: more than 5 changes a second from your sessions
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds to wait before trying again.