Get the analytics of a post
GET/:workspace/posts/:post/analytics
Returns how a published post performed on every account it was published to. summary adds the accounts up into views, likes, comments and shares; accounts holds each account's own metrics as the provider reports them, and how the post compares with that account's average post. winner names the account with the highest engagement rate, or is null when the post went out to fewer than two accounts or drew no engagement.
Trends are lists of {date, value} points holding the daily change. A post tracked for 60 days or more is grouped by week, and one tracked for 180 days or more by month; each point is then dated with the first day it covers (the Monday of the week, or the month as YYYY-MM). Accounts the post was not published to are left out, so an unpublished post returns an empty summary and accounts. Posts in the trash can still be read.
Available to every workspace role, including VIEWER.
Request
Responses
- 200
- 401
- 403
- 404
The analytics of the post.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
Workspace or post not found.