Skip to main content
Publish finished project generations straight to YouTube, Instagram, TikTok, Facebook, X, Threads, LinkedIn, Reddit, Mastodon, Bluesky, and Snapchat through the Social Posting API (motion:social:read and motion:social:write).

1. List connected social accounts

Pick the id of the destination account (connection_id) you want to publish to. To connect a new social account, see Connectors.

2. Draft a post from a generation

Call POST /social/posts with connection_id, a saved generation_id from a project, and your post copy. Motion exports the video automatically; include a UUID Idempotency-Key header for safe retries:
  • YouTube & Reddit: Supply title and description.
  • All other platforms: Supply caption.
  • Multiple compositions: If a generation contains multiple videos or images, pass composition_id to pick which one to post.
  • Scheduling: Include an ISO 8601 scheduled_at timestamp, or omit it to publish as soon as the post is approved.
  • Thumbnails: On video platforms that support custom thumbnails, pass a saved image generation in thumbnail_generation_id.

3. Submit, approve, or cancel

Workspace social accounts follow a review workflow:
  1. Submit for review: POST /social/posts/{post_id}/submit
  2. Approve & publish (Workspace Manager): POST /social/posts/{post_id}/approve
  3. Update or cancel: Edit drafts with PUT /social/posts/{post_id}, or cancel before publication with POST /social/posts/{post_id}/cancel.
Poll GET /social/posts/{post_id} (or list posts with GET /social/posts) to track post status (draft, in_review, scheduled, processing, posted, failed, or cancelled). See the Social posting API reference for all fields.