Update a post draft
update_post_draftUpdate an existing draft post. At least one of content, threadParts, mediaUrls or media is required. To give images alt text (an image description for screen readers), pass media instead of mediaUrls: [{ "url": "...", "alt": "..." }] with an optional type (IMAGE, VIDEO or GIF); it replaces the media on the draft. Alt text limits: X and Instagram 1,000 characters, Bluesky 2,000, LinkedIn 300 (saved for LinkedIn but not sent to it yet); it is ignored on video and GIF. For a thread draft (X/Threads), pass threadParts (one string per post) to replace its posts; content only edits a single-post draft. Optional platform scopes the update to one platform on a multi-platform cross-post (e.g. rewrite just the Twitter copy without overwriting the Instagram caption). When the user has multiple channels per platform (e.g. three Twitter accounts), additionally pass channelName (e.g. "@acme") to narrow the update to one specific account's copy. When both are omitted, all providers in the draft are overwritten uniformly. Returns dashboardUrl — a clickable link to view/edit the just-updated draft in the PostNext dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | ||
| postId | Yes | ||
| content | No | ||
| platform | No | ||
| mediaUrls | No | ||
| channelName | No | ||
| threadParts | No | ||
| clientRequestId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ||
| status | Yes | ||
| content | No | ||
| mediaUrls | Yes | ||
| updatedAt | No | ||
| dashboardUrl | Yes |