Re-read every script's document
brand.scripts.refresh for every script that came from a Notion page or Google Doc. One that can't be read is reported with its error; the rest still refresh. Scripts written as fields or Markdown are left alone. Takes no body.
bearerAuth videos:writeAuthorizationBearer <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
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthSuccess.
application/json- response
results*array<>curl -X POST 'https://example.com/api/v1/brands/string/scripts/refresh'{ "results": [ { "code": "string", "ok": true, "error": "string" } ]}Delete a script DELETE
Delete a script. Posts it was the answer for lose their script and the next match decides them again. Its tag stays on those posts; delete the tag to remove it.
Import scripts from docs or Markdown POST
Create or update up to 25 scripts at once from Notion pages, Google Docs or Markdown. Each document's code comes from its title ("(3A) …"): a code a script already has updates that script's title, hooks and body and keeps its tag; anything else becomes a new script. Bloss keeps a copy of each document to show with the script. Preview first with dryRun: it reads every document and says what each would become, without saving. Documents that can't be read (private, not found) come back with an error; the rest still import.