Skip to main content
POST
Refresh content

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.

Path Parameters

account_id
string<uuid>
required

The account id from List accounts.

Response

The account synced within the last minute. Nothing was queued; read the media now.

status
enum<string>
required

started: a refresh is running; poll it. backfill: the account's first full sync is still running, and job_id is that sync. already_current: the account synced within the last minute, so nothing was queued; read the media now.

Available options:
started,
backfill,
already_current
job_id
string<uuid>

The refresh job to poll with Get a refresh. Left out when status is already_current.