Bloss Docs

Recalculate your pay in the running campaign

Developers
POST
/creator/brands/{brandId}/campaigns/{campaignId}/recalculate

Recalculate your pay for the brand's running campaign from your latest stats (or a given snapshot day), as the Recalculate button does. Only the running campaign (403 otherwise) and not once it's paid (409). Paid or in-flight payments are never rewritten. Preview with dryRun.

Authorization

bearerAuth creator:payouts: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: creator:payouts:write

Path Parameters

brandId*string

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

Length1 <= length
campaignId*string

The running campaign's id: currentCycle.id from GET /creator/brands/{brandId}.

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
snapshotDate?string

YYYY-MM-DD: the stats day to price from. Default: the latest.

Match^\d{4}-\d{2}-\d{2}$

Response Body

Success.

application/json
  1. response
ok*boolean
curl -X POST 'https://example.com/api/v1/creator/brands/string/campaigns/string/recalculate' \  -H 'Content-Type: application/json' \  -d '{}'
{  "ok": true}

Was this page helpful?