Guides
Creating Posts
Use POST /posts/create to create a new post.
Attaching Media
There are two ways to attach media to a post:
- Upload first -- Upload via
POST /media/uploadorPOST /media/upload-from-url, then pass the returned IDs in themedia(ormedia_ids) field. - Inline URLs -- Pass external image/video URLs in the
media_urlsfield. The API will download, process, and attach them automatically. Max 10 URLs.
Both methods can be combined in a single request. Media IDs are validated -- you'll get a 400 error if any ID doesn't exist in your library.
Code
Post Types
Use the type field to specify what kind of post to create:
post- Regular feed post (default)story- Story (Instagram, Facebook)reel- Reel/Short (Instagram, Facebook, YouTube, TikTok)
Last modified on