How it works
This page describes the real path, including which endpoints are called and what is stored on the way. If you are reviewing Postiva for a platform integration, this is the page to read.
Architecture
The panel is a Next.js application: it renders the calendar, accepts uploads and writes rows. It does not publish anything. Publishing is done by a second process, a worker on a 20 second tick that reads due jobs from the same SQLite database, calls the platform APIs and writes the result back. The split means a browser tab closing, a deploy or a panel error cannot interrupt a publish in flight, and it makes the failure mode obvious: if the worker is down, nothing goes out, and the panel says the line is closed rather than queueing silently.
Step one
TikTok
The worker initialises an upload against the content posting inbox endpoint, sends the file in chunks, then polls for the status. The video lands in the account holder's own TikTok inbox as a draft. A person opens TikTok, reviews it and taps publish. Nothing becomes public without that tap.
Before initialising, Postiva calls the Creator Info endpoint. It uses a privacy level the account actually offers rather than assuming one, and it refuses a video longer than the maximum duration that endpoint reports for the account. Only then does it initialise the publish, upload the file and poll for the result.
Photo and carousel posts are initialised as photo content and the images are pulled from URLs on the same verified domain, which is the path the API supports for this content type.
TikTok caps how many shares an account can have pending in a day. When that cap is reached, the job is deferred and picked up later instead of being retried into a rate limit error. The upload is chunked according to file size and resumed from its checkpoint if a step is interrupted.
Every TikTok post originates from a slot the operator placed on the calendar for an account they own and authorised. There is no auto generated content, no reposting of other people's videos and no engagement automation of any kind.
Instagram and Threads
When it fails