Bloss Docs

Re-read a script's document

Developers
POST
/brands/{brandId}/scripts/{scriptId}/refresh

Read the Notion page or Google Doc a script was imported from again, as the Scripts page's refresh does: its title, hooks, body and the copy Bloss keeps come from the document; its code, tag and Active switch stay. A script with no linked document answers 400; a document that can't be read (private, deleted) answers 400 with why, and one that can't be reached right now 500 (retry later). Takes no body.

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, 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: videos:write

Path Parameters

brandId*string

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

Length1 <= length
scriptId*string

A script id from GET /brands/{brandId}/scripts.

Length1 <= length

Response Body

Success.

application/json
  1. response
id*string
warnings*array<string>

What was cut or not found while reading it.

curl -X POST 'https://example.com/api/v1/brands/string/scripts/string/refresh'
{  "id": "string",  "warnings": [    "string"  ]}

Was this page helpful?