Skip to main content

List media

GET /media returns the newest 50 files in your workspace’s media library. Filter with ?type=image or ?type=video, and ?search= to match part of a file name. Pass the id values as media_ids when creating a post.
Response

Add media from a URL

POST /media downloads a file from a public https:// link into your media library and returns it (201 Created, same shape as above). JPG, PNG, WebP, GIF, MP4, MOV or WebM, up to 200 MB. name is optional and defaults to the file name in the link. Links to private or internal addresses are refused. You can skip this step: media_urls on create and edit does the same for each link. Files count toward your plan’s storage, and up to 60 files an hour can be added from links per workspace. Bigger files can be uploaded in the Postbase app (Media), up to 1 GB.