tebarDocs
PanduanDeveloperAPI ReferenceChangelog
Insights

Get insights for several accounts at once

GET
/v1/insights/summary

account_ids is comma-separated, 1 to 100 accounts of the profile (404 not_found when one is not). Each account comes as GET /v1/accounts/{id}/insights answers, with followers, views and the interaction metrics only, and totals added up from the stored daily values (totals_source stored, no platform call). top_posts: the 5 posts furthest past their own account’s usual (outlier). from, to and tz as in GET /v1/accounts/{id}/insights.

Requires the read scope.

Authorization

bearer
headerAuthorizationBearer <token>

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

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

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

Response Body

The insights of each account, and the top posts.

Example Request
curl -X GET 'https://api.tebar.app/v1/insights/summary?account_ids=string'
Example Response
Empty