Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trypost.it/llms.txt

Use this file to discover all available pages before exploring further.

Supported media types

TypeCommon formatsMIME types accepted on upload
ImageJPG, PNG, GIF, WebPimage/jpeg, image/png, image/gif, image/webp
VideoMP4, MOVvideo/mp4, video/quicktime
Both the file upload endpoint (POST /posts/{post}/media) and the URL-fetch endpoint (POST /posts/{post}/media/from-url) accept the same MIME set. WebM is intentionally excluded — every major social platform rejects it, so accepting it would just produce platform-specific publish failures.

Upload limit

1 GB per file. Files over 1 MB are sent in chunks (the dashboard streams them via Content-Range to the chunked upload endpoint) so big videos transfer reliably even on flaky connections.

Platform content types and media requirements

Each platform supports different content formats with specific media requirements. Use GET /content-types for the live, machine-readable version.

LinkedIn / LinkedIn Page

Content typeMediaMax filesNotes
linkedin_post / linkedin_page_postOptional1 image or 1 videoStandard text post with optional media
linkedin_carousel / linkedin_page_carouselRequiredUp to 20 imagesMulti-image swipeable post

X (Twitter)

Content typeMediaMax filesNotes
x_postOptional4 images or 1 videoImages and video can’t be mixed in the same post

Facebook

Content typeMediaMax filesAspectNotes
facebook_postOptional10 images or 1 videoStandard page post
facebook_reelRequired1 video9:16Short-form vertical video
facebook_storyRequired1 image or 1 video9:16Disappears after 24 hours

Instagram (and Instagram via Facebook)

Content typeMediaMax filesAspectNotes
instagram_feedOptional1 image or 1 video4:5Single-asset feed post
instagram_carouselRequiredUp to 10 images4:5Swipeable feed carousel (images only)
instagram_reelRequired1 video9:16Short-form vertical video
instagram_storyRequired1 image or 1 video9:16Disappears after 24 hours

TikTok

Content typeMediaMax filesAspectNotes
tiktok_videoRequired1 video9:16Short or long-form video

YouTube

Content typeMediaMax filesAspectNotes
youtube_shortRequired1 video9:16Vertical short

Threads

Content typeMediaMax filesNotes
threads_postOptionalUp to 10 images or 1 videoText post with optional media

Pinterest

Content typeMediaMax filesAspectNotes
pinterest_pinRequired1 image2:3Standard image pin
pinterest_video_pinRequired1 video9:16Video pin
pinterest_carouselRequiredUp to 5 images2:3Multi-image swipeable pin

Bluesky

Content typeMediaMax filesNotes
bluesky_postOptionalUp to 4 images or 1 videoText post with optional media

Mastodon

Content typeMediaMax filesNotes
mastodon_postOptionalUp to 4 images or 1 videoText post with optional media

Media ordering

Drag attachments in the post editor to reorder them. The order you set is the order they’ll appear on the social platform — important for carousels and multi-image posts.

File storage

Media files are stored on the disk configured by FILESYSTEM_DISK. Out of the box, TryPost ships with these drivers:
DriverUse case
localDevelopment or small self-hosted setups
s3AWS S3
r2Cloudflare R2 (S3-compatible — the default in shipped config)
Any S3-compatible service (MinIO, DigitalOcean Spaces, Backblaze B2) works under the s3 driver with the right endpoint.
On TryPost Cloud, media storage is handled automatically. Self-hosted users should configure cloud storage for production — see the Configuration guide.

FAQ

1 GB per file. Files over 1 MB are sent through the chunked upload endpoint via Content-Range headers.
Each post stores its own media records. To reuse the same image, upload it again or copy from the asset library.
The media records are removed along with the post.
TryPost uploads media to social platforms as-is. Each platform applies its own compression and resizing rules afterwards.