The brand's campaigns
Every campaign of the brand, as on the Campaigns page: the Live or Paused one first, then Scheduled, Drafts, and the past newest first. Deleted campaigns are listed while they can still be restored. Each has its state, its days in the brand's time zone (an open-ended campaign's endDate is null), any open pause, and what its state allows. current marks the Live or Paused campaign; postsCount says whether new posts count right now. With the money permission (Payout settings, cycles and payouts) and a full admin, money has what was earned and is still owed. A campaign's id is the same id as its payout cycle in the cycle operations.
bearerAuth analytics:readAuthorizationBearer <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.
Scope: analytics:read
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthSuccess.
application/json- response
timeZone*stringThe brand's IANA time zone; every day here is in it.
payShown*booleanFalse: the caller can't read pay, so money is null.
data*array<>curl -X GET 'https://example.com/api/v1/brands/string/campaigns'{ "timeZone": "string", "payShown": true, "data": [ { "id": "string", "name": "string", "state": "draft", "current": true, "postsCount": true, "startDate": "string", "endDate": "string", "startAt": "string", "endAt": "string", "openEnded": true, "pausedSince": "string", "pauseReason": "admin", "closedAt": "string", "deletedAt": "string", "restorableUntil": "string", "payEveryoneSame": true, "notes": "string", "actions": [ "edit" ], "money": { "earned": 0, "owed": 0 }, "setsStillEarning": -9007199254740991, "earningUntil": "string", "createdAt": "string" } ]}One campaign with its rules and history GET
One campaign: its state, days, money, the rules a set made now is priced by, every saved rules version, its pauses and its history (who did what, newest first, up to 200 entries). Pay (`money`, `rules`, each version's `rules`, and the before and after of a rules change in the history) is shown only with the money permission and a full admin; otherwise it is null and `payShown` is false. Use the newest version's id as `basedOnVersionId` when you change the rules.
The payments made in a campaign GET
Every payment recorded on a campaign, newest first (up to 500): sent through the payout provider, marked as paid outside Bloss, or the reversal of such a mark, with the amount split into base and bonus, how many sets it covered, when and by whom. Read-only: paying, marking as paid and undoing happen in the app.