Bloss Docs

Set a creator group's trial rule

Developers
PATCH
/brands/{brandId}/creator-groups/{groupId}/trial-rule

Set the campaign trial rule a group gives its members (plan 94 trials): "default" (the brand's), "no_trial", or "custom" with a rule, as in brand.creator.trial-rule.update. A creator's own rule still wins over the group's. Open trials it reaches follow the new rule at once: any whose videos already meet it, or whose rule becomes "no_trial", pass straight away, which can pay a referral bonus, so a save that would pass anyone needs payouts:write (403 with details.creatorIds otherwise). Brands still on payout cycles answer 409 not_converted. With ?dryRun=true nothing is written: the answer has current, next, changed and openTrials (who it reaches and what happens to each, up to 100 listed).

Authorization

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

Path Parameters

brandId*string

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

Length1 <= length
groupId*string

A group id from GET /brands/{brandId}/creator-groups.

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
mode*string

"default": inherit the next level's rule; "no_trial": no trial; "custom": the rule sent.

Value in"default""no_trial""custom"
rule?

Required with mode "custom".

Response Body

Success.

application/json
  1. response
current*

The rule before.

next*

The rule now.

changed*boolean

False when it already had this rule.

passed*array<string>

Creators the save passed.

openTrials*
curl -X PATCH 'https://example.com/api/v1/brands/string/creator-groups/string/trial-rule' \  -H 'Content-Type: application/json' \  -d '{  "mode": "default"}'
{  "current": {    "mode": "default",    "rule": null  },  "next": {    "mode": "default",    "rule": null  },  "changed": true,  "passed": [    "string"  ],  "openTrials": {    "creatorsReached": 0,    "passes": 0,    "fails": 0,    "referralPayouts": 0,    "changes": [      {        "creatorId": "string",        "name": "string",        "outcome": "string",        "before": "string",        "after": "string"      }    ],    "truncated": true  }}

Was this page helpful?

Set a creator group's trial pay PATCH

A creator group's trial pay, for its members. How trial sets are paid at this level: `inherit` (no setting), `normal`, `no_pay`, or `trial_rates` with every rate. `hold` keeps trial sets' pay until the trial is passed. For every campaign, or only in one (`campaignId`; `{ mode: "inherit", campaignId }` removes it there). Creators on a running trial whose trial pay comes from here are repriced right away. `alsoTopUpPaid: true` also moves sets that already have money paid (they are topped up at the next payment); by default they keep the pay they were priced with. Only for brands on campaign trials (409 conflict, `not_converted`, otherwise). 409 conflict while a payment is in flight or when `expectedPayVersion` no longer matches. Full admins only. With ?dryRun=true nothing is written: the answer lists the creators it reaches, their trial sets, `payVersion` and `campaignImpact`.

Set a creator group's trial PATCH

Set the trial a group gives its members, as a whole: "default" (the brand's default trial), "off" (no trial: members on Trial move to Active straight away) or "custom" with `days` (1–365), `viewGoal` (views each video must reach, 0–1,000,000,000) and `videoGoal` (how many such videos pass, 1–100). Terms are live: members already on Trial move to the new terms straight away, and any the new terms pass move to Active at once, which can pay a referral bonus. That's why this needs `payouts:write` as a full admin. With ?dryRun=true nothing is written; the answer has `trialChanges` (see brand.groups.members.add).