Skip to main content
GET
List posts and their numbers

Authorizations

Authorization
string
header
required

An API key, created in Solara: the menu under your name, then API keys. Send it as Authorization: Bearer sol_live_…. It works while the workspace has agent access, within what its plan gives (the free plan included).

Query Parameters

days
enum<integer>
default:30

The range: the last 7, 30 or 90 UTC days, today included

Available options:
7,
30,
90
scope
enum<string>
default:overview

The tab: overview (TikTok, Instagram, Facebook and Threads), or one platform

Available options:
overview,
youtube,
tiktok,
instagram,
facebook,
threads,
x,
linkedin,
linkedin_page
made_with
enum<string>
default:everything

solara: only posts made with Solara; everything: every post of the connected accounts (X: Solara's only)

Available options:
solara,
everything
platforms
enum<string>[] | null

The Overview's platform menu: only these of its platforms (TikTok, Instagram, Facebook, Threads), repeat it for several; absent: all four. YouTube, X and LinkedIn are never added into the Overview: asked, they are ignored (X and LinkedIn still choose their By platform lines). Ignored on a platform's tab

Available options:
youtube,
tiktok,
instagram,
facebook,
threads,
x,
linkedin,
linkedin_page
sort
enum<string>
default:published_at

published_at, or any metric of the scope (get-performance-summary's metrics); a post without that number sorts last

Available options:
published_at,
views,
impressions,
unique_impressions,
reach,
likes,
reactions,
comments,
replies,
shares,
reposts,
quotes,
saves,
bookmarks,
clicks,
link_clicks,
profile_clicks,
profile_visits,
follows,
watch_time,
average_view,
average_watch_time,
subscribers_gained,
engagement
order
enum<string>
default:desc
Available options:
desc,
asc
limit
integer<int64>
default:100

The first this many after sorting

Required range: 1 <= x <= 500

Response

OK

posts
object[] | null
required
total
integer<int64>
required

Every post the range and filters hold, limit or not