---
updatedAt: 2026-08-28T20:22:24.000Z
agentTools:
  projectIndex: https://docs.wistia.com/llms.txt
---

# Get Brand Preload

Retrieves Brandfetch-derived brand info for the current account's contact
domain, plus a boolean indicating whether the account already has any brand
kits configured. Used by Glass onboarding to preload the brand kit for new
signups on business-email domains.

Returns `brandfetch_brand` with nil `primary_color`/`logo`/`domain` for
free-mail domains, Wistia's own domain, when the Brandfetch feature
flag is off, or when Brandfetch has no data — the caller silently
skips the preload in every such case. The object itself is always
present; only its fields go nil.

## Requires api token with one of the following permissions
```
(any scope allowed)
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.

An [expiring access token](https://docs.wistia.com/reference/post_expiring-token)
created with the `all:delegate_to_contact_permissions` scope can also be
used, whatever its authorizations name; the preload belongs to the token's
own account.


# OpenAPI definition

````json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Data API",
    "description": "Wistia Data API",
    "version": "2026.09.0"
  },
  "servers": [
    {
      "url": "https://api.wistia.com/modern"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Account"
    }
  ],
  "paths": {
    "/brand_preload": {
      "get": {
        "operationId": "getBrandPreload",
        "summary": "Get Brand Preload",
        "x-speakeasy-group": "account",
        "x-speakeasy-name-override": "getBrandPreload",
        "description": "Retrieves Brandfetch-derived brand info for the current account's contact\ndomain, plus a boolean indicating whether the account already has any brand\nkits configured. Used by Glass onboarding to preload the brand kit for new\nsignups on business-email domains.\n\nReturns `brandfetch_brand` with nil `primary_color`/`logo`/`domain` for\nfree-mail domains, Wistia's own domain, when the Brandfetch feature\nflag is off, or when Brandfetch has no data — the caller silently\nskips the preload in every such case. The object itself is always\npresent; only its fields go nil.\n\n## Requires api token with one of the following permissions\n```\n(any scope allowed)\n```\n\nTokens with the \"Act with a team member's permissions\" permission\n(`all:delegate_to_contact_permissions` scope) can also be used. Requests\nmade with such a token are authorized using the permissions of the\ncontact assigned to the token.\n\nAn [expiring access token](https://docs.wistia.com/reference/post_expiring-token)\ncreated with the `all:delegate_to_contact_permissions` scope can also be\nused, whatever its authorizations name; the preload belongs to the token's\nown account.\n",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Brandfetch-derived brand info for the current account's contact domain,\nplus whether the account has any brand kits configured.\n",
                  "unevaluatedProperties": false,
                  "properties": {
                    "has_brand_kits": {
                      "description": "True iff the account has one or more configured brand kits. Glass uses\nthis to skip the onboarding preload step for accounts that already have\na brand kit set up.\n",
                      "type": "boolean"
                    },
                    "brandfetch_brand": {
                      "description": "Brandfetch response for the contact's email domain. Fields are nil for\nfree-mail domains, Wistia's own domain, and accounts where Brandfetch\nhas no data — the caller silently skips the preload in every such case.\n",
                      "type": "object",
                      "unevaluatedProperties": false,
                      "properties": {
                        "domain": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "primary_color": {
                          "description": "Hex color string (e.g. \"#3366FF\") or null if Brandfetch returned no accent/primary color.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "logo": {
                          "description": "Absolute URL to the dark-theme logo, or null if none is available.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "font": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "colors": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "logos": {
                          "type": "array",
                          "description": "Full Brandfetch logos list — Glass consumes only `logo` (the primary), but callers that want theme variants can walk this.",
                          "items": {
                            "type": "object",
                            "unevaluatedProperties": false,
                            "properties": {
                              "theme": {
                                "description": "\"dark\" or \"light\".",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "type": {
                                "description": "e.g. \"logo\", \"icon\", \"symbol\".",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "formats": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "unevaluatedProperties": false,
                                  "properties": {
                                    "src": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "description": "File extension (e.g. \"png\", \"svg\").",
                                      "type": "string"
                                    },
                                    "background": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "height": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "width": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    },
                                    "size": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "status": {
                          "description": "HTTP status Brandfetch responded with (204 when empty).",
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "domain",
                        "primary_color",
                        "logo"
                      ]
                    }
                  },
                  "required": [
                    "has_brand_kits",
                    "brandfetch_brand"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized, invalid or missing token",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "A machine-readable identifier for the specific authorization failure.",
                      "type": "string",
                      "enum": [
                        "unauthorized_credentials",
                        "account_inactive",
                        "unauthorized_scope",
                        "unauthorized_params"
                      ]
                    },
                    "error": {
                      "type": "string",
                      "examples": [
                        "Invalid credentials."
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Internal server error"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "X-Wistia-API-Version",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2026-09"
            }
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "name": "Typescript (SDK)",
              "language": "javascript",
              "code": "import { Wistia } from \"@wistia/wistia-api-client\";\n\nconst wistia = new Wistia({\n  bearerAuth: process.env[\"WISTIA_BEARER_AUTH\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await wistia.account.getBrandPreload();\n\n  console.log(result);\n}\n\nrun();"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "javascript",
      "shell",
      "node",
      "python",
      "ruby"
    ]
  }
}
````