Bloss Docs

List scripts

Developers
GET
/brands/{brandId}/scripts

The brand's scripts: each one's code, title, hooks, body, tag and source, how many posts follow it and how many wait for a pick, plus the brand words and whether matching runs nightly. A post follows a script when matching finds it does; its set then gets the script's tag.

Authorization

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

Path Parameters

brandId*string

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

Length1 <= length

Response Body

Success.

application/json
  1. response
data*array<>
settings*
curl -X GET 'https://example.com/api/v1/brands/string/scripts'
{  "data": [    {      "id": "string",      "code": "string",      "title": "string",      "hooks": [        {          "text": "string",          "verbal": "string"        }      ],      "body": "string",      "active": true,      "tag": {        "id": "string",        "name": "string"      },      "source": {        "kind": "notion",        "url": "string",        "readAt": "string"      },      "posts": -9007199254740991,      "waitingForPick": -9007199254740991,      "updatedAt": "string"    }  ],  "settings": {    "brandWords": [      "string"    ],    "nightlyEnabled": true  }}

Was this page helpful?