Media Handling
Overview
Direct File Upload
Limitation
Request Format
API key authentication. Format: "Bearer-API YOUR_API_KEY"
ID of the workspace to upload media
Whether to upload directly to our S3 cloud (slower, but required if you need the final media URL)
falseWhether to save to media library
falseMedia file uploaded successfully
Unique identifier for the uploaded media
6813892b5ec8b1e65235ae9eURL path to access the uploaded media
https://cdn.publer.io/uploads/tmp/1746110763-128246820936684-0001-1648/mini_magick20250501-29172-ce1rot.pngURL path to access a thumbnail version of the media
https://cdn.publer.io/uploads/tmp/1746110763-128246820936684-0001-1648/mini_magick20250501-29172-ce1rot.pngIndicates which networks and post types support this media
Width of the media in pixels
1451Height of the media in pixels
1005Source attribution for the media
Media type (photo, video, document)
photoOriginal filename
123_1kdw8ry.pngCaption for the media
Invalid request parameters
Unauthorized
Permission denied or missing required scope
Upload from URL
API key authentication. Format: "Bearer-API YOUR_API_KEY"
ID of the workspace to upload media
Upload type
singlePossible values: Whether to upload directly to our S3 cloud (slower, but required if you need the final media URL)
falseWhether to save to media library
falseMedia upload job created successfully
ID of the created job
68138a295ec8b1e65235aea0Invalid request parameters
Unauthorized
Permission denied or missing required scope
Checking Upload Status
API key authentication. Format: "Bearer-API YOUR_API_KEY"
ID of the job to check
ID of the workspace to retrieve posts from
Job status retrieved successfully
Whether the request was successful
trueUnauthorized
Permission denied or missing required scope
Using Media in Posts
Supported Media Types
Images
Videos
Documents
Network Validation
Best Practices
Image Optimization
Video Optimization
General Tips
Related Topics
Last updated
Was this helpful?

