Skip to main content
POST
read social results

Authorizations

Authorization
string
header
required

An API key (es_live_…) from Settings, under API keys, or an OAuth access token.

Headers

Idempotency-Key
string

Retry a paid dispatch safely: the same key returns the job already dispatched instead of charging again.

x-workspace-id
string

The workspace this one call acts in, when it is not the default: for a key or a connected agent, one of the workspaces the user allowed it.

Body

application/json
view
enum<string>
required
Available options:
overview,
posts,
best_time,
metrics,
catalog,
measures
query
object

metrics: what to read. from and to bound it.

from
string

First day, YYYY-MM-DD. Default: 30 days back; for metrics, the entity's own.

to
string

Last day, YYYY-MM-DD; default today.

platform
enum<string>

overview, best_time: one platform only.

Available options:
instagram,
tiktok,
youtube,
twitter,
linkedin,
facebook,
threads,
pinterest
account_id
string

One account only, an id from manage_social_accounts list.

sort
enum<string>

posts: newest first (default) or top by engagement.

Available options:
date,
engagement
page
integer

posts: the page, from 1.

Response

Done, or a job started for work that runs longer (follow it with get_jobs).

ok
any
required
data
object
required
meta
object
required
media
object[]