Skip to content

The look a portal borrows from its brand

GET
/api/v1/sites/look
curl --request GET \
--url http://localhost:3000/api/v1/sites/look \
--header 'Authorization: Bearer <token>'

A portal’s empty logo or accent is its first brand’s when served, from the brand’s live release: this is that logo and accent, for a form to show before the portal is saved. A portal sets its own to override them (white-label).

Scope: write.

brand
string

The brand the portal shows first, by slug

The look

Media typeapplication/json
object
data
required
object
logo
required

The brand’s mark, an asset id: its logo rule named mark, icon or symbol, else its first logo with an image; null: none

string | null
accent
required

The brand’s color.primary, else its first color; null: none

string | null
Examplegenerated
{
"data": {
"logo": "example",
"accent": "example"
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}