Color Theme and Logo

With the Update Company Theme API it is possible to specify custom colors for the two theme modes of the call page:

  • dark mode: this is the default color theme. It features a dark background with white text.
  • light mode: an alternative theme with a light grey background and dark grey text.

For each of these modes you are able to specify logo and colors.

Change Theme Colors

With the Updated Company Theme API it is possible to specify custom colors for the two theme modes of the call page. You can specify the primary color and the accent color for each mode.

📘

Note

Currently only the accent color is used on the interface.

Colors need to be expressed in HTML format. This is an example of API call:

curl --request PUT \
     --url https://api.sandbox.eu.bandyer.com/v2/company/theme \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \ 
     --header 'apikey: your_api_key' \
     --data '
{
  "light": {
    "accent_color": "#0056e0"
  },
  "dark": {
    "accent_color": "#8c8d8f"
  }
}
'

Following there are some guidelines that show you where the colors are applied so that you can choose the ones that best represent your business.

Call and chat UI

Screenshare UI

Upload File UI

Notification UI

Settings and toggle between theme modes

Change Logo

You can upload a new logo using the Update Company Logo API. Based on your preference, you can have a logo which stays the same for both light and dark theme mode (theme=all), or you can upload a different logo for each mode (theme=dark / theme=light).

Supported formats are PNG, JPEG and JPG. The API is a multipart request.
You can find an example below:

curl --request POST \
     --url https://api.sandbox.eu.bandyer.com/v2/company/theme/logo \
     --header 'accept: application/json' \
     --header 'content-type: multipart/form-data' \
     --header 'apikey: your_api_key' \
     --form theme=all \
     --form logo='@logo.png'