Skip to content
Connect an agent
Organisations

Read the brand of your own calls

The organisation whose brand the account's own calls use, or null, and the organisations the account belongs to that have a saved brand.

GET/user/brand

TL;DR

QuestionAnswer
What does it do?Read the brand of your own calls.
What does it take?Nothing.
What does it return?Status 200 with a body of type AccountBrand.
What can go wrong?401 not signed in; 429 too many requests. Every failure uses the one error envelope.

What it does

The organisation whose brand the account's own calls use, or null, and the organisations the account belongs to that have a saved brand. An organisation key always uses its own organisation's brand.

Responses

StatusMeaningBody
200The choice and the organisations to choose from.AccountBrand
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse

Response body

A 200 answer has the type AccountBrand.

FieldTypeRequiredDescription
chosenobject | nullyesThe organisation whose brand and custom icons the account's own calls use, or null.
chosen.idstringyes
chosen.slugstringyes
chosen.namestringyes
availableobject[]yesThe organisations the account belongs to that have a saved brand or custom icons, by name.
available[].idstringyes
available[].slugstringyes
available[].namestringyes
available[].activebooleanyesTrue when the organisation has a saved brand and the owner's plan includes brand themes.
available[].iconsActivebooleanyesTrue when the organisation has custom icons and the owner's plan includes them.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools