Update a draft
update_draftUse this when the user wants to change a post that is still a draft: "make the caption shorter", "move it to Friday 6pm", "turn comments on", "switch it to YouTube". post_id comes from get_post_stats with status "draft". Set only what was asked: caption (replaces the old one; for YouTube its first line is the title), scheduled_at (ISO 8601 with its offset) or clear_time, platform, account_id (from list_social_accounts). privacy: TikTok public, followers, friends or private; YouTube public, unlisted or private. TikTok post-screen choices, all off until the user says: allow_comment, allow_duet, allow_stitch, disclose (then brand_organic = promotes their own business, brand_content = a paid partnership), aigc (the label for a video made with AI), mode direct or inbox (finish in the TikTok app). Not for: scheduled or posted posts (refused), new drafts (draft_post, plan_posts) or removing a draft (delete_draft). The draft stays a draft and is never posted automatically; the user schedules it in RipClip. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aigc | No | ||
| mode | No | ||
| caption | No | ||
| post_id | Yes | ||
| privacy | No | ||
| disclose | No | ||
| platform | No | ||
| account_id | No | ||
| allow_duet | No | ||
| clear_time | No | ||
| allow_stitch | No | ||
| scheduled_at | No | ||
| allow_comment | No | ||
| brand_content | No | ||
| brand_organic | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| status | Yes | ||
| tiktok | Yes | ||
| caption | Yes | ||
| changed | Yes | ||
| post_id | Yes | ||
| privacy | Yes | ||
| platform | Yes | ||
| review_url | Yes | ||
| scheduled_at | Yes |