Console APIBrand
Create brand
POSTapi.blutui.com/v1/agencies/{username}/brand
Create a new agency brand.
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
import Blutui from 'blutui'
const blutui = new Blutui('ey....')
blutui.agency('studio').brand.create({
primaryColor: '#000000',
secondaryColor: '#222222'
}){
"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