Skip to main content
The Media API handles the lifecycle of images and videos used in your posts: requesting a direct-upload URL, verifying and probing the uploaded file, and tracking when it is ready to attach.

Media lifecycle

Media statuses

Endpoints

Limits and notes

  • Presigned upload URLs expire after 1 hour; request a new one if the upload is interrupted.
  • Maximum file size for a single direct upload is ~5 GB (maxSize: 5242880000 in the upload response).
  • Finalize accepts up to 50 media IDs per call.
  • When a post is deleted or rejected, media attached only to that post is cleaned up automatically.
Last modified on September 21, 2026