Skip to main content
GET
List media
List the files already in your media library so you can reuse them as post attachments without uploading again. Results are scoped to your organization, sorted newest first, 18 per page.

Query parameters

  • page: page number, starting at 1 (default 1).
  • search: case-insensitive filter on the original file name.

Example

Response:
Pass an item’s path in a post’s image array (see Create Post). path is a public URL, so there is no separate download endpoint.

Authorizations

Authorization
string
header
required

Your Postiz API key

Query Parameters

page
integer
default:1

Page number (1-indexed). Defaults to 1.

Required range: x >= 1

Case-insensitive filter on the original file name.

Response

200 - application/json

Paginated list of media files

pages
integer

Total number of pages

results
object[]