Skip to main content
GET
Get a refresh

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.

job_id
string<uuid>
required

The job_id that Refresh content returned.

Response

The refresh job.

job_id
string<uuid>
required
account_id
string<uuid>
required
status
enum<string>
required

pending and running: keep polling. completed: read the media. failed: Instagram didn't return the posts this time; try once more, and check account health if it fails again.

Available options:
pending,
running,
completed,
failed,
canceled
items_synced
integer
required

How many posts this refresh brought in so far.

created_at
string<date-time>
required

When the refresh was queued.

finished_at
string<date-time>

When it finished. Present once it has.