| Name |
Type |
Description |
Notes |
| title |
String |
|
[optional] |
| content |
String |
Post caption/text. Optional when media is attached or all platforms have customContent. Required for text-only posts. |
[optional] |
| media_items |
Array<CreatePostRequestMediaItemsInner> |
|
[optional] |
| platforms |
Array<CreatePostRequestPlatformsInner> |
|
[optional] |
| scheduled_for |
Time |
|
[optional] |
| publish_now |
Boolean |
|
[optional][default to false] |
| is_draft |
Boolean |
|
[optional][default to false] |
| timezone |
String |
|
[optional][default to 'UTC'] |
| tags |
Array<String> |
Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. |
[optional] |
| hashtags |
Array<String> |
|
[optional] |
| mentions |
Array<String> |
|
[optional] |
| crossposting_enabled |
Boolean |
|
[optional][default to true] |
| metadata |
Hash<String, Object> |
|
[optional] |
| tiktok_settings |
TikTokPlatformData |
Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. |
[optional] |
| recycling |
RecyclingConfig |
|
[optional] |
| queued_from_profile |
String |
Profile ID to schedule via queue. When provided without scheduledFor, the post is auto-assigned to the next available slot. Do not call /v1/queue/next-slot and use that time in scheduledFor, as that bypasses queue locking. |
[optional] |
| queue_id |
String |
Specific queue ID to use when scheduling via queue. Only used when queuedFromProfile is also provided. If omitted, uses the profile's default queue. |
[optional] |
require 'late-sdk'
instance = Late::CreatePostRequest.new(
title: null,
content: null,
media_items: null,
platforms: null,
scheduled_for: null,
publish_now: null,
is_draft: null,
timezone: null,
tags: null,
hashtags: null,
mentions: null,
crossposting_enabled: null,
metadata: null,
tiktok_settings: null,
recycling: null,
queued_from_profile: null,
queue_id: null
)