const url = 'https://app.monitorly.cloud/api/v1/workspaces/WORKSPACE_ID/alert-channels';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.monitorly.cloud/api/v1/workspaces/WORKSPACE_ID/alert-channels \ --header 'Authorization: Bearer <token>'Every alert channel and linked Telegram chat of the workspace, with the projects that picked each one and whether it receives the workspace’s service notifications. Workspace owner or admin.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The workspace’s id.
Example
WORKSPACE_IDResponses
Section titled “Responses”The channels.
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.
auth.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 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"}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"}Too Many Requests.
token.rate_limited: more than 10 requests a second with this 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"}Headers
Section titled “Headers”Seconds to wait before trying again.