Publishing
Upload a photo or video for a post
Fetches a photo (JPEG or PNG, up to 30 MB, ratio 4:5 to 1.91:1) or a video (MP4 or MOV, H.264 or HEVC with AAC audio, 3 seconds to 15 minutes, up to 300 MB, moov before mdat) from a public HTTPS url and stores it for a post. Use media.id in media_ids. purpose cover stores an image as a Reel’s cover. A file Instagram would refuse is refused with its issues. Unused files are deleted after 2 days.
Needs an API key with write access.
POST
Upload a photo or video for a post
Authorizations
A Replier API key (rpl_...).
Headers
Send the same key when you retry, and the request runs once. Without one, every request runs.
Required string length:
1 - 128Path Parameters
Workspace ID returned by GET /v1/workspaces
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
application/json