Bloss Docs

Pair videos into sets

Developers
POST
/brands/{brandId}/sets/auto-pair

Auto-pair, as the app's button does: group each live creator's unpaired videos into sets (the same video cross-posted to several platforms, matched by length and thumbnail), then recalculate the sets' pay. With cycleId, only that payout cycle; without, every unpaid cycle, oldest first. Only videos inside each cycle's pairing window are considered. It runs to the end before answering, which can take a few minutes for a big brand. A full sync (brand.sync.start) already pairs. dryRun lists the cycles it would work through. An unknown cycleId answers 404; no unpaid cycle answers 409.

Authorization

bearerAuth videos: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: videos:write

Path Parameters

brandId*string

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

Length1 <= length

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Request Body

application/json
  1. body
cycleId?string

A payout cycle id from GET /brands/{brandId}/cycles. Omit for every unpaid cycle.

Length1 <= length

Response Body

Success.

application/json
  1. response
creators*number

Creators processed.

paired*number

New sets made.

errors*number

Creators whose pairing failed.

cycleIds*array<string>

The cycles processed, in order.

curl -X POST 'https://example.com/api/v1/brands/string/sets/auto-pair' \  -H 'Content-Type: application/json' \  -d '{}'
{  "creators": 0,  "paired": 0,  "errors": 0,  "cycleIds": [    "string"  ]}

Was this page helpful?