Media
The Media API lets you list and filter items in your library. You can page through results, query by IDs, or apply filters such as type, usage status, source, labels, and search terms.
Requirements
Authentication: Bearer API token
Scope:
media
Headers:
Authorization: Bearer-API YOUR_API_KEY
Publer-Workspace-Id: YOUR_WORKSPACE_ID
Endpoint
List Media
Retrieve all social media accounts in a workspace.
Query Parameters
ids[]
string[]
No
Specific media IDs (pagination and other filters ignored when set)
page
integer
No
Page number (0-based). Default: 0
types[]
string[]
Yes
Filter by media type: photo
, video
, gif
used[]
boolean[]
Yes
Filter by usage status
labels[]
string[]
No
Filter by label IDs
source[]
string[]
No
Filter by source: canva
, vista
, postnitro
, contentdrips
, openai
, favorites
, upload
search
string
No
Full-text search on name or caption
embedded
boolean
No
Set true
when calling from an embedded view
Retrieves a paginated list of media items from the user's library. The endpoint supports filtering by various parameters and can also retrieve specific media items by their IDs.
Specific media IDs to retrieve. If provided, pagination and other filters are ignored
Page number for pagination (0-based)
Filter by media types
Filter by used status
Filter by label IDs
Filter by source
Search term to filter media by name or caption
Indicates if the request is from an embedded view
ID of the workspace to retrieve media from
Notes
Free trial users see placeholder data unless they supply specific query filters.
Paid accounts have full library access.
Related Resources
Accounts API — Manage connected social accounts
Posts API — Create and schedule posts
Media Upload — Upload new media files
Last updated
Was this helpful?