Analytics

Freshness of the analytics data, per connected account

Tells you when each account was last synced, whether a sync is running now, how far back the data goes (historyHorizonAt) and whether an account must be reconnected before analytics can be read from it (needsAnalyticsReconnect). Accounts on platforms without analytics (Mastodon, Telegram and Tumblr) are not listed.. Requires the analytics.read permission.

get/analytics/sync-status

Request

  • Base URL: https://post.adaptlypost.com/post/api/v1
  • URL: https://post.adaptlypost.com/post/api/v1/analytics/sync-status
  • Auth: HTTP bearer

Headers

X-Workspace-Idstring

The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out

Response

Sync status

accountGroupIdstring
syncInProgressboolean

True while any account is queued or syncing

lastSyncedAtstring date-time nullable
historyHorizonAtstring date-time nullable

Earliest date any connected account has data for

Changes

No recorded changes to this operation across all 2 revisions of this API.