Body parameters

primary_colorstringrequired

The primary hexadecimal color of the agency brand.

secondary_colorstringrequired

The secondary hexadecimal color of the agency brand.

logostring

The image URL of the agency logo.

Response

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.

import Blutui from 'blutui'

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

blutui.agency('studio').brand.create({
  primaryColor: '#000000',
  secondaryColor: '#222222'
})
Response
{
  "id": "9bfdb42b-1bf0-4510-978e-46aa329f8efa",
  "object": "brand",
  "primary_color": "#6227FF",
  "secondary_color": "#333333",
  "created_at": 1690330767,
  "updated_at": 1703633941
}

Was this helpful?