Skip to main content
POST
Media-library list

Authorizations

Authorization
string
header
required

A personal API key (adside_pat_…) or a token from adside login. Either carries the permissions of the person it belongs to.

Path Parameters

workspaceId
string
required
Minimum string length: 1

Body

application/json
account_id
string

X ads account id (e.g. 18ce55xcrlv). Omit it: it defaults to the ads account this workspace is connected to, and any other account is refused.

media_type
enum<string>
Available options:
GIF,
IMAGE,
VIDEO
q
string

Substring of the media name / title / file name (server-side).

limit
integer
default:50
Required range: 1 <= x <= 200

Response

200 - application/json

Success