Get platform analytics
Platform Analytics
Get analytics data for a specific integration/channel. Returns metrics like followers, impressions, engagement, etc. depending on the platform.
GET
Get platform analytics
Path parameter: integration
The {integration} path parameter must be the integration’s id (the UUID-shaped string returned by GET /public/v1/integrations).
It is not the platform __type (e.g. x, linkedin) and not the channel display name. Passing either of those returns 500 with the message Invalid integration. That is a rough edge rather than a designed status: the lookup throws a plain error. Read it as “no such integration in this organization”.
Common errors
500 Invalid integration: no integration with that id belongs to your organization. A__type, a display name or an id from another workspace all land here.- Empty array with
200: the channel exists but its token expired and could not be refreshed, so PostQueen disconnected it. Reconnect it from the PostQueen UI. There is no404 Channel not foundon this endpoint. - Empty data: some platforms (notably Google My Business) restrict analytics by date range or by profile verification status. The endpoint returns an empty payload rather than an error.
Authorizations
Your PostQueen API key
Path Parameters
Integration ID
Query Parameters
Number of days to look back for analytics data (e.g. 7, 30, 90)