Bloss Docs

Refresh every tracked video

Developers
POST
/brands/{brandId}/tracked-videos/sync

Fetch fresh metrics for every tracked video, as the Videos page's refresh does. It runs to the end before answering (a few seconds per video). A post that can't be fetched keeps its previous figures and is reported as failed, with why; the rest still refresh. Takes no body. 404 when the brand hasn't turned video tracking on.

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, 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: 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
total*number
synced*number
failed*number
results*array<>
curl -X POST 'https://example.com/api/v1/brands/string/tracked-videos/sync'
{  "total": 0,  "synced": 0,  "failed": 0,  "results": [    {      "id": "string",      "ok": true,      "error": "string"    }  ]}

Was this page helpful?