Bloss Docs

Act on a creator's trial

Developers
POST
/brands/{brandId}/creators/{creatorId}/trial

An admin action on the creator's campaign trial, as on their profile: "end" passes them now (can pay a referral bonus, so it needs payouts:write), "cancel" ends the trial without a result (their trial sets move to normal rates), "fail" fails it (trial sets are withheld), "extend" with extraDays sets the total extra live days (0–365; on a failed trial it reopens it, and if the longer window already meets the goals they pass), "demote" puts an Active or Paused creator on a new trial. End, Cancel and Fail reprice the creator's sets; sets with money paid keep their pay unless alsoTopUpPaid: true (needs payouts:write). A trial whose state doesn't allow the action answers 409 with details.reason. Brands still on payout cycles answer 409 not_converted: use brand.creator.trial.skip, .demote and .extend. With ?dryRun=true nothing is written: the answer has the trial now and, for end, cancel and fail, topUp.

Authorization

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

Path Parameters

brandId*string

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

Length1 <= length
creatorId*string

A creator id from GET /brands/{brandId}/creators.

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
action*string
Value in"end""cancel""fail""extend""demote"
extraDays?integer

With "extend": the new total of extra live days.

Range0 <= value <= 365
alsoTopUpPaid?boolean

End, Cancel, Fail: also move sets that already have money paid.

Response Body

Success.

application/json
  1. response
action*string
creatorStatus*|null
passed*boolean

The creator passed their trial with this call.

trial*|

The creator's trial afterwards; null with no open or recent trial.

curl -X POST 'https://example.com/api/v1/brands/string/creators/string/trial' \  -H 'Content-Type: application/json' \  -d '{  "action": "end"}'
{  "action": "string",  "creatorStatus": "trial",  "passed": true,  "trial": {    "state": "string",    "stateLabel": "string",    "ruleText": "string",    "extraDays": 0,    "liveDaysLeft": 0,    "deadlineAt": "string",    "goalsMet": true,    "outcome": "string"  }}

Was this page helpful?