Personal Access Token prefixed with fh_. Sent as Authorization: Bearer fh_xxx.
The scope required by each endpoint is listed in that endpoint's description.
All fields optional; partial-merge semantics. Keys present in the body are
written; keys absent are left unchanged. Explicit null clears that value.
Header image(s) are set by providing eitherheader.images (attachment ids)
orheader.image_keywords (Unsplash search).
Pass header.images: [] to remove all header images. A single-entry array
configures a single header image; multiple entries configure a carousel.
primary_color is an alias for submit_button.style.background_color;
the two fields share storage and reject conflicting values.
Palette derivation. When the header image actually changes — meaning
the first image's attachment id differs from what was previously bound
to the theme, or fresh bytes were downloaded — the server runs a palette
derivation against the first image and applies the derived values
(wallpaper.color, submit_button.style.background_color,
submit_button.style.color, typography.field_label.color,
typography.choice_style.color, general_button.color,
form_container.style.background_color, plus the read-only
dominant_color) to the theme.
Each derived value overwrites the theme's current value unless the
same PUT request explicitly sets that field — in which case the user's
value wins (even when that value is null). For carousel headers
(multiple images), only the first image is used as the derivation
source; reordering or swapping later carousel items without changing
the first image does not retrigger derivation. Pure id-reuse where the
first image's id is unchanged triggers no recompute. dominant_color
is always overwritten on image change; it cannot be set directly via
PUT.
The same derivation runs whether the new header image came from
header.images[].id or header.image_keywords (Unsplash) —
Unsplash photos are downloaded for analysis even though the served URL
hotlinks the Unsplash CDN. dominant_color is always the locally-computed
value from the downloaded bytes.
Form background. color and image are mutually exclusive — setting one clears the other. image is only accepted when the form layout is card. Setting either recomputes the palette (dominant + label/choice/header text colors).
Theme primary color. Alias for submit_button.style.background_color —
reading either returns the same value, and writing to either updates the
same underlying field. If both primary_color and
submit_button.style.background_color are present in one request with
different values, the request is rejected with 422. Equal values are
accepted (idempotent).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FormHug","description":"Build smart, beautiful forms for you and your audience.","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/light.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=88284690f11209ca0abb5239bc7f1179","dark":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/dark.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=18b178b7a4ba46472029621b10203014","href":"https://formhug.ai"},"favicon":{"light":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/favicon.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=5f2ad4abbddc4fcd7fefb3230c9fb236","dark":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=1c1c281ed3ac1524d0543dd2dfcddb68"},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@formhug.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://formhug.ai/?ref=docs"}},"footer":{"socials":{"x":"https://x.com/FormHug","youtube":"https://www.youtube.com/@formhug","instagram":"https://www.instagram.com/formhug","facebook":"https://www.facebook.com/profile.php?id=61586802254413"},"links":[{"header":"General","items":[{"label":"Pricing","href":"https://formhug.ai/pricing"},{"label":"Docs","href":"https://formhug.ai/docs"},{"label":"Blog","href":"https://formhug.ai/blog"},{"label":"Templates","href":"https://formhug.ai/templates"},{"label":"Integrations","href":"https://formhug.ai/integrations"},{"label":"Quizzes","href":"https://formhug.ai/quizzes"}]},{"header":"Product","items":[{"label":"AI Quiz Maker","href":"https://formhug.ai/quiz-maker"},{"label":"MCP for Agents","href":"https://formhug.ai/mcp-for-agents"},{"label":"AI Form Builder","href":"https://formhug.ai/ai-form-builder"},{"label":"AI Survey Maker","href":"https://formhug.ai/survey-maker"},{"label":"ChatGPT Form Builder","href":"https://formhug.ai/chatgpt-form-builder"},{"label":"Claude Form Builder","href":"https://formhug.ai/claude-form-builder"}]},{"header":"Compare","items":[{"label":"Compare All","href":"https://formhug.ai/vs"},{"label":"Jotform Alternative","href":"https://formhug.ai/vs/jotform-alternative"},{"label":"Typeform Alternative","href":"https://formhug.ai/vs/typeform-alternative"},{"label":"Google Forms Alternative","href":"https://formhug.ai/vs/google-forms-alternative"},{"label":"Tally Alternative","href":"https://formhug.ai/vs/tally-alternative"},{"label":"Fillout Alternative","href":"https://formhug.ai/vs/fillout-alternative"}]},{"header":"Resources","items":[{"label":"About","href":"https://formhug.ai/about"},{"label":"Privacy","href":"https://formhug.ai/privacy-policy"},{"label":"Terms","href":"https://formhug.ai/terms-of-service"}]}]},"search":{"prompt":"Search FormHug docs..."},"seo":{"metatags":{"canonical":"https://formhug.ai/docs"},"indexing":"all"},"fonts":{"family":"Inter"},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-ZVVSLQ785E"}},"thumbnails":{"appearance":"light"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"formhug-8bc4ebd1","hasAudioNarration":false,"actualSubdomain":"formhug-8bc4ebd1","customDomains":["formhug.ai"],"gitSource":{"type":"github","owner":"formhug","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6ad6e449807fa967a0983e6d","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Features","count":34},{"language":"default","tag":"Integrations","count":16},{"language":"default","tag":"Builder","count":13},{"language":"default","tag":"Form Settings","count":10},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Field Types","count":9},{"language":"default","tag":"Use Cases","count":9},{"language":"default","tag":"Apps \u0026 Automation","count":9},{"language":"default","tag":"Entries","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/form-themes/update-the-form-theme","slug":"/api-reference/form-themes/update-the-form-theme","pageMetadata":{"title":"Update the form theme","description":"**Required scope:** `form:write`. Partial-merge semantics — only keys present are written; explicit `null` clears.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/update-the-form-theme","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"form:write\"\n }), \". Partial-merge semantics — only keys present are written; explicit \", _jsx(_components.code, {\n children: \"null\"\n }), \" clears.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update the form theme","description":"**Required scope:** `form:write`. Partial-merge semantics — only keys present are written; explicit `null` clears.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/update-the-form-theme","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/formhug-8bc4ebd1/4e6b7b0101f2c4d1/external-links.js"],"openApiReferenceData":{"operation":{"summary":"Update the form theme","tags":["Form Themes"],"description":"**Required scope:** `form:write`. Partial-merge semantics — only keys present are written; explicit `null` clears.","security":["b6e9a1c7-aa69-439a-bf9e-504e635c1b05"],"parameters":[],"responses":{"200":"129d9277-e905-44c3-bcf8-6b0453d2d870","403":"c334c4dc-d5e7-47df-9fe8-14dd4bc72c0d","404":"a2ef7f92-697b-4f9b-9c2e-b293a19eefb1","422":"ba2b2a64-e3bb-463c-98b6-52f847ba9a39"},"requestBody":"39f1e298-f322-4a16-9391-a3096f95fef7","method":"put","type":"path","servers":["8e8bfda0-f1ef-4ae4-afa9-25e9767fdcdc"],"path":"/api/v1/forms/{form_token}/theme","baseUrlOptions":["https://formhug.ai"],"title":"Update the form theme","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"18939532-b4a9-4d34-83b6-2898b91245a3":{"name":"form_token","in":"path","description":"Form token","required":true,"schema":{"type":"string","isRequired":true,"description":"Form token","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"All fields optional; partial-merge semantics. Keys present in the body are\nwritten; keys absent are left unchanged. Explicit `null` clears that value.\nHeader image(s) are set by providing **either** `header.images` (attachment ids)\n**or** `header.image_keywords` (Unsplash search).\nPass `header.images: []` to remove all header images. A single-entry array\nconfigures a single header image; multiple entries configure a carousel.\n\n`primary_color` is an alias for `submit_button.style.background_color`;\nthe two fields share storage and reject conflicting values.\n\n**Palette derivation.** When the header image actually changes — meaning\nthe first image's attachment id differs from what was previously bound\nto the theme, or fresh bytes were downloaded — the server runs a palette\nderivation against the first image and applies the derived values\n(`wallpaper.color`, `submit_button.style.background_color`,\n`submit_button.style.color`, `typography.field_label.color`,\n`typography.choice_style.color`, `general_button.color`,\n`form_container.style.background_color`, plus the read-only\n`dominant_color`) to the theme.\n\nEach derived value **overwrites** the theme's current value unless the\nsame PUT request explicitly sets that field — in which case the user's\nvalue wins (even when that value is `null`). For carousel headers\n(multiple images), only the first image is used as the derivation\nsource; reordering or swapping later carousel items without changing\nthe first image does not retrigger derivation. Pure id-reuse where the\nfirst image's id is unchanged triggers no recompute. `dominant_color`\nis always overwritten on image change; it cannot be set directly via\nPUT.\n\nThe same derivation runs whether the new header image came from\n`header.images[].id` or `header.image_keywords` (Unsplash) —\nUnsplash photos are downloaded for analysis even though the served URL\nhotlinks the Unsplash CDN. `dominant_color` is always the locally-computed\nvalue from the downloaded bytes.\n","additionalProperties":false,"properties":{"header":{"type":"object","additionalProperties":false,"properties":{"images":{"type":"array","maxItems":10,"description":"Header images. Empty array clears; one entry sets a single image; multiple entries configure a carousel. Each entry provides exactly one of `id` or `upload_id`.","items":{"oneOf":[{"type":"object","description":"Provide exactly one of `id` (reuse an existing header image) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments).","required":["id"],"properties":{"id":{"type":"string","minLength":1,"description":"Existing header image attachment id to reuse. Must be non-empty.","isRequired":true,"uniqueKey":"header.images.items.[INDEX].oneOf.0.id","typeLabel":"string"},"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments (purpose `header_image`), after the file was PUT to its upload_url.","uniqueKey":"header.images.items.[INDEX].oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Accepted and ignored on write so a read payload can be sent back verbatim.","uniqueKey":"header.images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"header.images.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Provide exactly one of `id` (reuse an existing header image) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments).","required":["upload_id"],"properties":{"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments (purpose `header_image`), after the file was PUT to its upload_url.","isRequired":true,"uniqueKey":"header.images.items.[INDEX].oneOf.1.upload_id","typeLabel":"string"},"id":{"type":"string","minLength":1,"description":"Existing header image attachment id to reuse. Must be non-empty.","uniqueKey":"header.images.items.[INDEX].oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Accepted and ignored on write so a read payload can be sent back verbatim.","uniqueKey":"header.images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"header.images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"header.images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"header.images","typeLabel":"object[]"},"image_keywords":{"type":"string","description":"Unsplash search keywords; the top result becomes the (sole) header image.","uniqueKey":"header.image_keywords","typeLabel":"string"}},"uniqueKey":"header","typeLabel":"object"},"wallpaper":{"type":"object","additionalProperties":false,"description":"Form background. `color` and `image` are mutually exclusive — setting one clears the other. `image` is only accepted when the form layout is `card`. Setting either recomputes the palette (dominant + label/choice/header text colors).","properties":{"color":{"oneOf":[{"type":"string","description":"CSS color string; null clears.","uniqueKey":"wallpaper.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string; null clears.","uniqueKey":"wallpaper.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"wallpaper.color","typeLabel":"string | null"},"image":{"oneOf":[{"type":"object","description":"Card-only background image. Provide exactly one of `id` (reuse an existing wallpaper image) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with purpose `wallpaper_image`). `null` clears the image.","required":["id"],"properties":{"id":{"type":"string","minLength":1,"description":"Existing background image attachment id to reuse.","isRequired":true,"uniqueKey":"wallpaper.image.oneOf.0.id","typeLabel":"string"},"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments (purpose `wallpaper_image`), after the file was PUT to its upload_url.","uniqueKey":"wallpaper.image.oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Accepted and ignored on write so a read payload can be sent back verbatim.","uniqueKey":"wallpaper.image.oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"wallpaper.image.oneOf.0","typeLabel":"object"},{"type":"object","description":"Card-only background image. Provide exactly one of `id` (reuse an existing wallpaper image) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with purpose `wallpaper_image`). `null` clears the image.","required":["upload_id"],"properties":{"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments (purpose `wallpaper_image`), after the file was PUT to its upload_url.","isRequired":true,"uniqueKey":"wallpaper.image.oneOf.1.upload_id","typeLabel":"string"},"id":{"type":"string","minLength":1,"description":"Existing background image attachment id to reuse.","uniqueKey":"wallpaper.image.oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Accepted and ignored on write so a read payload can be sent back verbatim.","uniqueKey":"wallpaper.image.oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"wallpaper.image.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"wallpaper.image.oneOf.2","typeLabel":"null"}],"uniqueKey":"wallpaper.image","typeLabel":"object · object · null"}},"uniqueKey":"wallpaper","typeLabel":"object"},"primary_color":{"oneOf":[{"type":"string","description":"Theme primary color. **Alias** for `submit_button.style.background_color` —\nreading either returns the same value, and writing to either updates the\nsame underlying field. If both `primary_color` and\n`submit_button.style.background_color` are present in one request with\n**different** values, the request is rejected with 422. Equal values are\naccepted (idempotent).","uniqueKey":"primary_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Theme primary color. **Alias** for `submit_button.style.background_color` —\nreading either returns the same value, and writing to either updates the\nsame underlying field. If both `primary_color` and\n`submit_button.style.background_color` are present in one request with\n**different** values, the request is rejected with 422. Equal values are\naccepted (idempotent).","uniqueKey":"primary_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"primary_color","typeLabel":"string | null"},"submit_button":{"type":"object","additionalProperties":false,"properties":{"style":{"type":"object","additionalProperties":false,"properties":{"background_color":{"oneOf":[{"type":"string","uniqueKey":"submit_button.style.background_color.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"submit_button.style.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"submit_button.style.background_color","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","uniqueKey":"submit_button.style.color.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"submit_button.style.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"submit_button.style.color","typeLabel":"string | null"}},"uniqueKey":"submit_button.style","typeLabel":"object"}},"uniqueKey":"submit_button","typeLabel":"object"},"typography":{"type":"object","additionalProperties":false,"properties":{"form_header":{"type":"object","additionalProperties":false,"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","20px","24px","28px","36px","40px",null],"description":"Font size. One of 14px / 15px / 16px / 20px / 24px / 28px / 36px / 40px.","uniqueKey":"typography.form_header.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","20px","24px","28px","36px","40px",null],"description":"Font size. One of 14px / 15px / 16px / 20px / 24px / 28px / 36px / 40px.","uniqueKey":"typography.form_header.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.form_header.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"CSS color string.","uniqueKey":"typography.form_header.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string.","uniqueKey":"typography.form_header.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.form_header.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.form_header.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.form_header.font_weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.form_header.font_weight","typeLabel":"enum\u003cstring> | null"},"text_align":{"oneOf":[{"type":"string","enum":["left","center","right",null],"description":"Text alignment; one of left/center/right.","uniqueKey":"typography.form_header.text_align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["left","center","right",null],"description":"Text alignment; one of left/center/right.","uniqueKey":"typography.form_header.text_align.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.form_header.text_align","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"typography.form_header","typeLabel":"object"},"field_label":{"type":"object","additionalProperties":false,"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"typography.field_label.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"typography.field_label.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.field_label.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"CSS color string.","uniqueKey":"typography.field_label.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string.","uniqueKey":"typography.field_label.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.field_label.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.field_label.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.field_label.font_weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.field_label.font_weight","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"typography.field_label","typeLabel":"object"},"choice_style":{"type":"object","additionalProperties":false,"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"typography.choice_style.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"typography.choice_style.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.choice_style.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"CSS color string.","uniqueKey":"typography.choice_style.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string.","uniqueKey":"typography.choice_style.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.choice_style.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.choice_style.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"typography.choice_style.font_weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"typography.choice_style.font_weight","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"typography.choice_style","typeLabel":"object"}},"uniqueKey":"typography","typeLabel":"object"},"general_button":{"type":"object","additionalProperties":false,"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"general_button.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"description":"Font size; one of 14px/15px/16px/17px/18px/19px/20px/22px/24px.","uniqueKey":"general_button.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"general_button.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"CSS color string.","uniqueKey":"general_button.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string.","uniqueKey":"general_button.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"general_button.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"general_button.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"description":"Font weight; one of bold/normal.","uniqueKey":"general_button.font_weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"general_button.font_weight","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS color string.","uniqueKey":"general_button.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string.","uniqueKey":"general_button.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"general_button.border_color","typeLabel":"string | null"},"border_width":{"oneOf":[{"type":"string","enum":["0px","1px","2px","3px","4px","5px",null],"description":"Border width; one of 0px/1px/2px/3px/4px/5px.","uniqueKey":"general_button.border_width.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["0px","1px","2px","3px","4px","5px",null],"description":"Border width; one of 0px/1px/2px/3px/4px/5px.","uniqueKey":"general_button.border_width.oneOf.1","typeLabel":"null"}],"uniqueKey":"general_button.border_width","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"general_button","typeLabel":"object"},"form_container":{"type":"object","additionalProperties":false,"description":"Form container styling. Only accepted when the form layout is `classic`.","properties":{"style":{"type":"object","additionalProperties":false,"properties":{"background_color":{"oneOf":[{"type":"string","description":"CSS color string; null clears.","uniqueKey":"form_container.style.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string; null clears.","uniqueKey":"form_container.style.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"form_container.style.background_color","typeLabel":"string | null"}},"uniqueKey":"form_container.style","typeLabel":"object"}},"uniqueKey":"form_container","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"header":{"images":[{"id":"\u003cstring>","upload_id":"\u003cstring>","url":"\u003cstring>"}],"image_keywords":"\u003cstring>"},"wallpaper":{"color":"\u003cstring>","image":{"id":"\u003cstring>","upload_id":"\u003cstring>","url":"\u003cstring>"}},"primary_color":"\u003cstring>","submit_button":{"style":{"background_color":"\u003cstring>","color":"\u003cstring>"}},"typography":{"form_header":{"color":"\u003cstring>"},"field_label":{"color":"\u003cstring>"},"choice_style":{"color":"\u003cstring>"}},"general_button":{"color":"\u003cstring>","border_color":"\u003cstring>"},"form_container":{"style":{"background_color":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"129d9277-e905-44c3-bcf8-6b0453d2d870":{"description":"Null clears form_container.style.background_color","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["header","wallpaper","primary_color","submit_button","typography","general_button"],"properties":{"header":{"type":"object","required":["images"],"properties":{"images":{"type":"array","description":"Header images; empty array when no header image is set.","items":{"type":"object","required":["url","id"],"properties":{"url":{"type":"string","format":"uri","description":"Header image visit URL at size xlarge.","isRequired":true,"uniqueKey":"data.header.images.items.[INDEX].url","typeLabel":"string\u003curi>"},"id":{"type":"string","description":"Attachment id.","isRequired":true,"uniqueKey":"data.header.images.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"data.header.images.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.header.images","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.header","typeLabel":"object"},"wallpaper":{"type":"object","required":["color","image"],"properties":{"color":{"oneOf":[{"type":"string","description":"CSS color string of the form background; null when unset.","isRequired":true,"uniqueKey":"data.wallpaper.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS color string of the form background; null when unset.","isRequired":true,"uniqueKey":"data.wallpaper.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.wallpaper.color","typeLabel":"string | null"},"image":{"oneOf":[{"type":"object","required":["url","id"],"properties":{"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"data.wallpaper.image.oneOf.0.url","typeLabel":"string\u003curi>"},"id":{"type":"string","isRequired":true,"uniqueKey":"data.wallpaper.image.oneOf.0.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.wallpaper.image.oneOf.0","typeLabel":"object"},{"type":"null","required":["url","id"],"properties":{"url":{"type":"string","format":"uri"},"id":{"type":"string"}},"isRequired":true,"uniqueKey":"data.wallpaper.image.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.wallpaper.image","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"data.wallpaper","typeLabel":"object"},"primary_color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.primary_color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.primary_color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.primary_color","typeLabel":"string | null"},"submit_button":{"type":"object","required":["style"],"properties":{"style":{"type":"object","required":["background_color","color"],"properties":{"background_color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.submit_button.style.background_color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.submit_button.style.background_color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.submit_button.style.background_color","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.submit_button.style.color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.submit_button.style.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.submit_button.style.color","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.submit_button.style","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.submit_button","typeLabel":"object"},"typography":{"type":"object","required":["form_header","field_label","choice_style"],"properties":{"form_header":{"type":"object","required":["font_size","color","font_weight","text_align"],"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","20px","24px","28px","36px","40px",null],"isRequired":true,"uniqueKey":"data.typography.form_header.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","20px","24px","28px","36px","40px",null],"isRequired":true,"uniqueKey":"data.typography.form_header.font_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.form_header.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.typography.form_header.color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.typography.form_header.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.form_header.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.form_header.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.form_header.font_weight.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.form_header.font_weight","typeLabel":"enum\u003cstring> | null"},"text_align":{"oneOf":[{"type":"string","enum":["left","center","right",null],"isRequired":true,"uniqueKey":"data.typography.form_header.text_align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["left","center","right",null],"isRequired":true,"uniqueKey":"data.typography.form_header.text_align.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.form_header.text_align","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.typography.form_header","typeLabel":"object"},"field_label":{"type":"object","required":["font_size","color","font_weight"],"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.typography.field_label.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.typography.field_label.font_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.field_label.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.typography.field_label.color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.typography.field_label.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.field_label.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.field_label.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.field_label.font_weight.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.field_label.font_weight","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.typography.field_label","typeLabel":"object"},"choice_style":{"type":"object","required":["font_size","color","font_weight"],"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.typography.choice_style.color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.typography.choice_style.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.choice_style.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_weight.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.typography.choice_style.font_weight","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.typography.choice_style","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.typography","typeLabel":"object"},"general_button":{"type":"object","required":["font_size","color","font_weight","border_color","border_width"],"properties":{"font_size":{"oneOf":[{"type":"string","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.general_button.font_size.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["14px","15px","16px","17px","18px","19px","20px","22px","24px",null],"isRequired":true,"uniqueKey":"data.general_button.font_size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.general_button.font_size","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.general_button.color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.general_button.color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.general_button.color","typeLabel":"string | null"},"font_weight":{"oneOf":[{"type":"string","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.general_button.font_weight.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["bold","normal",null],"isRequired":true,"uniqueKey":"data.general_button.font_weight.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.general_button.font_weight","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.general_button.border_color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.general_button.border_color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.general_button.border_color","typeLabel":"string | null"},"border_width":{"oneOf":[{"type":"string","enum":["0px","1px","2px","3px","4px","5px",null],"isRequired":true,"uniqueKey":"data.general_button.border_width.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["0px","1px","2px","3px","4px","5px",null],"isRequired":true,"uniqueKey":"data.general_button.border_width.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.general_button.border_width","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.general_button","typeLabel":"object"},"form_container":{"type":"object","required":["style"],"properties":{"style":{"type":"object","required":["background_color"],"properties":{"background_color":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.form_container.style.background_color.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.form_container.style.background_color.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.form_container.style.background_color","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.form_container.style","typeLabel":"object"}},"uniqueKey":"data.form_container","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"header":{"images":[{"url":"\u003cstring>","id":"\u003cstring>"}]},"wallpaper":{"color":"\u003cstring>","image":{"url":"\u003cstring>","id":"\u003cstring>"}},"primary_color":"\u003cstring>","submit_button":{"style":{"background_color":"\u003cstring>","color":"\u003cstring>"}},"typography":{"form_header":{"font_size":"14px","color":"\u003cstring>","font_weight":"bold","text_align":"left"},"field_label":{"font_size":"14px","color":"\u003cstring>","font_weight":"bold"},"choice_style":{"font_size":"14px","color":"\u003cstring>","font_weight":"bold"}},"general_button":{"font_size":"14px","color":"\u003cstring>","font_weight":"bold","border_color":"\u003cstring>","border_width":"0px"},"form_container":{"style":{"background_color":"\u003cstring>"}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c334c4dc-d5e7-47df-9fe8-14dd4bc72c0d":{"description":"Collaborator's role lacks manage ability","content":{"application/json":{"examples":{"collaborator_forbidden":{"title":"collaborator_forbidden","value":{"error":"Forbidden"}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"a2ef7f92-697b-4f9b-9c2e-b293a19eefb1":{"description":"Form not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ba2b2a64-e3bb-463c-98b6-52f847ba9a39":{"description":"form_container rejected for non-classic layouts","content":{"application/json":{"examples":{"conflict":{"title":"conflict","value":{"error":"primary_color and submit_button.style.background_color conflict"}},"mutex":{"title":"mutex","value":{"error":"header images and image_keywords are mutually exclusive"}},"unsplash_empty":{"title":"unsplash_empty","value":{"error":"Failed to fetch header image"}},"classic_layout":{"title":"classic_layout","value":{"error":"wallpaper image can only be set when layout is card"}},"card_layout":{"title":"card_layout","value":{"error":"form_container can only be set when layout is classic"}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b6e9a1c7-aa69-439a-bf9e-504e635c1b05":{"PersonalAccessToken":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","scopes":["form:write"],"schemeName":"PersonalAccessToken"}}},"servers":{"8e8bfda0-f1ef-4ae4-afa9-25e9767fdcdc":{"url":"https://formhug.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","scopes":["form:write"],"schemeName":"PersonalAccessToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PersonalAccessToken","name":"Authorization"}],"title":"PersonalAccessToken"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"formhug-8bc4ebd1","siteName":"FormHug","title":"Update the form theme - FormHug","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/form-themes/update-the-form-theme.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Required scope: form:write. Partial-merge semantics — only keys present are written; explicit null clears.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FormHug\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update the form theme - FormHug\">\u003cmeta data-mint-head property=\"og:description\" content=\"Required scope: form:write. Partial-merge semantics — only keys present are written; explicit null clears.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FormHug\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://formhug-8bc4ebd1.mintlify.site/docs/_mintlify/api/og/v2?division=Form+Themes\u0026amp;title=Update+the+form+theme\u0026amp;description=**Required+scope%3A**+%60form%3Awrite%60.+Partial-merge+semantics+%E2%80%94+only+keys+present+are+written%3B+explicit+%60null%60+clears.\u0026amp;theme=f65d2e66686ae10fbc4af29c\u0026amp;signature=ec3068e03117f05c30e0405c82a0827bd76b0917221bc670f22a94eb4a7fd7e4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update the form theme - FormHug\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Required scope: form:write. Partial-merge semantics — only keys present are written; explicit null clears.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://formhug-8bc4ebd1.mintlify.site/docs/_mintlify/api/og/v2?division=Form+Themes\u0026amp;title=Update+the+form+theme\u0026amp;description=**Required+scope%3A**+%60form%3Awrite%60.+Partial-merge+semantics+%E2%80%94+only+keys+present+are+written%3B+explicit+%60null%60+clears.\u0026amp;theme=f65d2e66686ae10fbc4af29c\u0026amp;signature=ec3068e03117f05c30e0405c82a0827bd76b0917221bc670f22a94eb4a7fd7e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FormHug\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/form-themes/update-the-form-theme.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://formhug.ai/#organization\",\"name\":\"FormHug\",\"url\":\"https://formhug.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/light.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=88284690f11209ca0abb5239bc7f1179\"}},{\"@type\":\"WebSite\",\"@id\":\"https://formhug.ai/docs#website\",\"name\":\"FormHug\",\"url\":\"https://formhug.ai/docs\",\"publisher\":{\"@id\":\"https://formhug.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme#webpage\",\"url\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme\",\"name\":\"Update the form theme\",\"description\":\"Required scope: form:write. Partial-merge semantics — only keys present are written; explicit null clears.\",\"isPartOf\":{\"@id\":\"https://formhug.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Form Themes\",\"item\":\"https://formhug.ai/docs/api-reference/form-themes/get-the-form-theme\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update the form theme\",\"item\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme#apireference\",\"headline\":\"Update the form theme\",\"name\":\"Update the form theme\",\"description\":\"Required scope: form:write. Partial-merge semantics — only keys present are written; explicit null clears.\",\"url\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme\",\"mainEntityOfPage\":{\"@id\":\"https://formhug.ai/docs/api-reference/form-themes/update-the-form-theme#webpage\"},\"publisher\":{\"@id\":\"https://formhug.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://formhug.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FormHug\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FormHug","nav":{"global":null,"tabs":[{"tab":"Introduction","icon":"book-open","pages":[{"title":"Introduction","href":"/introduction/welcome"}]},{"tab":"Features","icon":"sparkles","pages":[{"title":"Features","href":"/features/building/overview"}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Guides","icon":"graduation-cap","pages":[{"title":"Guides","href":"/guides/use-cases/registration-form"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"group":"Models","expanded":false,"pages":[{"title":"Form Field","href":"/api-reference/models/form-field"}]}]},{"group":"Forms","pages":[{"title":"List the current user forms","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms","href":"/api-reference/forms/list-the-current-user-forms"},{"title":"Create a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms","href":"/api-reference/forms/create-a-form"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{token}","href":"/api-reference/forms/get-a-form"},{"title":"Update a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{token}","href":"/api-reference/forms/update-a-form"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{token}","href":"/api-reference/forms/delete-a-form"},{"title":"Move a form between folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/folder","href":"/api-reference/form-folder/move-a-form-between-folders"}]},{"group":"Form Themes","pages":[{"title":"Get the form theme","description":"**Required scope:** `form:read`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/get-the-form-theme"},{"title":"Update the form theme","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/update-the-form-theme"}]},{"group":"Field Rules","pages":[{"title":"Get field rules","description":"**Required scope:** `form:read`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/rules","href":"/api-reference/field-rules/get-field-rules"},{"title":"Replace field rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/rules","href":"/api-reference/field-rules/replace-field-rules"}]},{"group":"Form Settings","pages":[{"title":"Get form settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/settings","href":"/api-reference/form-settings/get-form-settings"},{"title":"Update form settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/settings","href":"/api-reference/form-settings/update-form-settings"}]},{"group":"Attachments","pages":[{"title":"Prepare a form-element attachment upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/attachments","href":"/api-reference/attachments/prepare-a-form-element-attachment-upload"},{"title":"Finalize prepared rich-text image uploads","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/attachment_commitments","href":"/api-reference/attachments/finalize-prepared-rich-text-image-uploads"},{"title":"Prepare an entry-attachment upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/f/{form_token}/entry_attachments","href":"/api-reference/entry-attachments/prepare-an-entry-attachment-upload"}]},{"group":"Entries","pages":[{"title":"List entries of a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entries","href":"/api-reference/entries/list-entries-of-a-form"},{"title":"Submit an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/entries","href":"/api-reference/entries/submit-an-entry"},{"title":"Get an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/get-an-entry"},{"title":"Update an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/update-an-entry"},{"title":"Delete an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/delete-an-entry"},{"title":"Create entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/create-entries-in-batch"},{"title":"Update entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/update-entries-in-batch"},{"title":"Delete entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/delete-entries-in-batch"},{"title":"Get the JSON Schema for writing an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entry_schema","href":"/api-reference/entry-schemas/get-the-json-schema-for-writing-an-entry"}]},{"group":"Folders","pages":[{"title":"List the current user folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/folders","href":"/api-reference/folders/list-the-current-user-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Update a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/folders/{token}","href":"/api-reference/folders/update-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/folders/{token}","href":"/api-reference/folders/delete-a-folder"}]},{"group":"Published Forms","pages":[{"title":"Get a published form's public structure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}","href":"/api-reference/published-forms/get-a-published-forms-public-structure"}]},{"group":"Published Form Entries","pages":[{"title":"List your entries on a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/entries","href":"/api-reference/published-form-entries/list-your-entries-on-a-published-form"},{"title":"Submit an entry to a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/f/{form_token}/entries","href":"/api-reference/published-form-entries/submit-an-entry-to-a-published-form"},{"title":"Get the JSON Schema for submitting to a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/entry_schema","href":"/api-reference/entry-schemas/get-the-json-schema-for-submitting-to-a-published-form"},{"title":"Discover candidate entries for a linked_form field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/associated_entry_options","href":"/api-reference/linked-form-options/discover-candidate-entries-for-a-linked_form-field"}]},{"group":"Participated Forms","pages":[{"title":"List forms you have participated in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/participated_forms","href":"/api-reference/participated-forms/list-forms-you-have-participated-in"}]},{"group":"Public Queries","pages":[{"title":"List your public queries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/opensearch/queries","href":"/api-reference/public-queries/list-your-public-queries"},{"title":"Create a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/opensearch/queries","href":"/api-reference/public-queries/create-a-public-query"},{"title":"Get a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/get-a-public-query"},{"title":"Update a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/update-a-public-query"},{"title":"Delete a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/delete-a-public-query"}]},{"group":"Me","pages":[{"title":"Get current user info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/me","href":"/api-reference/me/get-current-user-info"}]},{"group":"Webhooks","pages":[{"title":"List webhook integrations of a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/integrations/webhooks","href":"/api-reference/webhooks/list-webhook-integrations-of-a-form"},{"title":"Create a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/integrations/webhooks","href":"/api-reference/webhooks/create-a-webhook-integration"},{"title":"Update a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/integrations/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-integration"},{"title":"Delete a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/integrations/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook-integration"},{"title":"Get a sample payload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/integrations/webhooks/sample_payload","href":"/api-reference/webhooks/get-a-sample-payload"}]},{"group":"OAuth","pages":[{"title":"Start an OAuth authorization request (PKCE)","openapi":"GET /api/v1/oauth/authorize","playground":"none","href":"/api-reference/oauth/authorize"},{"title":"Exchange for access_token","openapi":"POST /api/v1/oauth/token","playground":"none","href":"/api-reference/oauth/token"},{"title":"Revoke an access_token or refresh_token","openapi":"POST /api/v1/oauth/revoke","playground":"none","href":"/api-reference/oauth/revoke"}]}]},{"tab":"Resources","icon":"folder-open","pages":[{"title":"Resources","href":"/resources/help/faq"}]}]},"basePath":"","title":"Update the form theme - FormHug","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_7my4bd.js","utils-Cq_itTNA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B5KPEvGz.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DBX-JepP.js","snippetPresets-Bsspz-Ge.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-jcs-2nGf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dp53in7F.js","shallow-Dv9eUdUd.js","getApiPlaygroundDisplay-D8cDwNhi.js","CodeSnippet-DkwXLQor.js","CodeSnippets-DcSgKqs5.js","Page-t8ynOKTD.js","getPastedJson-I2RjoApV.js","icon-BIj57rZC.js","MethodPill-CTwLPWXC.js","DuplicateIcon-BJpFwygY.js","createIcon-C7PorfAe.js","DynamicMarkdown-BBht_uEs.js","SectionHeading-YIBwxbzj.js","axios-vUo_bRtp.js","Markdown--YCeFtOs.js","clsx-CrPa459s.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BWxsj3I0.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fBzVvq7k.js"]}