Bloss Docs

Settle a post's script

Developers
POST
/brands/{brandId}/scripts/matches/{videoId}

Answer for a post as a person would in Match history. pick, not_campaign and leave apply to the post's whole set, and no match changes them; the set's tag follows. hand_back undoes that: the set waits for the next match.

Authorization

bearerAuth videos: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.

Scope: videos:write

Path Parameters

brandId*string

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

Length1 <= length
videoId*string

A video id (videoId) from GET /brands/{brandId}/scripts/matches or GET /brands/{brandId}/videos.

Length1 <= length

Request Body

application/json
  1. body
action*string

"pick": set scriptId; "not_campaign": no script; "leave": keep it as it is; "hand_back": let matching decide again.

Value in"pick""not_campaign""leave""hand_back"
scriptId?string

With pick: the script to set.

Length1 <= length

Response Body

Success.

application/json
  1. response
ok*boolean
videoId*string
curl -X POST 'https://example.com/api/v1/brands/string/scripts/matches/string' \  -H 'Content-Type: application/json' \  -d '{  "action": "pick"}'
{  "ok": true,  "videoId": "string"}

Was this page helpful?