Social · Analytics · Get analytics for social media posts
Retrieve analytics data for individual posts of a specific social media account within a date range.
Authentication
Header authentication of the form Api-Key <token>
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Start date in format YYYY-MM-DD
End date in format YYYY-MM-DD
Number of posts per page (max 100). Use with all_posts_count and pages_count from the response to paginate through all results.
Response
Analytics availability for the requested account. Values are returned UPPERCASE by the API (the gateway does not normalize them). When not ENABLED or PROCESSING, the rest of the response will typically be empty/null and the agent should surface a reconnect/enable CTA instead of rendering a chart.
false when the social account itself is disconnected and needs a fresh OAuth reconnect (independent of status). When false, surface a "Reconnect account" CTA before any analytics data.
