Get the next best time for each account
GET/:workspace/analytics/best-times
Returns, for each account, the next date and time its own best slot comes round: the slots of the best times to post scored for that account alone, turned into their soonest occurrence after from, within the following 14 days. The time is never in the past, and it is in timezone, ready to schedule a post with.
An account whose history does not point to a best time yet is left out of times.
Available to every workspace role, including VIEWER.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The next best time of each account.
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.