Uploads
Upload File
Upload a media file using multipart form data.
POST
Upload a file
Upload a media file by multipart form. Returns an
PDFs are not accepted. See Uploads troubleshooting for limits and recommended video formats.
Example response:
id and path you can pass into a post’s image array.
Accepted MIME types
The backend inspects the file’s actual content (not just the extension) and rejects anything outside this allowlist:| Type | MIME |
|---|---|
| JPEG | image/jpeg |
| PNG | image/png |
| GIF | image/gif |
| WebP | image/webp |
| AVIF | image/avif |
| BMP | image/bmp |
| TIFF | image/tiff |
| MP4 video | video/mp4 |
Example
Usage in a post
Authorizations
Your Postiz API key
Body
multipart/form-data
The file to upload
Upload a file

