01 List schedules
1.1 Description
GET/publishes
You can narrow the period with from and to. from includes that time and to doesn't, so schedules on the boundary aren't counted twice when you chain periods together.
Each entry includes the title, body, and type of the content the schedule points to. You don't need to fetch the content again to draw a calendar cell.
1.2 Parameters
| Name | Category | Description |
|---|---|---|
workspace | Required | Workspace code |
from | Optional | From this time (inclusive). ISO-8601 with UTC offset (2026-09-01T00:00:00Z) |
to | Optional | Until this time (exclusive). Same format as from |
1.3 Request
curl "https://moacast.com/api/moacast/v1/publishes?workspace=a1b2c3d4&from=value" \
-H 'Authorization: Bearer <ACCESS_TOKEN>'1.4 Success response
{
"result": "SUCCESS",
"result_code": 0,
"data": {
"workspace": "a1b2c3d4",
"items": [
{
"id": 34,
"content_id": 12,
"channel": "youtube",
"external_id": "UC...",
"title": "9월 넷째 주 요약",
"body": "이번 주에 있었던 일",
"content_type": "video",
"status": "SCHEDULED",
"publish_at": "2026-09-28T01:00:00+00:00",
"visibility": "public"
}
]
}
}1.5 Field
| Field | Type | Description |
|---|---|---|
workspace | string | Workspace code |
items | array | Schedule list, earliest scheduled time first. Each entry has the shape below |
items entry
| Field | Type | Description |
|---|---|---|
id | int | Schedule ID |
content_id | int | ID of the content the schedule points to |
channel | string | Channel key. youtube · instagram · facebook · threads · tiktok · x · linkedin |
external_id | string | Identifier of the scheduled account. When the same platform has several accounts, this value tells you which account the schedule belongs to |
title | string | The content's shared title |
body | string | The content's shared body or description |
content_type | string | video · text · article · image |
status | string | SCHEDULED · PUBLISHED · FAILED · CANCELLED |
publish_at | string | Scheduled time. ISO-8601 in UTC |
visibility | string | public · unlisted · private |
1.6 Failed
| Code | HTTP | When |
|---|---|---|
9912 | 400 | workspace was not provided |
1004 | 400 | The time format of from or to is invalid |
1001 | 401 | Header is missing or the token is invalid |
2000 | 404 | The workspace doesn't exist, or this token can't access it |
5000 | 503 | The schedule store isn't ready |
