How-To Guide
What is a social media scheduling API, and what happens between the call and the post?
A scheduling API stores your post and publishes it later. See what each endpoint takes and returns, the three limits, and how a failed publish looks.
What is a social media scheduling API?
A social media scheduling API is a queue you call instead of an app. You send an account, the content and a publish time to a provider's endpoint; it stores the post, publishes each destination at that time and reports a status for each one. A posting API publishes now. A scheduling API owns everything in the gap: the token, the timer, the retry and the failure record.
- Other pages on this site compare APIs or cover one slice; this page follows one post from the call to the public result: the request, the identifier and status, the three limit levels and the three failure shapes.
- Most networks publish immediately through their own API. PostZen counts two that accept a time in the call, Facebook Pages and YouTube; Meta documents the Page window and Google names the publish-at property.
- A vendor's scheduling API wraps several networks behind one request. Ayrshare shows one call carrying text, a platform list, media addresses and a schedule date.
- The hard part is after the call: a post can be accepted and still fail. LinkedIn publishes separate states for a post that is queued and one that failed processing.
A scheduling API is a posting API plus a clock
PostZen reduces the category to one line: a social media scheduling API is a posting API plus a clock. The definition is useful because it names the part that is easy to miss. A posting API takes content and publishes it now. A scheduling API takes content and a time, then owns the storage, the validation, the token refresh, the wake-up, the retry and the report for each destination.
Zernio splits the market in two. A native API is the platform's own, with its authentication and its rules. A unified API puts several networks behind one authentication and one request shape. Both are scheduling APIs in the sense above; they differ in who holds the clock and how many networks answer one call.
The word scheduling is also used for a feature inside an app. Zernio's platform table lists LinkedIn's composer clock icon and Threads' in-app scheduler, which are not API features. Read a vendor table twice: a network that can be scheduled in its app may still publish immediately when you call its API.
Every call runs through the platform's own limits, so the rest of this page is the request, the response and the failure.
Have your AI do this for your brand.
7 days free, then $29 a month.
What you send, endpoint by endpoint
The request shapes differ because the platforms differ. These are the calls documented by the platform references read here, plus one unified vendor.
| Destination | Call | What the request carries |
|---|---|---|
| create a media container, then publish it | Account id, public media address, media type, caption | |
| X | create a post | Text up to 280 characters unless Premium; media ids from an earlier upload |
| create a post | Author, commentary, visibility, distribution, published state; version header on every call | |
| TikTok | start a direct post | Creator info query, then post settings and a local or hosted file address |
| Facebook Page | publish to a Page | Message, published flag set false, scheduled time 10 minutes to 30 days ahead |
| YouTube | insert a video | Video metadata, privacy status, scheduled publish time |
| A unified vendor | Ayrshare | Text, platform list, media addresses, one schedule date |
Instagram takes two calls for one image or video post. A media container is created first, then published by a call that names its id. A carousel first creates one container per item, then a carousel container that lists up to 20 items, then one publish call. Meta says the media must already sit on a publicly accessible server when you call, and JPEG is the only image format supported.
X has no future time in its create-post body. You post text and media ids now, and a scheduler that offers a time for X is holding that time in its own queue. Media is uploaded first with the chunked upload endpoints, and a Post may include up to 4 photos, 1 animated GIF, or 1 video. The page also warns that a successful upload does not guarantee the media can be attached.
LinkedIn creates a post with one call and returns a post id. Its reference says PUBLISHED is the only accepted field during creation, which means the time is not in the create body either. TikTok is the clearest job model: a creator info query, an init call, an upload, and a separate status call keyed by the publish identifier.
Facebook Pages is one native scheduler the page can verify. Meta says the publish date must be between 10 minutes and 30 days from the time of the API request. PostZen prints 75 days for the same window; the platform's own page is the one to build against, and the disagreement is a reason to check every limit at its source.
What comes back, and what to store
Every successful create call returns an identifier, and none returns proof that a public post exists. Store the identifier, the status and the time you read it.
Instagram returns a container id, then a media id when the container is published. Meta's page lists five container states, EXPIRED, ERROR, FINISHED, IN PROGRESS and PUBLISHED; read the exact token for each from the reference. It advises checking a container's status once per minute, for no more than 5 minutes. An accepted container is not a published post until the publish call returns.
X answers a successful create with 201 and a data object holding the new post's id and text. LinkedIn answers 201 and puts the post id in the x-restli-id response header. TikTok answers the init call with a publish identifier, then reports progress through the status endpoint. A unified vendor returns one stored post with one entry per destination, as PostZen describes, so a six-network call is six independent outcomes rather than one.
| Call | Identifier to store | Where the status lives |
|---|---|---|
| Instagram container | Container id | A status field on the container, then a media id after publish |
| X post | Post id | The create response; a separate lookup by id |
| LinkedIn post | Post id in a response header | The post's lifecycle state on a read |
| TikTok direct post | Publish identifier | A status endpoint keyed by that identifier |
| Unified vendor | One stored post id | One entry per destination on the stored post |
LinkedIn lists draft, published, publish requested and publish failed as values a read can return, and says a submitted post publishes asynchronously once processing succeeds; read the exact tokens from its reference. Keep those as separate facts: a queued post and a published post call for different actions.
The three limits: per post, per account, per app
Schedulers fail at volume because three different ceilings apply at once. A per-post rule stops one item; a per-account rule stops the day; a per-app rule stops the integration.
| Level | Where it is printed | The number as stated |
|---|---|---|
| Per post | Carousel of 20 images, videos or a mix; JPEG only for images | |
| Per post | X | 280 characters unless Premium; up to 4 photos, 1 animated GIF or 1 video; video capped at 20 minutes and 8 GB without Premium |
| Per account | 100 API-published posts per 24-hour moving period; carousel section prints 50 per 24 hours | |
| Per account | X rate limits | 100 per user per 15 minutes on the post endpoint |
| Per app | X rate limits | 10,000 per app per 24 hours on the same endpoint |
| Per app | Postiz | 90 create-post requests per hour, 100 on its cloud, one global value for the instance |
Instagram's own page does not agree with itself. The rate-limit section says accounts are limited to 100 API-published posts within a 24-hour moving period and that carousels count as a single post. The carousel limitations print 50 published posts within a 24-hour period. Build to the lower number until the platform says otherwise, and treat the higher one as an unconfirmed ceiling.
Read the numbers with their basis. X counts requests, not posts, and splits the count between app and user. Postiz counts create-post requests and says the cap is one global value for the whole instance, while plans differ on channel and post-per-month quotas. LinkedIn prints no daily number; it prints the error a call gets when the limit is hit. TikTok prints no daily number either: its creator info carries a maximum video duration, and unaudited clients post privately.
The X response also tells you where you stand. Three headers report the maximum requests allowed, the number remaining in the window, and a Unix timestamp when the window resets. Store the reset time with the failing request; a retry before it is a second failure.
What a failed publish looks like
A failed publish is one of three shapes, and they need different handling. The first is rejected at the request: nothing was stored. Postiz returns 400 for a malformed body or path, and 413 when a post body exceeds 50 MB.
The second is refused for rate or permission: X returns 429 until the window resets, LinkedIn returns 429 with a too-many-requests message, and X returns 403 when a video is longer than the account may post. A 403 is a decision, not a transient error; retrying it unchanged wastes calls.
The third is the dangerous one: accepted, then failed. A LinkedIn post can sit in its requested state, meaning it was submitted but is not ready for rendering, then end in its failed state, where the page says an edit is required before a retry. An Instagram container can sit at ERROR or expire unpublished after 24 hours, and a TikTok upload can finish while the post is still processing. A scheduler that treats the create call as success will report a publication that did not happen.
Multiple destinations make failure partial. PostZen's response is the stored post with one entry per target, and six publishes are six separate outcomes with no rollback. If five succeed and one fails, the right answer is five confirmed posts and one failed target, never a retried six. Keep an idempotency key per destination so a retry cannot duplicate the five that worked.
- Log the identifier, the status, the response body and the time you read it, for every destination.
- Retry only what the page calls transient. Postiz says 5xx server errors should be retried with exponential backoff; a 400 needs a fixed request, not another try.
- Read back before you report. A status of published on the provider's side, read after the fact, is the only evidence of a public post.
- Leave an unknown outcome unknown. If the readback fails, say so; do not turn a missing answer into a published post or into a failed one.
How to check one in an afternoon
- Pick one destination account and read its reference for the exact call.
- Create one post in each format you use, with real media, and keep every identifier.
- Read each status until it is terminal, and record the values you saw.
- Divide your daily volume by the per-account and per-app numbers on the pages you read. If the result is above one, the cap will stop you before your content does; a hundred posts a day against a 50-post cap is two and does not fit.
- Force one failure: an over-long text, an unsupported image, a revoked token. Confirm the error arrives where your code will see it.
Superdirector is not a multi-platform posting API, and the page will not pretend otherwise. Its programmatic surface is its render and MCP tools; the posting product is the app. On the Growth plan, posts publish to Instagram and X automatically once posting is turned on for the account, which in this product means Instagram carousels and Reels and single link-free X text posts, for the two accounts the plan includes at the price printed on the pricing page. Stories, TikTok and YouTube publishing are outside it.
The lower plan does not publish; it gives ideas, scripts and downloads. Both plans can start a finished AI video from a saved script.
If you need a queue across many networks, choose the vendor whose request shape and failure states match your code, then test one post per format.
Frequently asked questions
What is a social media scheduling API?
Do social networks support scheduling through their own APIs?
What does a scheduling API return?
What does a failed publish look like?
Can I schedule an Instagram carousel through the API?
Have your AI do this for your brand.
7 days free, then $29 a month.