Skip to main content
We’ll take a video file and put it on Instagram for Friday morning.
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

Take the id of the Instagram entry — that is your socialAccountId.

2. Upload the video

Stream the raw bytes with the file’s own content type:
Keep data.handle from the response — both stagingId and ext.

3. Schedule the post

The response carries the post with status: "scheduled". Keep data.post.id.

4. Check on it

At the scheduled time it moves to 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.