Analytics

Refresh one account now instead of waiting for the nightly pass

Reads the platform inside the request, writes the snapshots, then returns the refreshed analytics. Covers up to the 1000 most recent posts.

This is a write: it rotates OAuth tokens, stores snapshots and consumes the platform's rate limit, so it needs manage access to the account, not read access. Use it when someone has just published from the platform's own app — the collector otherwise runs once a night.

post/analytics/{connectedAccountId}/sync

Request

  • Base URL: https://api.multi-upload-tool.com/api/v1
  • URL: https://api.multi-upload-tool.com/api/v1/analytics/{connectedAccountId}/sync
  • Auth: API key in header x-api-key

Path parameters

connectedAccountIdstring required

Id of the connected account, as returned by GET /accounts.

Query parameters

timezonestring

IANA zone the postingInsights weekday and hour buckets are read in, e.g. Europe/Paris. Defaults to UTC. An hour-of-day ranking read in the wrong zone is silently off by the whole offset, so send the user's own.

Headers

X-Team-IDinteger

Act inside this team. Ignored when the token is already pinned to a team; membership is verified on every request.

Response

Analytics as of the sync that just ran.

successunknown

Changes

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