You need an API key and a project with at least one connected social account.
Both come from the Sapt dashboard.
1. Find the account
id of the Instagram entry — that is your socialAccountId.
2. Upload the video
Stream the raw bytes with the file’s own content type:data.handle from the response — both stagingId and ext.
3. Schedule the post
status: "scheduled". Keep data.post.id.
4. Check on it
queued, then publishing, then published
with a permalink. If something goes wrong it becomes failed and
errorMessage says why.
All together
Next
Social publishing
Platforms, media types, and the post lifecycle in full.
Publish immediately
Skip the calendar, and handle failures.