API Reference
Publish Project
Publish or schedule an exported project to one or more social platforms (YouTube, TikTok, Instagram, X/Twitter, Facebook, LinkedIn) in a single call
POST
Publish Project
Publish or schedule an exported project to one or more connected social platforms (YouTube, TikTok, Instagram, X/Twitter, Facebook, LinkedIn).This endpoint requires authentication. The project must already be exported
(have a
downloadUrl), and the social accounts you want to publish to must be
connected from the Publishing page in
the dashboard.Authentication
Your Submagic API key starting with
sk-Path Parameters
The unique identifier (UUID) of the exported project to publish
Request Body
ISO 8601 timestamp to schedule the publication for a future time. Must be in
the future. Omit to publish immediately. Scheduled publications return a
202 Accepted response; immediate publications return 200 OK.Per-platform publishing options. At least one platform must be provided.
Unknown keys are rejected.
Prerequisites
Before publishing a project, ensure:- Project is exported: The project must have a
downloadUrl(statuscompleted) - Project ownership: The project must belong to the authenticated user
- Accounts connected: Each requested platform must be connected from the Publishing page in the dashboard
- Sufficient credits: Your account must have enough API credits
Response
Unique identifier of the publication
The unique identifier of the project being published
true if the publication was scheduled for a future time, false if
published immediatelyISO 8601 timestamp of when the publication was published or is scheduled to
publish
Current status of the publication:
published, scheduled, processing, or
failedArray of platforms the project is being published to
Tracking Published Posts
After publishing, use the List Published Projects endpoint to retrieve the status, platform URLs, and analytics of your posts.Tip: To connect a YouTube, TikTok, Instagram, X (Twitter), Facebook, or
LinkedIn account, visit the Publishing
page in the dashboard. Once connected, the account is available to all
publish requests for that user.

