Skip to content
AdlyseDocs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
list_ad_accountsget_dashboard_snapshotget_impact_analysisget_competitor_pressurelist_guidelinesget_brand_kitupdate_brand_kitsave_brand_assetget_guidelinelist_suggestionsget_suggestionget_strategy_sessionlist_strategy_claimslist_strategy_proposalsget_creative_insightslist_watched_competitorslist_competitor_adswatch_competitorunwatch_competitorlist_audit_eventslist_organic_propertiesget_organic_overviewget_organic_page_metricsinspect_pageget_organic_performanceget_site_inventorycheck_site_healthget_ai_visibilitylist_ai_visibility_answerslist_ai_visibility_promptsupsert_ai_visibility_promptsrun_ai_visibility_checksget_growth_evidencelist_site_connection_optionslist_site_key_eventssave_site_sourceremove_site_sourceresync_site_sourceupdate_growth_deliveryget_growth_deliveryget_geo_workspaceupdate_geo_workspace
adlyse-ads
adlyse-workflows
adlyse-admin
adlyse-all
  1. Overview
  2. adlyse-insights

update_brand_kit

Change the organization’s brand kit — the same settings as Settings → Brand kit, which every branded document, report and generated ad image uses.

Pass only the fields to change. An omitted field is left alone; "" clears a field so it inherits again (from the brand assets, the website, the organization record, or the neutral default — see get_brand_kit for the order).

Requires a user-bound credential (OAuth login or a personal API key) whose user can manage the organization — the same permission as the settings page. Anonymous organization API keys get error_type: "user_credential_required". The change is recorded in the audit log under that person.

Parameters#

All optional; pass at least one.

NameTypeDescription
brand_namestringBrand name printed on documents; "" falls back to the organization’s name
accent_colorstringAccent (primary brand) colour, #rrggbb
secondary_colorstringSecondary colour, #rrggbb
ink_colorstringBody-text colour, #rrggbb; must contrast with surface_color
surface_colorstringPage background colour, #rrggbb
heading_fontstringFont key: inter, noto-serif, jetbrains-mono or lato
body_fontstringFont key, as above
mono_fontstringFont key, as above
logo_primary_pathstringPrimary logo: an image already in the shared workspace, e.g. /org/images/logo.png, or a brand logo’s /org/brand/logos/ path
logo_on_dark_pathstringLogo for dark backgrounds, as above
logo_icon_pathstringSquare icon / mark, as above
logo_primary_creative_idstringPrimary logo as a brand-logo creative id from save_brand_asset; wins over the path
logo_on_dark_creative_idstringLogo for dark backgrounds, as above
logo_icon_creative_idstringSquare icon / mark, as above
footer_textstringClient-facing footer line (max 240 characters)
attributionstringOne of adlyse, agency, or none. Agency and none require subscription coverage. Agency also requires a parent logo.
show_adlysebooleanLegacy: true selects Adlyse; false selects no attribution (subscription required). Prefer attribution.

Returns#

json
{
  "success": true,
  "changed": ["accent_color", "secondary_color"],
  "brand_kit": {
    "brand_name": "Northwind Media",
    "palette": {
      "accent": "#1a73e8",
      "secondary": "#0b3d91",
      "ink": "#20231f",
      "surface": "#ffffff"
    },
    "sources": { "accent": "explicit", "secondary": "explicit", "ink": "floor", "...": "..." },
    "warnings": [],
    "...": "same shape as get_brand_kit"
  },
  "source": "brand_kit"
}

brand_kit is the kit as resolved after the change, so warnings reports anything the new values cause — for example an ink/surface pair too faint for body text, in which case the default ink is used.

Errors#

error_typeWhen
auth_errorMissing / invalid credential
user_credential_requiredCalled with an anonymous organization API key
permission_deniedThe user cannot manage the organization
validation_errorNo field given, a colour that is not hex, an unknown font, or a logo path that is not an image under /org/. Nothing is changed.

See also#

  • get_brand_kit — read the kit and where each value comes from
  • list_files — find a logo already in the workspace; upload new ones in the app (Files)
Previousget_brand_kitNextsave_brand_asset