const url = 'https://app.monitorly.cloud/api/v1/projects/PROJECT_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/projects/PROJECT_ID/alert-channels \ --header 'Authorization: Bearer <token>'The channels and linked Telegram chats that receive the project’s alerts, each with its state. With available=true, every channel and chat of the workspace, to pick from (project admin).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The project’s id.
Example
PROJECT_IDQuery Parameters
Section titled “Query Parameters”true: every channel and chat of the workspace, to pick from (project admin); projectIds holds this
project when it already picked the channel. Default: only the channels the project picked.
Responses
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
[ { "createdAt": "2026-11-27T15:40:00Z", "id": "CHANNEL_ID", "kind": "slack", "lastDeliveredAt": "2026-11-27T14:02:12Z", "name": "#payments-oncall", "projectId": "PROJECT_ID", "status": "active", "target": "hooks.slack.com" }, { "createdAt": "2026-11-27T15:41:00Z", "id": "CHANNEL_ID_EMAIL", "kind": "email", "name": "On-call inbox", "projectId": "PROJECT_ID", "status": "unverified", "target": "oncall@acme.io", "verifyExpiresAt": "2026-11-28T15:41:00Z" }]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 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"}Unprocessable Entity.
field.invalid,field.required: a parameter 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 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.