API docs

List content

Returns the content registered in the workspace, most recently registered first.

Version: v1

01 List content

1.1 Description

GET/contents

If you give external_id, it returns the single piece of content with that identifier instead of a list. In that case the response has no items, only content. This is where a production system checks that what it sent actually got in.

Each entry includes that content's attachments (assets) and per-channel schedules (publications). To scan only schedules in time order, use GET /publishes.

1.2 Parameters

List content parameters
NameCategoryDescription
workspaceRequiredWorkspace code
external_idOptionalIf given, returns only the single piece of content with that external identifier instead of a list
limitOptionalNumber of entries to fetch. Defaults to 100 and is clamped to 1–200 (out-of-range values become the nearest value)

1.3 Request

Terminal — bash
curl "https://moacast.com/api/moacast/v1/contents?workspace=a1b2c3d4&external_id=value" \
  -H 'Authorization: Bearer <ACCESS_TOKEN>'

1.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "data": {
        "workspace": "a1b2c3d4",
        "items": [
            {
                "id": 12,
                "external_id": "job-2026-0927-01",
                "content_type": "video",
                "title": "9월 넷째 주 요약",
                "body": "이번 주에 있었던 일",
                "hashtags": [
                    "주간요약"
                ],
                "language": "ko",
                "platform_metadata": {
                    "youtube": {
                        "title": "9월 4주차 주간 요약"
                    }
                },
                "metadata": {
                    "production": {
                        "duration_seconds": 62,
                        "width": 1080,
                        "height": 1920,
                        "fps": 30
                    }
                },
                "produced_at": "2026-09-27 05:00:00",
                "created_at": "2026-09-27 14:10:02",
                "updated_at": "2026-09-27 14:10:02",
                "assets": [
                    {
                        "asset_type": "MASTER_VIDEO",
                        "mime": "video/mp4",
                        "size_bytes": 18234112,
                        "url": "https://…/moacast/3/12/1790000000-ab12cd.mp4?X-Amz-Signature=…",
                        "url_expires_in": 300
                    }
                ],
                "publications": [
                    {
                        "id": 34,
                        "channel": "youtube",
                        "external_id": "UC...",
                        "status": "SCHEDULED",
                        "publish_at": "2026-09-28T01:00:00+00:00",
                        "visibility": "public",
                        "platform_options": []
                    }
                ]
            }
        ]
    }
}

1.5 Field

List content fields
FieldTypeDescription
workspacestringWorkspace code. Not included when fetching a single item with external_id
itemsarrayContent list, most recently created first. Each entry has the shape below
contentobjectOnly when external_id is given. Same shape as one entry of items

Content entry

List content fields
FieldTypeDescription
idintContent ID. Used as content_id when scheduling
external_idstringIdempotency identifier from the external production system. null if none
content_typestringvideo · text · article · image · carousel
titlestringShared title
bodystringShared body or description
hashtagsarrayShared hashtags. An array of strings
languagestringLanguage code. ko if not given at creation
platform_metadataobjectPer-platform title and body overrides. Keys are channel keys; values are objects containing title · body. If never set, it's always returned as an empty object {}. It's never returned as an array []
metadataobjectExtended metadata from the production system. If video specs were sent, production contains duration_seconds·width·height·fps
produced_atstringProduction completion time in UTC (YYYY-MM-DD HH:MM:SS). null if none
created_atstringCreation time. UTC, YYYY-MM-DD HH:MM:SS
updated_atstringLast modified time. UTC, YYYY-MM-DD HH:MM:SS
assetsarrayAttachment list. Each entry has the shape below
publicationsarrayPer-channel schedule list. Each entry has the shape below

assets entry

List content fields
FieldTypeDescription
asset_typestringMASTER_VIDEO (source video) · THUMBNAIL (thumbnail) · CAROUSEL_ITEM (one of multiple images)
sort_orderintOrder when there are several of the same asset_type. Starts at 0, and items are posted in this order. Types with only one item are always 0
mimestringMIME type determined by the server at upload
size_bytesintFile size (bytes)
urlstringA URL where the file can be downloaded. It's short-lived — don't store or cache it; call this API again to get a fresh one when needed. null if a URL can't be generated
url_expires_inintHow long url is valid (seconds). Currently 300. If url is null, this is null too

publications entry

List content fields
FieldTypeDescription
idintSchedule ID
channelstringChannel key. youtube · instagram · facebook · threads · tiktok · x · linkedin
external_idstringIdentifier of the scheduled account. When the same platform has several accounts, this value tells you which account the schedule belongs to
statusstringSCHEDULED · PUBLISHED · FAILED · CANCELLED
publish_atstringScheduled time. ISO-8601 in UTC
visibilitystringpublic · unlisted · private
platform_optionsobjectPer-platform publishing options. Empty object if none

1.6 Failed

List content failures
CodeHTTPWhen
9912400workspace was not provided
1001401Header is missing or the token is invalid
2000404The workspace doesn't exist, or this token can't access it. The same applies when nothing is found by external_id
5000503The content store isn't ready

This call doesn't call the platforms. It only reads our own records.