tebarDocs
GuideDevelopersAPI ReferenceChangelog
Insights

List post performance on an account

GET
/v1/accounts/{id}/post-insights

Posts on the account in the range, newest first (at most 200), with lifetime totals. source "platform" (Threads, Instagram, TikTok Business): every post on the account, including those made outside Tebar. source "tebar": posts published through Tebar.

Requires the read scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (tb_live_...) from the dashboard, or an OAuth access token.

Path Parameters

id*string
Formatuuid

Query Parameters

from?string
Match^\d{4}-\d{2}-\d{2}$
to?string
Match^\d{4}-\d{2}-\d{2}$
tz?string
Lengthlength <= 64

Header Parameters

Tebar-Profile?string

Limits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.

Response Body

The posts with their numbers.

Example Request
curl -X GET 'https://api.tebar.app/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/post-insights'
Example Response
Empty