API ReferenceConsole APIBrand

Update brand

PATCHapi.blutui.com/v1/agencies/{username}/brand

Update the current agency brand.

Body parameters

logostring

The image URL of the agency logo.

primary_colorstring

The primary hexadecimal color of the agency brand.

secondary_colorstring

The secondary hexadecimal color of the agency brand.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.agency('studio').brand.update({
  logo: 'https://cdn.blutui.com/uploads/assets/logo/youragency.svg'
})
JSON Response
{
  "id": "9bfdb42b-1bf0-4510-978e-46aa329f8efa",
  "object": "brand",
  "primary_color": "#6227FF",
  "secondary_color": "#333333",
  "created_at": 1690330767,
  "updated_at": 1703633941
}
idstring

The unique identifier for this brand.

objectstring

This will always contain brand for this endpoint.

logostring

The image URL of the agency logo.

primary_colorstring

The primary hexadecimal color of the agency brand.

secondary_colorstring

The secondary hexadecimal color of the agency brand.

created_attimestamp

The brand's created at timestamp.

updated_attimestamp

The brand's updated at timestamp.

Last updated on