API docs

Get a single content item

Retrieves a single piece of content by ID. Its attachments (assets) and per-channel schedules (publications) are included.

Version: v1

03 Get a single content item

3.1 Description

GET/contents/{id}

To look up by the external production system's identifier, use GET /contents?external_id=....

3.2 Parameters

Get content parameters
NameCategoryDescription
workspaceRequiredWorkspace code

3.3 Request

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

3.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "data": {
        "content": {
            "id": 12,
            "external_id": "job-2026-0927-01",
            "content_type": "video",
            "title": "9월 넷째 주 요약",
            "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": []
        }
    }
}

3.5 Field

Get content fields
FieldTypeDescription
contentobjectA single piece of content. Same shape as one entry of GET /contents

3.6 Failed

Get content failures
CodeHTTPWhen
9912400workspace was not provided
1001401Header is missing or the token is invalid
2000404The workspace doesn't exist, or the content can't be found
5000503The content store isn't ready

Passing a content ID from another workspace also returns 404. We don't distinguish "doesn't exist" from "belongs to someone else" — if we did, anyone could tell whether someone else's content exists just by trying IDs.