Bloss Docs

Set the agency's logo

Developers
POST
/agencies/{orgId}/logo

Upload the agency's logo, replacing the current one, as the agency's Settings page does. 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. Owners and admins of the agency only. Remove it with agency.logo.remove.

Authorization

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

Path Parameters

orgId*string

An agency id from GET /agencies.

Length1 <= length

Request Body

application/json
  1. body
file*|

The logo image.

Response Body

Success.

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

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

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

Was this page helpful?