branding

5 endpoints.

GET/api/branding Bearer token

Read the deployment branding

The long-form and short names, the logo and the support address this deployment shows in place of the Botree defaults. Null fields mean the default is in use.

Responses

StatusDescriptionBody
200The current branding.DeploymentBranding
401The access token is missing or invalid.ErrorResponse
500The deployment branding could not be read.ErrorResponse
PATCH/api/branding Bearer token

Set the deployment's names and support address

Sets the long-form name shown in the footer, page titles, notification emails and the dashboard top bar on wide screens, and the short name shown as the dashboard wordmark and the top bar title on narrow screens. Either falls back to the other when only one is set; send null or an empty string to clear one, and omit a field to leave it unchanged. The footer keeps a "Powered by Botree LRS" credit while a custom name or logo is set. The support address is the one the public /support pages tell people to write to for help, support@botreeinc.com until one is set. Requires a superuser's access token.

Request body

application/jsonrequiredUpdateDeploymentBrandingRequest
FieldTypeRequiredDescription
display_namestring | nullno

The long-form name to show; send null or an empty string to restore the default. Omit to leave it unchanged.

at most 100 characters

short_namestring | nullno

The short name for the dashboard wordmark and the top bar on narrow screens; send null or an empty string to fall back to the long-form name. Omit to leave it unchanged.

at most 40 characters

support_emailstring | nullno

The address the public /support pages tell people to write to for help; stored lowercased. Send null or an empty string to restore the default, support@botreeinc.com. Omit to leave it unchanged.

at most 254 characters

Responses

StatusDescriptionBody
200The updated branding.DeploymentBranding
400The request body failed validation.ErrorResponse
401The access token is missing or invalid.ErrorResponse
403The access token's subject is not a superuser.ErrorResponse
500The deployment branding could not be written to.ErrorResponse