Put a video on a planned post
attach_video_to_postAttach a video to a planned post, replacing its media. Send exactly one of: project_id — a finished Video Studio film (create_motion_project / get_studio_video), prepared first when needed (free; if it is still being put together nothing is attached and the result says pending — try again later); asset_id — the owner's OWN finished video in the brand Library (list_brand_assets); or video_url — an https link to their finished MP4, WebM or MOV (up to 80 MB), stored in the brand Library first unless it already is one of its files. An own video is attached exactly as it is: no Video Studio film is made, so nothing is cut, captioned or scored. To publish a finished clip unchanged, use asset_id or video_url, not create_motion_project. A cover picture the post already has is kept (pass keep_cover: false to clear it); a cover moment chosen in the old clip is cleared. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The post id from get_calendar | |
| asset_id | No | A video in the brand Library (list_brand_assets), attached as it is | |
| brand_id | Yes | Brand workspace id from list_brands | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| video_url | No | An https link to the finished video, attached as it is | |
| keep_cover | No | Default true: keep the post's cover picture. False clears it. | |
| project_id | No | A finished Video Studio film's project id. The bare project id or the library id ("studio-video:<uuid>" from list_creations / find_creation) both work. |