Publish Draft
publish_draftPublishes a draft post immediately or schedules it for a future time. Also reschedules or publishes scheduled posts; other statuses return an error.
Instructions
Publish a DRAFT post now or schedule it; SCHEDULED posts are accepted too, to reschedule or push live. Other statuses fail with "Post is not a draft". Without scheduledAt (or with a past one) the post moves to PENDING and a publishing job is queued per platform: content reaches the networks within moments and cannot be recalled. A future scheduledAt sets SCHEDULED and queues nothing yet. Fails if an account was disconnected or a TikTok entry lacks privacyLevel; fix with update_post first. Not for new content, use create_post. Check list_post_results afterwards for per-platform outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID with status DRAFT (or SCHEDULED) | |
| timezone | No | IANA timezone stored with the post for display (e.g. "America/New_York"); it does not shift scheduledAt | UTC |
| scheduledAt | No | Absolute ISO 8601 instant (e.g. "2026-03-15T10:00:00Z"). Omit, or pass a past time, to publish now |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | An object with postId, queuedPlatforms (platforms whose publishing job was queued; empty when scheduled for later), isScheduled, and scheduledAt. |