Skip to main content
POST
Create a YouTube post
This endpoint has platform-specific fields and publishing rules. See the full scheduling guide for a complete walkthrough including media upload, publishing modes, and examples.

YouTube-specific fields

Publishing modes

Example request

Notes

  • auto_publish: false is not supported. Always set auto_publish: true.
  • YouTube only supports video media. Drafts without media are not supported.
  • Only 1 video can be attached per post.
  • declared_made_for_kids is required to comply with COPPA.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
brand_id
integer
required

The id of the brand to which the post belongs.

Required range: x >= 0
auto_publish
boolean
required

Whether the post should be auto published. Must be true for YouTube posts. Defaults to true if not provided.

media_ids
integer[]
required

The list of the media ids attached to the post.

Required range: x >= 0
status
enum<string>

The current status of the post.

Available options:
AUTOPUBLISHING,
DRAFT,
EXPIRED,
FAILED,
IMPORTED,
MISSING_APPROVALS,
PARTIALLY_FAILED,
POSTED,
SCHEDULED,
SKIPPED,
USERS_NOTIFIED
title
string

The title of the YouTube video.

Required string length: 1 - 100
description
string | null
timestamp
string<date-time> | null

The scheduled date & time for publishing the post.

declared_made_for_kids
boolean
approval_policy
enum<string>

The approval policy of the approval request

Available options:
APPROVAL_REQUIRED,
APPROVAL_NOT_REQUIRED
approval_requests
object[]

The list of approval requests associated with the post.

board_ids
integer[]

The list of the board ids associated with the post.

Required range: x >= 0
campaign_ids
integer[]

The list of the campaign ids associated with the post.

Required range: x >= 0
content_tag_ids
integer[]

The list of the content tag ids associated with the post.

Required range: x >= 0
creation_source
enum<string>

To identify the user or the application that created the post.

Available options:
RSS_FEED
duplicate_to_brand_ids
integer[]
write-only

The list of duplicate to brand ids.

Maximum array length: 55
Required range: x >= 0
post_group_id
string<uuid>

The id of the post group associated with the post.

sort_index
number

The sorted index for unscheduled posts.

subtitle_content
string | null

Raw SRT subtitle file content as text

subtitle_metadata
object | null

Subtitle metadata including language code and filename

Response

Unprocessable Entity

code
integer

Error code

errors
object

Errors

message
string

Error message

status
string

Error name