Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 3.06 KB

File metadata and controls

28 lines (23 loc) · 3.06 KB

CreatePostRequest

Properties

Name Type Description Notes
title Option<String> [optional]
content Option<String> Post caption/text. Optional when media is attached or all platforms have customContent. Required for text-only posts. [optional]
media_items Option<Vecmodels::CreatePostRequestMediaItemsInner> [optional]
platforms Option<Vecmodels::CreatePostRequestPlatformsInner> Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms. [optional]
scheduled_for Option<String> [optional]
publish_now Option<bool> [optional][default to false]
is_draft Option<bool> When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically. [optional][default to false]
timezone Option<String> [optional][default to UTC]
tags Option<Vec> Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. [optional]
hashtags Option<Vec> [optional]
mentions Option<Vec> Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. [optional]
crossposting_enabled Option<bool> [optional][default to true]
metadata Option<std::collections::HashMap<String, serde_json::Value>> [optional]
tiktok_settings Option<models::TikTokPlatformData> Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. [optional]
facebook_settings Option<models::FacebookPlatformData> Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. [optional]
recycling Option<models::RecyclingConfig> [optional]
queued_from_profile Option<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 Option<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]

[Back to Model list] [Back to API list] [Back to README]