Brands
Create a brand
/v1/brandsCreate a brand with the domains its forms may be embedded on, its theme and its tracking. Every form and webhook belongs to a brand. Fails with 403 plan_limit when the workspace has all the brands its plan includes. A guest's workspace has one brand, so there it fills that brand in instead and returns it.
Body
JSON, with Content-Type: application/json.
namestringrequiredThe brand's name, such as "Bright Smile Dental".
1–200 chars
workspaceIdstringOptional. Your API key already belongs to one workspace.
domainsarray of stringHostnames the brand's forms may be embedded on. Subdomains match; empty means any site.
max 100 items
themeobjectOnly the theme values you want to set; the rest use the defaults.
Show 13 fieldsHide 13 fields
accentstringaccentTextstringbackgroundstringsurfacestringtextstringmutedstringborderstringradiusnumber0–48
buttonRadiusnumber0–48
fontstringheadingFontstringmax 500 chars
backdropstringfontStylesheetstringmax 2000 chars · uri
trackingobjectOnly the tracking values you want to set. The rest use the defaults. 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
metaCapiTokenstringThe Meta Conversions API access token. It is never returned. Reads show
hasMetaCapiTokeninstead.1–1000 chars
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.