Bloss Docs

Ask for fresh stats on a managed account

Developers
POST
/managed/accounts/{accountId}/analytics/refresh

Asks for the account's numbers to be captured again, as the Refresh button on its Analytics tab does. Free. Answers 202 with state: "queued" (a capture is on its way; read GET /managed/accounts/{accountId}/analytics again in a few minutes) or "already_fresh". A refresh too soon after the last one is 429 with details.nextAllowedAt and a Retry-After header.

Authorization

bearerAuth managed:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: managed:write

Path Parameters

accountId*string

A managed account id from GET /managed/accounts.

Length1 <= length

Response Body

Success.

application/json
  1. response
state*string
Value in"queued""already_fresh"
nextAllowedAt*|

When the next refresh is allowed, if this one used the last for now.

curl -X POST 'https://example.com/api/v1/managed/accounts/string/analytics/refresh'
{  "state": "queued",  "nextAllowedAt": "string"}

Was this page helpful?