API docs

Save per-channel schedules

Sets which account already-registered content is published to and when. If a schedule already exists for the same content and account, it is overwritten.

Version: v1

05 Save per-channel schedules

5.1 Description

POST/contents/schedule

Accounts must be connected to that workspace and active. The same account can't be specified twice in one request. Different accounts on the same platform can be specified together.

There are two ways to choose the accounts to publish to.

  • targets — list each account individually. You can set a different time, visibility, and options for each account.
  • target_language — every account that covers that language becomes a target. In this case, send the scheduled time as publish_at or local_publish_at at the top level, and visibility · platform_options are also taken from the top level and applied to all targets.

If both are sent, targets wins. If neither is sent, the response is 400.

Send only one of publish_at and local_publish_at for the scheduled time. Sending both is rejected.

Each entry of targets consists of the following fields.

5.2 Parameters

Save channel schedules parameters
NameCategoryDescription
workspaceRequiredWorkspace code
content_idRequiredID of the content to schedule. Taken from GET /contents, field id
targetsOptionalPer-channel schedule list. Up to 50. Each entry has the shape in the table above. Either this or target_language is required
target_languageOptionalTargets every account assigned to this language (e.g. ko · en · pt-br, 2–5 lowercase characters). Ignored if targets is also given
publish_atOptionalScheduled time when selecting by target_language. ISO-8601 with UTC offset
local_publish_atOptionalScheduled time when selecting by target_language. Local time in the workspace time zone. Send only one of this and publish_at
visibilityOptionalVisibility for all targets selected by target_language. Defaults to public if omitted
platform_optionsOptionalPer-platform publishing options for all targets selected by target_language

5.3 Request

Terminal — bash
curl -X POST https://moacast.com/api/moacast/v1/contents/schedule \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"workspace":"a1b2c3d4","content_id":"value"}'

5.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "message": "예약을 저장했습니다.",
    "data": {
        "content": {
            "id": 12,
            "title": "9월 넷째 주 요약",
            "publications": [
                {
                    "id": 34,
                    "channel": "youtube",
                    "external_id": "UC...",
                    "status": "SCHEDULED",
                    "publish_at": "2026-09-28T01:00:00+00:00",
                    "visibility": "public",
                    "platform_options": []
                }
            ]
        }
    }
}

5.5 Field

Save channel schedules fields
FieldTypeRequiredDescription
channel_keystring✓Channel key. youtube · instagram · facebook · threads · tiktok · x · linkedin
external_idstringThe account to post to. Use the value from GET /channels, field external_id, as is. Required if the platform has more than one account; otherwise the response is 400
publish_atstringISO-8601 with UTC offset (2026-09-28T01:00:00Z)
local_publish_atstringLocal time in the workspace time zone (2026-09-28T10:00)
visibilitystringpublic · unlisted · private. Defaults to public if omitted
platform_optionsobjectPer-platform publishing options. Must be an object, not an array
Save channel schedules fields
FieldTypeDescription
contentobjectThe content with schedules applied. Same shape as one entry of GET /contents, with the just-saved schedules in publications

5.6 Failed

Save channel schedules failures
CodeHTTPWhen
9912400workspace or content_id is missing
1004400A target doesn't meet the rules (neither targets nor target_language given · 51 or more · same account twice · time format · an account that isn't connected or isn't active (needs reconnecting) · external_id not given when the same platform has more than one account · invalid target_language format or no account for that language · a time that doesn't exist or is duplicated due to daylight saving time, etc.)
1001401Header is missing or the token is invalid
1002403The workspace is suspended
1003403A write call made with a session, but the request didn't originate from this site
2000404The workspace doesn't exist, or the content can't be found
4090409Schedules that have already been published can't be edited
5000500Couldn't save the schedules
5000503The schedule store isn't ready

If even one entry breaks the rules, none of the schedules in that request are saved.

Schedules that have already been published (not SCHEDULED) can't be changed.

An account's language is set on the Channels screen (GET /channels, field language). Accounts without a language can't be selected by target_language. If there is no account for that language, the response is 400 and no schedules are saved.