Skip to main content
GET
List vault media

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in OnlyX under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Path Parameters

creatorId
string
required

The creator id (cre_…), from GET /v1/creators.

Maximum string length: 40

Query Parameters

type
enum<string> | null

Only this media type.

Available options:
photo,
video,
gif,
audio
listId
string | null

Only media in this vault list (an id from listIds).

Maximum string length: 40
Pattern: ^[A-Za-z0-9_-]{1,40}$
sort
enum<string>
default:newest

newest (default), oldest or earnings.

Available options:
newest,
oldest,
earnings
limit
integer
default:25

Page size, 1-100. Default 25.

Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor from the previous page's nextCursor. Omit for the first page.

Maximum string length: 1024

Response

A page of vault media.

A page of vault media: {data, hasMore, nextCursor}.

data
VaultMedia · object[]
required
hasMore
boolean
required
nextCursor
string | null