Media

Upload media from a URL

Download a file from a URL and upload it to your media library — the recommended path for MCP/programmatic uploads. Supports videos up to 1 GB: files over 100 MB are streamed to storage by a background worker and the response returns 202 with the item in processing state (poll GET /media/{id} until status is ready). Files at or under 100 MB upload inline and return 201 ready. A PDF URL is split into image slides and returned as a carousel (see PdfUploadResult; pass all of media_ids to POST /posts). Every response also includes a compatibility block listing any connected platforms that would reject the file by size or format.

post/media/upload-from-url

Request body

urlstring uri required

HTTP or HTTPS URL of the file to download (max 1 GB for video; per-platform caps apply at scheduling).

filenamestring

Optional filename override

namestring

Optional human-readable label so the asset is findable by name later (e.g. "pp-play5get50").

folderstring

Optional folder name to file the asset under (created at the top level if missing).

folder_idstring

Optional id of an existing folder to file the asset under.

Response

File uploaded inline (<= 100 MB) and ready to use. A single data (Media) for image/video; a PdfUploadResult (slides + media_ids) for a PDF.

OR

Changes

No recorded changes to this endpoint across all 1 revision of this API.