Upload from a URL
Have PostQueen fetch an image or video from a public HTTPS URL into the media library.
POST
Upload from a URL
Use this when the file already sits on the web, on a CDN or in public storage, and you do not want to download it and upload it again.
The answer has the same shape as Upload a file: put its
id and path on the post.
What the URL must be
- A public
https://URL that needs no sign-in. Plainhttpis refused. - Its path, without the query string, ends in
.png,.jpg,.jpeg,.gif,.webpor.mp4. AVIF, BMP, TIFF and MOV files cannot be fetched this way; send them to Upload a file. - It does not point at a private, local or internal address. PostQueen checks the address again when it connects.
How the file is fetched
PostQueen streams the file to storage, up to 1 GB and for at most 5 minutes. A server that declares a larger file is refused before the download starts. Once the file is in, PostQueen reads its type from the bytes, so a.png URL that serves an HTML page fails with Unsupported file type. A video comes back processing, as an upload does: poll Get media status before you post it.
If it fails
Authorizations
Response
Stored
Last modified on September 23, 2026
Upload from a URL