List the stories still up on an account
Instagram, read from the platform now (kept for a minute): { account_id, supported, insights, data }. data[] holds the stories of the last 24 hours, newest first: { id, media_type (image or video), media_url, thumbnail_url, permalink, posted_at, expires_at, metrics }. metrics: { views, reach, replies, shares, total_interactions, follows, profile_visits, navigation } so far, each null when Instagram gave none; metrics itself is null when insights is false (the account did not grant the statistics permission) or Instagram gave no numbers for the story (it withholds them under 5 viewers). URLs are signed platform CDN links that expire. supported false on platforms whose stories Tebar does not read (data is then empty). 422 account_plan_inactive for an account over the plan's account limit, 422 account_expired for one that needs reconnecting; neither calls Instagram.
Requires the read scope.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringuuidTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The stories.
curl -X GET 'https://api.tebar.app/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/stories'Get the photos and videos of a post GET
Instagram and Threads, read from the platform now: data[] of { type, url, thumbnail_url }. URLs are signed platform CDN links that expire: use them right away. Requires the read scope.
Get insights of a Tebar post GET
Lifetime totals per target (the last synced values). deleted_on_platform: the platform answered that the post no longer exists, so its numbers are not read any more. Requires the read scope.