01 List connected channels
1.1 Description
GET/channels
One row per account. If you've connected several accounts on the same platform, you'll get multiple rows with the same channel. The value that distinguishes those rows is external_id, and it's also the value you use to specify the account when scheduling.
Rows are ordered by channel definition, and within the same platform by the order they were connected. Channels that aren't connected are not listed.
1.2 Parameters
| Name | Category | Description |
|---|---|---|
workspace | Required | Workspace code |
avatar_px | Optional | Size to render the profile picture at (1–1024). If given, avatar_url_sized is generated at that size. Out-of-range values are ignored and the original is returned |
1.3 Request
curl "https://moacast.com/api/moacast/v1/channels?workspace=a1b2c3d4&avatar_px=88" \
-H 'Authorization: Bearer <ACCESS_TOKEN>'1.4 Success response
{
"result": "SUCCESS",
"result_code": 0,
"data": {
"workspace": "a1b2c3d4",
"channels": [
{
"channel": "youtube",
"external_id": "UC...",
"display_name": "My Channel",
"handle": "mychannel",
"language": "ko",
"profile_url": "https://www.youtube.com/channel/UC...",
"avatar_url": "https://yt3.ggpht.com/...",
"avatar_url_sized": "https://yt3.ggpht.com/...=s88-c-k-c0x00ffffff-no-rj",
"permissions": [
"publish",
"read"
],
"status": "ACTIVE",
"connected_by": "moacast",
"connected_at": "2026-09-26 19:28:51",
"stats": {
"followers": 83,
"items": 34,
"views": 34290,
"fetched_at": 1790420673
}
}
]
}
}1.5 Field
| Field | Type | Description |
|---|---|---|
workspace | string | Workspace code |
channels | array | List of connections. Each row has the shape below |
A row in channels
| Field | Type | Description |
|---|---|---|
channel | string | Channel key. Refresh and disconnect take this value |
external_id | string | Account identifier on the platform. When there are several accounts on the same platform, this value specifies the account |
display_name | string | Account name shown on the platform |
handle | string | Handle on the platform. The value has no @ prefix, and is an empty string if the platform doesn't provide one |
language | string | Language this account covers (in the form ko · en · pt-br). Empty string if not set, in which case the account can't be selected with target_language |
profile_url | string | Public URL of the account. Empty string if unknown |
avatar_url | string | URL of the stored profile picture (original size) |
avatar_url_sized | string | URL at the size requested with avatar_px. Same as the original if no size was given |
permissions | array | What this connection can do. One of publish · read · comment · analytics |
status | string | ACTIVE means usable now, NEEDS_RECONNECT means it needs to be reconnected, and REVOKED means authorization has been revoked |
connected_by | string | User who connected it |
connected_at | string | When it was connected. UTC, YYYY-MM-DD HH:MM:SS |
stats | object | Subscriber, item, and view counts, and when they were fetched. null if never fetched |
1.6 Failed
| Code | HTTP | When |
|---|---|---|
9912 | 400 | workspace was not provided |
1001 | 401 | Header is missing or the token is invalid (expired is 4013 · revoked key is 4014) |
2000 | 404 | The workspace doesn't exist, or this token can't access it |
