---
updatedAt: 2026-09-01T15:09:21.000Z
agentTools:
  projectIndex: https://docs.wistia.com/llms.txt
---

# Update Brand Preload

Persists the account's default page logo (by Bakery hashed_id) and
default player color. Both fields are optional independently — omit a
field to leave that account setting untouched. Passing an empty string
for `selected_logo_hashed_id` clears the logo.

Requires the OAuth contact to be an owner or manager of the account
(or a Wistia admin) — mirrors the auth check on the underlying
`updateWtwBrandKitAccountSettings` GraphQL mutation.

An [expiring access token](https://docs.wistia.com/reference/post_expiring-token)
created with the `all:delegate_to_contact_permissions` scope and an
`account` authorization granting the `manage-brand-preload` permission can
also be used.

Deliberately narrower than the mutation: this endpoint does not
create/update BrandKits or set body font family. Glass's onboarding
customize step writes only these two fields; broader brand-kit
editing continues to happen through the WTW web UI + GraphQL.

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


# 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": {
      "put": {
        "operationId": "updateBrandPreload",
        "summary": "Update Brand Preload",
        "x-speakeasy-group": "account",
        "x-speakeasy-name-override": "updateBrandPreload",
        "description": "Persists the account's default page logo (by Bakery hashed_id) and\ndefault player color. Both fields are optional independently — omit a\nfield to leave that account setting untouched. Passing an empty string\nfor `selected_logo_hashed_id` clears the logo.\n\nRequires the OAuth contact to be an owner or manager of the account\n(or a Wistia admin) — mirrors the auth check on the underlying\n`updateWtwBrandKitAccountSettings` GraphQL mutation.\n\nAn [expiring access token](https://docs.wistia.com/reference/post_expiring-token)\ncreated with the `all:delegate_to_contact_permissions` scope and an\n`account` authorization granting the `manage-brand-preload` permission can\nalso be used.\n\nDeliberately narrower than the mutation: this endpoint does not\ncreate/update BrandKits or set body font family. Glass's onboarding\ncustomize step writes only these two fields; broader brand-kit\nediting continues to happen through the WTW web UI + GraphQL.\n\n## Requires api token with one of the following permissions\n```\n(any scope allowed)\n```\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Payload for `PUT /brand_preload`. Both fields are optional independently;\nomit either to leave that account setting untouched. Sending `null` for\neither field is not accepted — use omission for \"leave unchanged\" and an\nempty string for the documented clear operation on logo.\n",
                "unevaluatedProperties": false,
                "properties": {
                  "selected_player_color": {
                    "description": "Hex color string (e.g. \"#3366FF\") for the account's default player\ncolor — 6 hex digits, with or without the leading `#`. Omit or send\nan empty string to leave the current color untouched (there is no\nclear operation — color always has a value). Malformed values are\nrejected at the API boundary; without this check, the model's\nsanitize step would return nil and silently reset the account color\nto the global default.\n",
                    "type": "string",
                    "pattern": "^(#?[0-9a-fA-F]{6})?$"
                  },
                  "selected_logo_hashed_id": {
                    "description": "Bakery hashed_id of an uploaded logo image, which will become the\naccount's default page logo. Omit to leave the current logo\nuntouched. Pass an empty string to clear the logo.\n",
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response — returns the same shape as GET /brand_preload",
            "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"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "description": "Error message detailing the reason for the bad request.",
                      "type": "string",
                      "examples": [
                        "Bad request"
                      ]
                    },
                    "errors": {
                      "description": "Array of error messages detailing the reasons for the bad request.",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "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."
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden, token is valid but account does not have access to feature",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Webinars are not available on your current plan"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Folder with ID 'fakeid' not found."
                      ]
                    }
                  }
                }
              }
            }
          },
          "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.updateBrandPreload();\n\n  console.log(result);\n}\n\nrun();"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "javascript",
      "shell",
      "node",
      "python",
      "ruby"
    ]
  }
}
````