Bloss Docs

Set the brand's logo

Developers
POST
/brands/{brandId}/logo

Upload the brand's logo, replacing the current one, as the brand's settings do. Creators see it on the brand's pages. Send file as { url } (a public https link to the image) or { base64, contentType }. JPEG, PNG or WebP, up to 3 MB inline as base64, 4.5 MB by url. It's cropped to a centred square and resized to 300×300. A file that isn't one of those images answers 400 validation_failed. Remove it with brand.logo.remove.

Authorization

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

Path Parameters

brandId*string

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

Length1 <= length

Request Body

application/json
  1. body
file*|

The logo image.

Response Body

Success.

application/json
  1. response
brandId*string
hasLogo*boolean

Whether the brand has a logo now. The image itself is not served by the API.

curl -X POST 'https://example.com/api/v1/brands/string/logo' \  -H 'Content-Type: application/json' \  -d '{  "file": {    "url": "http://example.com"  }}'
{  "brandId": "string",  "hasLogo": true}

Was this page helpful?