Skip to main content
PATCH
/
youtube
/
scheduled_posts
/
{post_id}
Update a YouTube post
curl --request PATCH \
  --url https://scheduler.dashsocial.com/youtube/scheduled_posts/{post_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "approval_requests": [
    {
      "requested_by_user_id": 123,
      "review_user_id": 123
    }
  ],
  "auto_publish": true,
  "board_ids": [
    1
  ],
  "brand_id": 1,
  "campaign_ids": [
    1
  ],
  "content_tag_ids": [
    1
  ],
  "declared_made_for_kids": true,
  "description": "<string>",
  "duplicate_to_brand_ids": [
    1
  ],
  "media_ids": [
    1
  ],
  "post_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sort_index": 123,
  "subtitle_content": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "title": "<string>"
}
'
{
  "code": 123,
  "errors": {},
  "message": "<string>",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.dashsocial.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

post_id
integer
required

ID of the post to delete

Required range: x >= 0

Body

application/json
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.

auto_publish
boolean

Whether the post should be auto published. Must be true for YouTube posts. Field is optional on updates.

board_ids
integer[]

The list of the board ids associated with the post.

Required range: x >= 0
brand_id
integer

The id of the brand to which the post belongs.

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
declared_made_for_kids
boolean
description
string | null
duplicate_to_brand_ids
integer[]
write-only

The list of duplicate to brand ids.

Maximum array length: 55
Required range: x >= 0
media_ids
integer[]

The list of the media ids attached to the post.

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.

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
subtitle_content
string | null

Raw SRT subtitle file content as text

subtitle_metadata
object

Subtitle metadata including language code and filename

timestamp
string<date-time> | null

The scheduled date & time for publishing the post.

title
string

The title of the YouTube video.

Required string length: 1 - 100

Response

Unprocessable Entity

code
integer

Error code

errors
object

Errors

message
string

Error message

status
string

Error name