Bloss Docs

Start a full sync

Developers
POST
/brands/{brandId}/sync

Start a full sync of the brand, the same as the Full sync button in the app: fetch every active and trial creator's latest posts and views from their platforms, pair the videos into sets, recalculate pay on every unpaid payout cycle, and refresh eligibility. It takes minutes (longer for big brands), so it runs in the background: this answers 202 as soon as it's started. Follow it with brand.sync.get (GET /brands/{brandId}/sync). A sync already running for the brand (including the nightly one, or one started in the app) answers 409 conflict. A new start within 15 minutes of the last sync finishing answers 429 rate_limited with Retry-After. Takes no body.

Authorization

bearerAuth sync: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.

Scope: sync:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length

Response Body

Success.

application/json
  1. response
started*boolean
brandId*string
requestedAt*string

When this start was accepted.

progress*

Where to follow the sync. The new run shows there within a few seconds.

curl -X POST 'https://example.com/api/v1/brands/string/sync'
{  "started": true,  "brandId": "string",  "requestedAt": "string",  "progress": {    "operation": "brand.sync.get",    "path": "string"  }}

Was this page helpful?