{ "error": "Bad Request", "message": "templateId must be one of: y2k-card, cover-stack, ...", "field": "templateId"}
Send a short page config (the same shape Bouncy’s AI website builder produces) and get back editorUrl. Opening it shows the page in the Bouncy editor, fully built, where it can be reviewed and published. Nothing goes live until it is published from the editor, and the draft does not count toward link limits.Drafts that are never opened expire after 30 days. Once a draft is edited in the editor it is kept like any other draft.
Request
Headers
string
required
Must be application/json
Body
string
The design. One of: y2k-card, cover-stack, simple-stack-v2, modern-card-v2, minimal-card-v2, spotlight-card-v2, professional-link-bio-v2, bento-grid, neo-brutalist, music-release, music-sleeve, music-onyx, root-terminal, bonbon-card, portrait-card, scene-card, noir-publisher. May be given as semantic.templateId instead; when both are sent, this one wins.
object
required
The page config (max 64 KB as JSON). The editor fills anything left out with the design’s defaults.
Show properties
object
name, handle (e.g. @amy) and bio
object
type (letter or emoji) and value
object
background (type: preset, gradient or solid, plus preset, gradient or solid), page and typography (nameStyle, nameColor, handleColor, bioColor)
array
Blocks in order. Each has type (simple, featured, header, text, divider or media), title, subtitle, text, url, style, colors (background, text), animation and, for media blocks, platform
array
{ "platform": "instagram", "handle": "amy" } items (a handle or a full profile URL)
{ "error": "Bad Request", "message": "templateId must be one of: y2k-card, cover-stack, ...", "field": "templateId"}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Bouncy.ai API","colors":{"primary":"#084c58","light":"#5b8891","dark":"#084c58"},"favicon":"https://mintcdn.com/bouncyai/NJMjgGD0_Kw4WkXU/favicon.png?fit=max\u0026auto=format\u0026n=NJMjgGD0_Kw4WkXU\u0026q=85\u0026s=9de6e223bc771c056d6a3f217debf6fc","logo":{"light":"https://mintcdn.com/bouncyai/5yn_ES999MvneSXV/logo/light.svg?fit=max\u0026auto=format\u0026n=5yn_ES999MvneSXV\u0026q=85\u0026s=d91074955dc5df608bc22c4d17f46818","dark":"https://mintcdn.com/bouncyai/5yn_ES999MvneSXV/logo/dark.svg?fit=max\u0026auto=format\u0026n=5yn_ES999MvneSXV\u0026q=85\u0026s=77c319b3bbb1b45a301472ad66bf72e7"},"api":{"mdx":{"server":"https://api.bouncy.ai","auth":{"method":"bearer","name":"Authorization"}}},"navbar":{"links":[{"label":"Support","href":"https://help.bouncy.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.bouncy.ai/api/dashboard"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Main Website","href":"https://bouncy.ai","icon":"house"},{"anchor":"API Dashboard","href":"https://app.bouncy.ai/api/dashboard","icon":"key"},{"anchor":"Community","href":"https://discord.gg/bouncy","icon":"discord"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bouncyai","hasAudioNarration":false,"actualSubdomain":"bouncyai","customDomains":["docs.bouncy.ai"],"gitSource":{"type":"github","owner":"amaanmuhammad","repo":"bouncyai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae6053c6d5c730af24f3646","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":28},{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"Links","count":8},{"language":"default","tag":"AI Assistants (MCP)","count":7},{"language":"default","tag":"Domains","count":5},{"language":"default","tag":"Websites","count":5},{"language":"default","tag":"Groups","count":4},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Account","count":3},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/websites/create-website-draft","slug":"/api-reference/websites/create-website-draft","pageMetadata":{"title":"Create Website Draft","api":"POST https://api.bouncy.ai/v1/websites/drafts","description":"Save a link-in-bio page as a draft and get a link to finish it in the editor","href":"/api-reference/websites/create-website-draft"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Save a link-in-bio page as a draft and get a link to finish it in the editor\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send a short page config (the same shape Bouncy’s AI website builder produces) and get back `,_jsx(_components.code,{children:`editorUrl`}),`. Opening it shows the page in the Bouncy editor, fully built, where it can be reviewed and published. Nothing goes live until it is published from the editor, and the draft does not count toward link limits.`]}),`\n`,_jsx(_components.p,{children:`Drafts that are never opened expire after 30 days. Once a draft is edited in the editor it is kept like any other draft.`}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`templateId`,type:`string`,id:`param-template-id`,children:_jsxs(_components.p,{children:[`The design. One of: `,_jsx(_components.code,{children:`y2k-card`}),`, `,_jsx(_components.code,{children:`cover-stack`}),`, `,_jsx(_components.code,{children:`simple-stack-v2`}),`, `,_jsx(_components.code,{children:`modern-card-v2`}),`, `,_jsx(_components.code,{children:`minimal-card-v2`}),`, `,_jsx(_components.code,{children:`spotlight-card-v2`}),`, `,_jsx(_components.code,{children:`professional-link-bio-v2`}),`, `,_jsx(_components.code,{children:`bento-grid`}),`, `,_jsx(_components.code,{children:`neo-brutalist`}),`, `,_jsx(_components.code,{children:`music-release`}),`, `,_jsx(_components.code,{children:`music-sleeve`}),`, `,_jsx(_components.code,{children:`music-onyx`}),`, `,_jsx(_components.code,{children:`root-terminal`}),`, `,_jsx(_components.code,{children:`bonbon-card`}),`, `,_jsx(_components.code,{children:`portrait-card`}),`, `,_jsx(_components.code,{children:`scene-card`}),`, `,_jsx(_components.code,{children:`noir-publisher`}),`. May be given as `,_jsx(_components.code,{children:`semantic.templateId`}),` instead; when both are sent, this one wins.`]})}),`\n`,_jsxs(ParamField,{body:`semantic`,type:`object`,required:true,id:`param-semantic`,children:[_jsx(_components.p,{children:`The page config (max 64 KB as JSON). The editor fills anything left out with the design’s defaults.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`profile`,type:`object`,id:`param-profile`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`handle`}),` (e.g. `,_jsx(_components.code,{children:`@amy`}),`) and `,_jsx(_components.code,{children:`bio`})]})}),_jsx(ParamField,{body:`avatar`,type:`object`,id:`param-avatar`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`type`}),` (`,_jsx(_components.code,{children:`letter`}),` or `,_jsx(_components.code,{children:`emoji`}),`) and `,_jsx(_components.code,{children:`value`})]})}),_jsx(ParamField,{body:`theme`,type:`object`,id:`param-theme`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`background`}),` (`,_jsx(_components.code,{children:`type`}),`: `,_jsx(_components.code,{children:`preset`}),`, `,_jsx(_components.code,{children:`gradient`}),` or `,_jsx(_components.code,{children:`solid`}),`, plus `,_jsx(_components.code,{children:`preset`}),`, `,_jsx(_components.code,{children:`gradient`}),` or `,_jsx(_components.code,{children:`solid`}),`), `,_jsx(_components.code,{children:`page`}),` and `,_jsx(_components.code,{children:`typography`}),` (`,_jsx(_components.code,{children:`nameStyle`}),`, `,_jsx(_components.code,{children:`nameColor`}),`, `,_jsx(_components.code,{children:`handleColor`}),`, `,_jsx(_components.code,{children:`bioColor`}),`)`]})}),_jsx(ParamField,{body:`links`,type:`array`,id:`param-links`,children:_jsxs(_components.p,{children:[`Blocks in order. Each has `,_jsx(_components.code,{children:`type`}),` (`,_jsx(_components.code,{children:`simple`}),`, `,_jsx(_components.code,{children:`featured`}),`, `,_jsx(_components.code,{children:`header`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`divider`}),` or `,_jsx(_components.code,{children:`media`}),`), `,_jsx(_components.code,{children:`title`}),`, `,_jsx(_components.code,{children:`subtitle`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`style`}),`, `,_jsx(_components.code,{children:`colors`}),` (`,_jsx(_components.code,{children:`background`}),`, `,_jsx(_components.code,{children:`text`}),`), `,_jsx(_components.code,{children:`animation`}),` and, for media blocks, `,_jsx(_components.code,{children:`platform`})]})}),_jsx(ParamField,{body:`socials`,type:`array`,id:`param-socials`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"platform\": \"instagram\", \"handle\": \"amy\" }`}),` items (a handle or a full profile URL)`]})}),_jsx(ParamField,{body:`seo`,type:`object`,id:`param-seo`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`pageTitle`}),` and `,_jsx(_components.code,{children:`metaDescription`})]})}),_jsx(ParamField,{body:`countdown`,type:`object`,id:`param-countdown`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`spotlight-card-v2`}),` only: `,_jsx(_components.code,{children:`enabled`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`durationMinutes`})]})})]})]}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Draft name shown in the dashboard’s Drafts list (max 120 characters). Defaults to `,_jsx(_components.code,{children:`semantic.profile.name`}),`, then `,_jsx(_components.code,{children:`semantic.seo.pageTitle`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the draft was saved`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Draft ID`})}),_jsx(ResponseField,{name:`templateId`,type:`string`,id:`param-template-id-1`,children:_jsx(_components.p,{children:`The design`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Draft name`})}),_jsx(ResponseField,{name:`editorUrl`,type:`string`,id:`param-editor-url`,children:_jsx(_components.p,{children:`Link that opens the draft in the editor (the account owner must be signed in)`})})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Website Draft","api":"POST https://api.bouncy.ai/v1/websites/drafts","description":"Save a link-in-bio page as a draft and get a link to finish it in the editor","href":"/api-reference/websites/create-website-draft"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send a short page config (the same shape Bouncy’s AI website builder produces) and get back `,_jsx(_components.code,{children:`editorUrl`}),`. Opening it shows the page in the Bouncy editor, fully built, where it can be reviewed and published. Nothing goes live until it is published from the editor, and the draft does not count toward link limits.`]}),`\n`,_jsx(_components.p,{children:`Drafts that are never opened expire after 30 days. Once a draft is edited in the editor it is kept like any other draft.`}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`templateId`,type:`string`,id:`param-template-id`,children:_jsxs(_components.p,{children:[`The design. One of: `,_jsx(_components.code,{children:`y2k-card`}),`, `,_jsx(_components.code,{children:`cover-stack`}),`, `,_jsx(_components.code,{children:`simple-stack-v2`}),`, `,_jsx(_components.code,{children:`modern-card-v2`}),`, `,_jsx(_components.code,{children:`minimal-card-v2`}),`, `,_jsx(_components.code,{children:`spotlight-card-v2`}),`, `,_jsx(_components.code,{children:`professional-link-bio-v2`}),`, `,_jsx(_components.code,{children:`bento-grid`}),`, `,_jsx(_components.code,{children:`neo-brutalist`}),`, `,_jsx(_components.code,{children:`music-release`}),`, `,_jsx(_components.code,{children:`music-sleeve`}),`, `,_jsx(_components.code,{children:`music-onyx`}),`, `,_jsx(_components.code,{children:`root-terminal`}),`, `,_jsx(_components.code,{children:`bonbon-card`}),`, `,_jsx(_components.code,{children:`portrait-card`}),`, `,_jsx(_components.code,{children:`scene-card`}),`, `,_jsx(_components.code,{children:`noir-publisher`}),`. May be given as `,_jsx(_components.code,{children:`semantic.templateId`}),` instead; when both are sent, this one wins.`]})}),`\n`,_jsxs(ParamField,{body:`semantic`,type:`object`,required:true,id:`param-semantic`,children:[_jsx(_components.p,{children:`The page config (max 64 KB as JSON). The editor fills anything left out with the design’s defaults.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`profile`,type:`object`,id:`param-profile`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`handle`}),` (e.g. `,_jsx(_components.code,{children:`@amy`}),`) and `,_jsx(_components.code,{children:`bio`})]})}),_jsx(ParamField,{body:`avatar`,type:`object`,id:`param-avatar`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`type`}),` (`,_jsx(_components.code,{children:`letter`}),` or `,_jsx(_components.code,{children:`emoji`}),`) and `,_jsx(_components.code,{children:`value`})]})}),_jsx(ParamField,{body:`theme`,type:`object`,id:`param-theme`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`background`}),` (`,_jsx(_components.code,{children:`type`}),`: `,_jsx(_components.code,{children:`preset`}),`, `,_jsx(_components.code,{children:`gradient`}),` or `,_jsx(_components.code,{children:`solid`}),`, plus `,_jsx(_components.code,{children:`preset`}),`, `,_jsx(_components.code,{children:`gradient`}),` or `,_jsx(_components.code,{children:`solid`}),`), `,_jsx(_components.code,{children:`page`}),` and `,_jsx(_components.code,{children:`typography`}),` (`,_jsx(_components.code,{children:`nameStyle`}),`, `,_jsx(_components.code,{children:`nameColor`}),`, `,_jsx(_components.code,{children:`handleColor`}),`, `,_jsx(_components.code,{children:`bioColor`}),`)`]})}),_jsx(ParamField,{body:`links`,type:`array`,id:`param-links`,children:_jsxs(_components.p,{children:[`Blocks in order. Each has `,_jsx(_components.code,{children:`type`}),` (`,_jsx(_components.code,{children:`simple`}),`, `,_jsx(_components.code,{children:`featured`}),`, `,_jsx(_components.code,{children:`header`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`divider`}),` or `,_jsx(_components.code,{children:`media`}),`), `,_jsx(_components.code,{children:`title`}),`, `,_jsx(_components.code,{children:`subtitle`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`style`}),`, `,_jsx(_components.code,{children:`colors`}),` (`,_jsx(_components.code,{children:`background`}),`, `,_jsx(_components.code,{children:`text`}),`), `,_jsx(_components.code,{children:`animation`}),` and, for media blocks, `,_jsx(_components.code,{children:`platform`})]})}),_jsx(ParamField,{body:`socials`,type:`array`,id:`param-socials`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{ \"platform\": \"instagram\", \"handle\": \"amy\" }`}),` items (a handle or a full profile URL)`]})}),_jsx(ParamField,{body:`seo`,type:`object`,id:`param-seo`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`pageTitle`}),` and `,_jsx(_components.code,{children:`metaDescription`})]})}),_jsx(ParamField,{body:`countdown`,type:`object`,id:`param-countdown`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`spotlight-card-v2`}),` only: `,_jsx(_components.code,{children:`enabled`}),`, `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`durationMinutes`})]})})]})]}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsxs(_components.p,{children:[`Draft name shown in the dashboard’s Drafts list (max 120 characters). Defaults to `,_jsx(_components.code,{children:`semantic.profile.name`}),`, then `,_jsx(_components.code,{children:`semantic.seo.pageTitle`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the draft was saved`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Draft ID`})}),_jsx(ResponseField,{name:`templateId`,type:`string`,id:`param-template-id-1`,children:_jsx(_components.p,{children:`The design`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Draft name`})}),_jsx(ResponseField,{name:`editorUrl`,type:`string`,id:`param-editor-url`,children:_jsx(_components.p,{children:`Link that opens the draft in the editor (the account owner must be signed in)`})})]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.bouncy.ai/v1/websites/drafts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer bcy_live_pk_YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"templateId\": \"y2k-card\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"semantic\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"profile\": { \"name\": \"Amy Rose\", \"handle\": \"@amyrose\", \"bio\": \"Photographer and traveller\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"links\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"simple\", \"title\": \"My portfolio\", \"subtitle\": \"\", \"text\": \"\", \"url\": \"https://amyrose.com\", \"style\": \"pink\", \"colors\": { \"background\": \"\", \"text\": \"\" }, \"animation\": \"none\", \"platform\": \"youtube\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"socials\": [{ \"platform\": \"instagram\", \"handle\": \"amyrose\" }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seo\": { \"pageTitle\": \"Amy Rose\", \"metaDescription\": \"Photographer and traveller\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.bouncy.ai/v1/websites/drafts'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer bcy_live_pk_YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` templateId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'y2k-card'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` semantic:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` profile:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Amy Rose'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`handle:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@amyrose'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bio:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Photographer and traveller'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` socials:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`platform:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'instagram'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`handle:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'amyrose'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Finish it here:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`editorUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201 Created`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Xk2q9ZpL0aBcD3eF4gHi\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"templateId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"y2k-card\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Amy Rose\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"editorUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.bouncy.ai/create-website/editor/y2k-card?draft=Xk2q9ZpL0aBcD3eF4gHi\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400 Bad Request`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bad Request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"templateId must be one of: y2k-card, cover-stack, ...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"templateId\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Website Draft","api":"POST https://api.bouncy.ai/v1/websites/drafts","description":"Save a link-in-bio page as a draft and get a link to finish it in the editor","href":"/api-reference/websites/create-website-draft"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.bouncy.ai/v1/websites/drafts\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer bcy_live_pk_YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"templateId\": \"y2k-card\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"semantic\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"profile\": { \"name\": \"Amy Rose\", \"handle\": \"@amyrose\", \"bio\": \"Photographer and traveller\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"links\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> { \"type\": \"simple\", \"title\": \"My portfolio\", \"subtitle\": \"\", \"text\": \"\", \"url\": \"https://amyrose.com\", \"style\": \"pink\", \"colors\": { \"background\": \"\", \"text\": \"\" }, \"animation\": \"none\", \"platform\": \"youtube\" }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"socials\": [{ \"platform\": \"instagram\", \"handle\": \"amyrose\" }],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"seo\": { \"pageTitle\": \"Amy Rose\", \"metaDescription\": \"Photographer and traveller\" }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.bouncy.ai/v1/websites/drafts'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer bcy_live_pk_YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> templateId:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'y2k-card'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> semantic:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> profile:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">name:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Amy Rose'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">handle:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '@amyrose'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">bio:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Photographer and traveller'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> socials:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [{ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">platform:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'instagram'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">handle:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'amyrose'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Finish it here:'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">editorUrl\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201 Created","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Xk2q9ZpL0aBcD3eF4gHi\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"templateId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"y2k-card\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Amy Rose\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"editorUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://app.bouncy.ai/create-website/editor/y2k-card?draft=Xk2q9ZpL0aBcD3eF4gHi\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 Bad Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bad Request\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"templateId must be one of: y2k-card, cover-stack, ...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"field\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"templateId\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create Website Draft","path":"/v1/websites/drafts","servers":[{"url":"https://api.bouncy.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"Content-Type":{"schema":[{"type":"string","description":"Must be `application/json`","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"templateId":[{"type":"string","description":"The design. One of: `y2k-card` , `cover-stack` , `simple-stack-v2` , `modern-card-v2` , `minimal-card-v2` , `spotlight-card-v2` , `professional-link-bio-v2` , `bento-grid` , `neo-brutalist` , `music-release` , `music-sleeve` , `music-onyx` , `root-terminal` , `bonbon-card` , `portrait-card` , `scene-card` , `noir-publisher` . May be given as `semantic.templateId` instead; when both are sent, this one wins."}],"semantic":[{"type":"object","properties":{"profile":[{"type":"object","properties":{},"description":"`name` , `handle` (e.g. `@amy` ) and `bio`"}],"avatar":[{"type":"object","properties":{},"description":"`type` ( `letter` or `emoji` ) and `value`"}],"theme":[{"type":"object","properties":{},"description":"`background` ( `type` : `preset` , `gradient` or `solid` , plus `preset` , `gradient` or `solid` ), `page` and `typography` ( `nameStyle` , `nameColor` , `handleColor` , `bioColor` )"}],"links":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Blocks in order. Each has `type` ( `simple` , `featured` , `header` , `text` , `divider` or `media` ), `title` , `subtitle` , `text` , `url` , `style` , `colors` ( `background` , `text` ), `animation` and, for media blocks, `platform`"}],"socials":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"`{ \"platform\": \"instagram\", \"handle\": \"amy\" }` items (a handle or a full profile URL)"}],"seo":[{"type":"object","properties":{},"description":"`pageTitle` and `metaDescription`"}],"countdown":[{"type":"object","properties":{},"description":"`spotlight-card-v2` only: `enabled` , `text` , `durationMinutes`"}]},"description":"The page config (max 64 KB as JSON). The editor fills anything left out with the design’s defaults.","required":true}],"name":[{"type":"string","description":"Draft name shown in the dashboard’s Drafts list (max 120 characters). Defaults to `semantic.profile.name` , then `semantic.seo.pageTitle` ."}]}}],"examples":{"example":{"value":{"templateId":"\u003cstring>","semantic":{"profile":{},"avatar":{},"theme":{},"links":[{}],"socials":[{}],"seo":{},"countdown":{}},"name":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the draft was saved"}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Draft ID"}],"templateId":[{"type":"string","description":"The design"}],"name":[{"type":"string","description":"Draft name"}],"editorUrl":[{"type":"string","description":"Link that opens the draft in the editor (the account owner must be signed in)"}]}}]}}],"examples":{"example":{"value":{"success":true,"data":{"id":"\u003cstring>","templateId":"\u003cstring>","name":"\u003cstring>","editorUrl":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"bouncyai","siteName":"Bouncy.ai API","title":"Create Website Draft - Bouncy.ai API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T00:53:42.026Z","originalFileLocation":"api-reference/websites/create-website-draft.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=\"Save a link-in-bio page as a draft and get a link to finish it in the editor\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bouncy.ai API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_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=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Website Draft - Bouncy.ai API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Save a link-in-bio page as a draft and get a link to finish it in the editor\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bouncy.ai API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bouncy.ai/api-reference/websites/create-website-draft\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bouncyai.mintlify.site/_mintlify/api/og/v2?division=Websites\u0026amp;title=Create+Website+Draft\u0026amp;description=Save+a+link-in-bio+page+as+a+draft+and+get+a+link+to+finish+it+in+the+editor\u0026amp;theme=48b46396621a3dc41153e13c\u0026amp;signature=6bfd1ba16c9418faa23a9ee65fc706df7394bc0fbdef165f5913fbfa030f0f7b\">\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=\"Create Website Draft - Bouncy.ai API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Save a link-in-bio page as a draft and get a link to finish it in the editor\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bouncyai.mintlify.site/_mintlify/api/og/v2?division=Websites\u0026amp;title=Create+Website+Draft\u0026amp;description=Save+a+link-in-bio+page+as+a+draft+and+get+a+link+to+finish+it+in+the+editor\u0026amp;theme=48b46396621a3dc41153e13c\u0026amp;signature=6bfd1ba16c9418faa23a9ee65fc706df7394bc0fbdef165f5913fbfa030f0f7b\">\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=\"/mintlify-assets/_mintlify/favicons/bouncyai/VzuJxmeKQKxRCCCQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bouncy.ai API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#084c58\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bouncy.ai/api-reference/websites/create-website-draft\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/websites/create-website-draft.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bouncy.ai/#organization\",\"name\":\"Bouncy.ai API\",\"url\":\"https://docs.bouncy.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bouncyai/5yn_ES999MvneSXV/logo/light.svg?fit=max\u0026auto=format\u0026n=5yn_ES999MvneSXV\u0026q=85\u0026s=d91074955dc5df608bc22c4d17f46818\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bouncy.ai#website\",\"name\":\"Bouncy.ai API\",\"url\":\"https://docs.bouncy.ai\",\"publisher\":{\"@id\":\"https://docs.bouncy.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft#webpage\",\"url\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft\",\"name\":\"Create Website Draft\",\"description\":\"Save a link-in-bio page as a draft and get a link to finish it in the editor\",\"dateModified\":\"2026-09-28T00:53:42.026Z\",\"isPartOf\":{\"@id\":\"https://docs.bouncy.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Websites\",\"item\":\"https://docs.bouncy.ai/api-reference/websites/create-website\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Website Draft\",\"item\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft#apireference\",\"headline\":\"Create Website Draft\",\"name\":\"Create Website Draft\",\"description\":\"Save a link-in-bio page as a draft and get a link to finish it in the editor\",\"url\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bouncy.ai/api-reference/websites/create-website-draft#webpage\"},\"dateModified\":\"2026-09-28T00:53:42.026Z\",\"publisher\":{\"@id\":\"https://docs.bouncy.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bouncy.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bouncy.ai API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bouncy.ai API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/websites/create-website-draft.md","siteName":"Bouncy.ai API","nav":{"global":{"anchors":[{"anchor":"Main Website","href":"https://bouncy.ai","icon":"house"},{"anchor":"API Dashboard","href":"https://app.bouncy.ai/api/dashboard","icon":"key"},{"anchor":"Community","href":"https://discord.gg/bouncy","icon":"discord"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Links","pages":[{"title":"Create Link","api":"POST https://api.bouncy.ai/v1/links","href":"/api-reference/links/create-link"},{"title":"List Links","api":"GET https://api.bouncy.ai/v1/links","href":"/api-reference/links/list-links"},{"title":"Get Link","api":"GET https://api.bouncy.ai/v1/links/{identifier}","href":"/api-reference/links/get-link"},{"title":"Update Link","api":"PUT https://api.bouncy.ai/v1/links/{identifier}","href":"/api-reference/links/update-link"},{"title":"Delete Link","api":"DELETE https://api.bouncy.ai/v1/links/{identifier}","href":"/api-reference/links/delete-link"},{"title":"Bulk Create Links","api":"POST https://api.bouncy.ai/v1/links/bulk","href":"/api-reference/links/bulk-create"},{"title":"Bulk Delete Links","api":"DELETE https://api.bouncy.ai/v1/links/bulk","href":"/api-reference/links/bulk-delete"},{"title":"Toggle Link Status","api":"PATCH https://api.bouncy.ai/v1/links/{identifier}/status","href":"/api-reference/links/toggle-status"}]},{"group":"Geo Presets","pages":[{"title":"List Geo Presets","api":"GET https://api.bouncy.ai/v1/geo-presets","href":"/api-reference/geo-presets/list-geo-presets"}]},{"group":"Analytics","pages":[{"title":"Get Link or Website Analytics","api":"GET https://api.bouncy.ai/v1/analytics/links/{identifier}","href":"/api-reference/analytics/get-link-analytics"},{"title":"Get Summary Analytics","api":"GET https://api.bouncy.ai/v1/analytics/global","href":"/api-reference/analytics/get-summary"}]},{"group":"Groups","pages":[{"title":"Create Group","api":"POST https://api.bouncy.ai/v1/groups","href":"/api-reference/groups/create-group"},{"title":"List Groups","api":"GET https://api.bouncy.ai/v1/groups","href":"/api-reference/groups/list-groups"},{"title":"Delete Group","api":"DELETE https://api.bouncy.ai/v1/groups/{groupId}","href":"/api-reference/groups/delete-group"},{"title":"Assign Links to Groups","api":"PATCH https://api.bouncy.ai/v1/links/group/bulk","href":"/api-reference/groups/assign-links"}]},{"group":"Domains","pages":[{"title":"Connect Domain","api":"POST https://api.bouncy.ai/v1/domains","href":"/api-reference/domains/connect-domain"},{"title":"List Domains","api":"GET https://api.bouncy.ai/v1/domains","href":"/api-reference/domains/list-domains"},{"title":"Verify Domain","api":"POST https://api.bouncy.ai/v1/domains/{domain}/verify","href":"/api-reference/domains/verify-domain"},{"title":"Check DNS Status","api":"GET https://api.bouncy.ai/v1/domains/{domain}/dns","href":"/api-reference/domains/check-dns"},{"title":"Delete Domain","api":"DELETE https://api.bouncy.ai/v1/domains/{domain}","href":"/api-reference/domains/delete-domain"}]},{"group":"Websites","pages":[{"title":"Create Website","api":"POST https://api.bouncy.ai/v1/websites","href":"/api-reference/websites/create-website"},{"title":"Get Website","api":"GET https://api.bouncy.ai/v1/websites/{websiteId}","href":"/api-reference/websites/get-website"},{"title":"Update Website","api":"PUT https://api.bouncy.ai/v1/websites/{websiteId}","href":"/api-reference/websites/update-website"},{"title":"Duplicate Website","api":"POST https://api.bouncy.ai/v1/websites/{websiteId}/duplicate","description":"Create a copy of an existing bio link page with a new slug or domain","href":"/api-reference/websites/duplicate-website"},{"title":"Create Website Draft","api":"POST https://api.bouncy.ai/v1/websites/drafts","href":"/api-reference/websites/create-website-draft"}]},{"group":"Account","pages":[{"title":"Get Account Profile","api":"GET https://api.bouncy.ai/v1/account/profile","description":"Retrieve your account information and plan details","href":"/api-reference/account/get-profile"},{"title":"Get API Usage","api":"GET https://api.bouncy.ai/v1/account/usage","href":"/api-reference/account/get-usage"},{"title":"Get Account Limits","api":"GET https://api.bouncy.ai/v1/account/limits","href":"/api-reference/account/get-limits"}]}]}]},"basePath":"","title":"Create Website Draft - Bouncy.ai API","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js"]}