Brands
Update a brand
/v1/brands/{brandId}Change a brand's name, domains, theme, tracking or Meta token. Each top-level field you send replaces the stored value. Leave out what you don't change.
Path parameters
brandIdstringrequiredThe brand's
id.
Body
JSON, with Content-Type: application/json.
namestringThe brand's name, such as "Bright Smile Dental".
1–200 chars
domainsarray of stringReplaces the list. When the first public domain changes,
avatarUrlis refetched in the background.max 100 items
themeobjectReplaces the stored theme as a whole, so send every value you want to keep.
Show 13 fieldsHide 13 fields
accentstringaccentTextstringbackgroundstringsurfacestringtextstringmutedstringborderstringradiusnumber0–48
buttonRadiusnumber0–48
fontstringheadingFontstringmax 500 chars
backdropstringfontStylesheetstringmax 2000 chars · uri
trackingobjectReplaces the stored tracking as a whole. Turning on Meta or GA4 needs the plan's
trackingfeature, and Jornaya needsleadId. TrustedForm needsleadIdtoo, and is in alpha, so other workspaces get403 feature_unavailable. A missing plan feature answers403 plan_feature. Anything already on stays on.Show 4 fieldsHide 4 fields
metaobjectShow 4 fieldsHide 4 fields
enabledbooleanpixelIdstringpageViewbooleancapiboolean
ga4objectShow 2 fieldsHide 2 fields
enabledbooleanmeasurementIdstring
jornayaobjectShow 2 fieldsHide 2 fields
enabledbooleancampaignKeystring
trustedFormobjectShow 1 fieldHide 1 field
enabledboolean
metaCapiTokenstring or nullThe Meta Conversions API access token. It is never returned. Send
nullto clear it.
Response
idstringrequiredThe brand's id.
namestringrequiredThe brand's name.
domainsarray of stringrequiredHostnames the brand's forms may be embedded on. Subdomains match too. An empty list means any site.
avatarUrlstring or nullrequiredThe brand's favicon, fetched in the background from its first public domain. It is fetched again when the first public domain changes. Null until there is one, so show initials instead.
themeobjectrequiredThe theme values the brand sets. The rest use the defaults.
Show 13 fieldsHide 13 fields
accentstringaccentTextstringbackgroundstringsurfacestringtextstringmutedstringborderstringradiusnumber0–48
buttonRadiusnumber0–48
fontstringheadingFontstringmax 500 chars
backdropstringfontStylesheetstringmax 2000 chars · uri
trackingobjectrequiredThe tracking settings in effect, which are the brand's values on top of the defaults.
Show 4 fieldsHide 4 fields
metaobjectrequiredShow 4 fieldsHide 4 fields
enabledbooleanrequiredpageViewbooleanrequiredcapibooleanrequiredpixelIdstring
ga4objectrequiredShow 2 fieldsHide 2 fields
enabledbooleanrequiredmeasurementIdstring
jornayaobjectrequiredShow 2 fieldsHide 2 fields
enabledbooleanrequiredcampaignKeystring
trustedFormobjectrequiredShow 1 fieldHide 1 field
enabledbooleanrequired
hasMetaCapiTokenbooleanrequiredWhether a Meta Conversions API token is saved. The token itself is never returned.
webhookCountintegerrequiredHow many webhooks the brand has, its own and its forms', counted up to 100.
GET /v1/webhookslists them.-9007199254740991–9007199254740991
starterbooleanrequiredTrue for a guest's starter brand, which has no website or name yet. False for every other brand.
createdAtnumberrequiredWhen the brand was made, in milliseconds since the epoch.
workspaceIdstringrequiredThe workspace the brand belongs to.
Errors answer with a status and the error shape.