Update a pending post
update_publicationEdit draft or ready social posts before publishing, including text, media, schedule, visibility, and platform-specific options. Fix a Pinterest pin missing its board by setting the destination.
Instructions
Change the text, media or scheduled date of a post that has NOT gone out yet (state draft or ready). A published post cannot be edited through PlanVortex; if you try, the error will say so. A Pinterest pin saved without a board (error 987) is fixed here by passing destination_id. On TikTok and YouTube the visibility and the other settings the user chose can be changed here too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Pinterest: the pin's destination URL. | |
| text | No | ||
| files | No | ||
| state | No | ||
| title | No | ||
| visibility | No | YouTube and TikTok only: who can see the post. On TikTok, the user's choice. | |
| interactions | No | TikTok only: comments, duet, stitch, each true or false. | |
| publish_date | No | ISO 8601. | |
| made_for_kids | No | YouTube only: whether the video is made for kids (COPPA). | |
| destination_id | No | Pinterest: the board, an id from list_destinations. | |
| id_publication | Yes | ||
| id_organization | No | The PlanVortex organization id. Optional. | |
| commercial_content | No | TikTok only: your_brand and/or branded_content (a paid partnership cannot be private). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication | Yes |