Analytics

Get account analytics

Get analytics data for a specific social account. Returns account-level metrics (followers, following) and post-level metrics (views, likes, comments, engagement rate).

The response format varies by platform: each platform returns its own metric fields. All platforms include a meta.lastUpdated timestamp showing when data was last synced.

get/analytics/{workspaceId}/{socialAccountId}

Request

  • Base URL: https://api.postplanify.com/api/v1
  • URL: https://api.postplanify.com/api/v1/analytics/{workspaceId}/{socialAccountId}
  • Auth: HTTP bearer

Path parameters

workspaceIdstring uuid required
socialAccountIdstring uuid required

Response

Account analytics data (format varies by platform)

okboolean
dataobject

Platform-specific analytics data. Common fields across platforms:

  • meta.lastUpdated: when analytics were last synced
  • Post items include engagementRatePct and totalInteractions
  • Post items include internalLabel ({ name, color } or null) when the post was published via PostPlanify and has a content-pillar label assigned
  • Account/user objects include follower and following counts

Example response

{
  "ok": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.