Get the best times to post
GET/:workspace/analytics/posting-times
Returns how well posting at each hour of the week has worked, learned from how the past posts of the chosen accounts performed. Every account weighs the same, so a busy account does not drown out the others.
Scores run from 0 to 100, where 50 is neutral. best names up to three weekday/hour slots with the highest score, at most one per weekday, counting only slots with at least two posts behind them. days scores each weekday as a whole, and day_intervals splits each weekday into 2-hour intervals, with the hour inside the interval that scores highest. confidence is high from 5 posts, medium from 2, low below that and none without any.
Weekdays are numbered from 0 (Sunday) to 6 (Saturday), and days and hours are in timezone. has_data is false, with empty lists, when none of the accounts has any scored history yet.
Available to every workspace role, including VIEWER.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The scored week.
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.
The {workspace} UUID in the path does not match any workspace.
The query failed validation: an account UUID that does not belong to the workspace, an unknown timezone, or a from that is not YYYY-MM-DD.