curl --request GET \
--url https://control.ergoly.ai/api/v1/workers/{id}/channels \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://control.ergoly.ai/api/v1/workers/{id}/channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://control.ergoly.ai/api/v1/workers/{id}/channels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "9c8b7a65-4321-4fed-8cba-098765432101",
"workerId": "8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f",
"slackChannelId": "C0A1B2C3D4E",
"slackTeamId": "T0A1B2C3D4E",
"name": "acme-support",
"clientId": "c1a2b3c4-d5e6-4f70-8912-3a4b5c6d7e8f",
"client": {
"id": "c1a2b3c4-d5e6-4f70-8912-3a4b5c6d7e8f",
"slug": "acme",
"companyName": "Acme Corp"
},
"createdAt": "2026-02-12T10:24:31.000Z"
}
],
"page": {
"limit": 50,
"hasMore": true,
"nextCursor": "MjAyNi0wMy0wNFQwOToxNDowMi4wMDBafDhmMWMyZDNlLTlhNGItNGM1ZC04ZTZmLTFhMmIzYzRkNWU2Zg"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}List channel mappings
Each row names the Slack channel and the Client it routes to. A client of null is a room marked internal, which routes to the Worker’s core ework — not a row with data missing.
curl --request GET \
--url https://control.ergoly.ai/api/v1/workers/{id}/channels \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://control.ergoly.ai/api/v1/workers/{id}/channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://control.ergoly.ai/api/v1/workers/{id}/channels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "9c8b7a65-4321-4fed-8cba-098765432101",
"workerId": "8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f",
"slackChannelId": "C0A1B2C3D4E",
"slackTeamId": "T0A1B2C3D4E",
"name": "acme-support",
"clientId": "c1a2b3c4-d5e6-4f70-8912-3a4b5c6d7e8f",
"client": {
"id": "c1a2b3c4-d5e6-4f70-8912-3a4b5c6d7e8f",
"slug": "acme",
"companyName": "Acme Corp"
},
"createdAt": "2026-02-12T10:24:31.000Z"
}
],
"page": {
"limit": 50,
"hasMore": true,
"nextCursor": "MjAyNi0wMy0wNFQwOToxNDowMi4wMDBafDhmMWMyZDNlLTlhNGItNGM1ZC04ZTZmLTFhMmIzYzRkNWU2Zg"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"docs": "<string>"
}
}Authorizations
An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: "Provide a valid organization-scoped API key or an active session." Each operation names the one scope it is filed under, <resource>:<read|write>, where the resource is the first path segment after /api/v1/; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.
Path Parameters
The Worker id. A malformed id answers 404, exactly as another organization's well-formed id does.
Query Parameters
Narrow to one Client. Rows that belong to no Client — a core-tier ework, a room marked internal, a core-tier task — are excluded, because they are not that Client's. A malformed id is a 400; a well-formed id naming another organization's Client answers an empty list.
Page size. Defaults to 50, clamped at 200. A value that is not a positive integer is a 400.
Opaque keyset cursor from the previous page's page.nextCursor. A cursor this API did not issue is a 400, never a silent page one.

