Bloss Docs

The brand's campaigns

Developers
GET
/brands/{brandId}/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.

Authorization

bearerAuth analytics:read
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.

Scope: analytics:read

Path Parameters

brandId*string

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

Length1 <= length

Response Body

Success.

application/json
  1. response
timeZone*string

The brand's IANA time zone; every day here is in it.

payShown*boolean

False: 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"    }  ]}

Was this page helpful?