Skip to main content
GET
List media

Authorizations

Authorization
string
header
required

An API key from Settings → API keys in the inDM app, sent as Authorization: Bearer indm_.... Keys belong to one workspace and carry a scope: read for GET routes and the validate dry run, full for everything. Keep keys on your server; never ship one to a browser or a mobile app.

Query Parameters

account_id
string<uuid>

Only this account's media. Leave it out to list every account in the workspace.

limit
integer
default:20

How many items per page. From 1 to 100.

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

The next_cursor from the previous page. Leave it out for the first page. Cursors are opaque; pass them back exactly as you received them.

Response

One page of media, newest first.

data
object[]
required
has_more
boolean
required

True when there is at least one more page.

next_cursor
string

Pass this as cursor to get the next page. Present only when has_more is true.