Use a workspace API key with Custom domains: Write
(custom_domains.create). Do not send a workspace ID; the key determines it.
The workspace plan must also include custom domains.
Apex domain or subdomain, without a path. A full HTTP(S) URL is normalized to its host. Maximum 100 characters.
Biqli rejects its own application domain, malformed hosts, unsafe or
blacklisted hosts, and domains claimed by another account. Unknown fields and
internal numeric IDs are not accepted.
For an apex host such as example.com, the routing record is an A record
whose name is @. Subdomains use a CNAME. The TXT record proves ownership.
Use the returned values rather than assuming a target.Biqli also sends the domain owner a professional setup email containing these
records for a brand-new claim. It does not send that email again when an
already-owned domain is attached to another workspace.
If the same API-key owner already owns the host, Biqli safely attaches it to
the current workspace and returns 200 OK. created is false; attached is
true only when this call created a new workspace attachment. Its existing DNS
verification and SSL state are preserved.
Authentication is workspace-scoped; see Authentication. Errors use the standard envelope and request IDs described in Errors, and requests are subject to Rate limits.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Biqli","colors":{"primary":"#3B82F6","light":"#60A5FA","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/biqlillc-cc349ea4/vhOVG3nb6zjxQ8qQ/logo/light.png?fit=max\u0026auto=format\u0026n=vhOVG3nb6zjxQ8qQ\u0026q=85\u0026s=e047892083738e2bb348400f1a82f718","dark":"https://mintcdn.com/biqlillc-cc349ea4/vhOVG3nb6zjxQ8qQ/logo/dark.png?fit=max\u0026auto=format\u0026n=vhOVG3nb6zjxQ8qQ\u0026q=85\u0026s=76e3c2c1aa4073c126d611b40c7626cf","href":"/"},"favicon":"https://mintcdn.com/biqlillc-cc349ea4/vhOVG3nb6zjxQ8qQ/favicon.png?fit=max\u0026auto=format\u0026n=vhOVG3nb6zjxQ8qQ\u0026q=85\u0026s=9a00282d19492f9a39544861751e37f5","api":{},"navbar":{"links":[{"href":"https://biq.li/contact","label":"Contact Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://biq.li/dashboard"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"biqlillc-cc349ea4","hasAudioNarration":false,"actualSubdomain":"biqlillc-cc349ea4","customDomains":["learn.biq.li"],"gitSource":{"type":"github","owner":"morphcode007","repo":"biqli-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad52d09126aad4f2ebbfbed","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Help Center","count":172},{"language":"default","tag":"MANAGING YOUR LINKS","count":91},{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"BIQLI LINKS API","count":50},{"language":"default","tag":"MANAGING YOUR WORKSPACE","count":46},{"language":"default","tag":"Biolinks","count":32},{"language":"default","tag":"Developer Docs","count":31},{"language":"default","tag":"Links","count":26},{"language":"default","tag":"BIQLI PARTNER PROGRAM","count":16},{"language":"default","tag":"GETTING STARTED","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":[{"filePath":"style.css","content":"#search-bar-entry{max-width:384px!important;border-radius:9999px!important;background-color:rgba(3, 7, 18, 0.03)!important;border:none!important;box-shadow:none!important;height:36px!important;color:#6b7280!important}#search-bar-entry:hover{background-color:rgba(3, 7, 18, 0.08)!important}.dark #search-bar-entry{background-color:rgba(255, 255, 255, 0.03)!important;color:rgba(255, 255, 255, 0.5)!important}.dark #search-bar-entry:hover{background-color:rgba(255, 255, 255, 0.08)!important}.navbar-link a{background-color:rgba(3, 7, 18, 0.03)!important;padding:8px 14px!important;border-radius:12px!important;font-weight:500!important;color:#1f2937!important;transition:background-color 0.2s ease, color 0.2s ease}.navbar-link a:hover{background-color:rgba(3, 7, 18, 0.08)!important;color:#111827!important;text-decoration:none!important}.dark .navbar-link a{background-color:rgba(255, 255, 255, 0.03)!important;color:#f3f4f6!important}.dark .navbar-link a:hover{background-color:rgba(255, 255, 255, 0.08)!important;color:#ffffff!important}#topbar-cta-button span{border-radius:12px!important;background-color:#155dfc!important}#topbar-cta-button:hover span{opacity:0.9!important}[data-testid=\"copy-code-button\"]{opacity:1!important;visibility:visible!important}.biqli-payout-country-filters{align-items:center}.biqli-payout-country-filter{appearance:none!important;display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;min-height:34px;padding:6px 16px;border:1px solid #e5e7eb!important;border-radius:9999px!important;background:#ffffff!important;color:#404040!important;font-size:14px;font-weight:400;line-height:20px;white-space:nowrap;cursor:pointer;transition:background-color 0.15s ease, border-color 0.15s ease,\n color 0.15s ease, box-shadow 0.15s ease}.biqli-payout-country-filter:hover{border-color:#d4d4d4!important;background:#fafafa!important;color:#171717!important}.biqli-payout-country-filter[data-active=\"true\"]{border-color:#171717!important;background:#171717!important;color:#ffffff!important;font-weight:500}.biqli-payout-country-filter[data-active=\"true\"]:hover{border-color:#262626!important;background:#262626!important;color:#ffffff!important}.biqli-payout-country-filter:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.dark .biqli-payout-country-filter{border-color:#404040!important;background:#171717!important;color:#d4d4d4!important}.dark .biqli-payout-country-filter:hover{border-color:#525252!important;background:#262626!important;color:#ffffff!important}.dark .biqli-payout-country-filter[data-active=\"true\"]{border-color:#f5f5f5!important;background:#f5f5f5!important;color:#171717!important}.dark .biqli-payout-country-filter[data-active=\"true\"]:hover{border-color:#ffffff!important;background:#ffffff!important;color:#171717!important}"}],"page":{"pagePath":"docs/api-reference/domains/create","slug":"/docs/api-reference/domains/create","pageMetadata":{"title":"Create a domain","description":"Connect a custom domain to the workspace bound to your API key and receive its DNS records.","openapi":"POST /v1/domain","href":"/docs/api-reference/domains/create"},"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: \"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\"\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={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Connect a domain you already own to the workspace bound to your API key. This\nendpoint does not buy or register a domain.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-and-permission`,children:`Authentication and permission`}),`\n`,_jsxs(_components.p,{children:[`Use a workspace API key with `,_jsx(_components.strong,{children:`Custom domains: Write`}),`\n(`,_jsx(_components.code,{children:`custom_domains.create`}),`). Do not send a workspace ID; the key determines it.\nThe workspace plan must also include custom domains.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://biq.li/api/v1/domain`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer biqli_your_workspace_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Accept: 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:` --header`}),_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:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"host\":\"go.example.com\"}'`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`host`})}),_jsx(_components.td,{children:`string, required`}),_jsx(_components.td,{children:`Apex domain or subdomain, without a path. A full HTTP(S) URL is normalized to its host. Maximum 100 characters.`})]})})]}),`\n`,_jsx(_components.p,{children:`Biqli rejects its own application domain, malformed hosts, unsafe or\nblacklisted hosts, and domains claimed by another account. Unknown fields and\ninternal numeric IDs are not accepted.`}),`\n`,_jsx(Heading,{level:`2`,id:`successful-response`,children:`Successful response`}),`\n`,_jsxs(_components.p,{children:[`A new claim returns `,_jsx(_components.code,{children:`201 Created`}),`. Add every record exactly as returned:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`37`,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:`37`,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:` \"domain\"`}),_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:`\"biq_dom_01M18D4A8QRJY5G6K3N2W7X9TZ\"`}),_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:` \"host\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"go.example.com\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://go.example.com\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending_dns\"`}),_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:` \"dns_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"ssl_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"dns_verified\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"is_subdomain\"`}),_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:` \"links_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"claim_expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-30T14:30:00+00:00\"`}),_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:` \"dns_last_checked_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"dns_verified_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"ssl_last_checked_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"use_default_redirect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"default_redirect_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"use_not_found_redirect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"not_found_redirect_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"use_expired_redirect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"expired_redirect_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-30T02:30:00+00:00\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-30T02:30:00+00:00\"`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dns_config\"`}),_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:` \"host\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"go.example.com\"`}),_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:` \"is_subdomain\"`}),_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:` \"records\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CNAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"go\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"biq.li\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"ttl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auto\"`}),_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\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"_verify.example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"domain-verify=...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"ttl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auto\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_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:` \"attached\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For an apex host such as `,_jsx(_components.code,{children:`example.com`}),`, the routing record is an `,_jsx(_components.code,{children:`A`}),` record\nwhose name is `,_jsx(_components.code,{children:`@`}),`. Subdomains use a `,_jsx(_components.code,{children:`CNAME`}),`. The TXT record proves ownership.\nUse the returned values rather than assuming a target.`]}),`\n`,_jsx(_components.p,{children:`Biqli also sends the domain owner a professional setup email containing these\nrecords for a brand-new claim. It does not send that email again when an\nalready-owned domain is attached to another workspace.`}),`\n`,_jsx(Heading,{level:`2`,id:`idempotent-attachment`,children:`Idempotent attachment`}),`\n`,_jsxs(_components.p,{children:[`If the same API-key owner already owns the host, Biqli safely attaches it to\nthe current workspace and returns `,_jsx(_components.code,{children:`200 OK`}),`. `,_jsx(_components.code,{children:`created`}),` is `,_jsx(_components.code,{children:`false`}),`; `,_jsx(_components.code,{children:`attached`}),` is\n`,_jsx(_components.code,{children:`true`}),` only when this call created a new workspace attachment. Its existing DNS\nverification and SSL state are preserved.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Publish both records from `,_jsx(_components.code,{children:`dns_config`}),` at your DNS provider.`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.a,{href:`/docs/api-reference/domains/dns-config`,children:`Retrieve DNS configuration`}),` whenever\nyou need the exact values again.`]}),`\n`,_jsxs(_components.li,{children:[`Call `,_jsx(_components.a,{href:`/docs/api-reference/domains/verify`,children:`Verify a domain`}),` after DNS propagation.`]}),`\n`,_jsxs(_components.li,{children:[`Wait until the returned domain has `,_jsx(_components.code,{children:`status: active`}),` before using it for\nproduction links.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP status`}),_jsx(_components.th,{children:`Error code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_token`})}),_jsx(_components.td,{children:`The workspace API key is missing, invalid, malformed, or revoked.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsx(_components.td,{children:`The key or its user cannot create domains in this workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`upgrade_required`})}),_jsx(_components.td,{children:`The workspace plan does not include custom domains.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`domain_taken`})}),_jsx(_components.td,{children:`Another Biqli account has already claimed this host.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{children:`The host or payload is invalid, unsafe, or unsupported.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limit_exceeded`})}),_jsx(_components.td,{children:`The workspace exceeded its API request limit.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Every error includes a `,_jsx(_components.code,{children:`request_id`}),`, also returned in `,_jsx(_components.code,{children:`X-Biq-Request-Id`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`shared-api-behavior`,children:`Shared API behavior`}),`\n`,_jsxs(_components.p,{children:[`Authentication is workspace-scoped; see `,_jsx(_components.a,{href:`/docs/api-reference/authentication`,children:`Authentication`}),`. Errors use the standard envelope and request IDs described in `,_jsx(_components.a,{href:`/docs/api-reference/errors`,children:`Errors`}),`, and requests are subject to `,_jsx(_components.a,{href:`/docs/api-reference/rate-limits`,children:`Rate limits`}),`.`]})]})}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 a domain","description":"Connect a custom domain to the workspace bound to your API key and receive its DNS records.","openapi":"POST /v1/domain","href":"/docs/api-reference/domains/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication and permission","slug":"authentication-and-permission","depth":2,"children":[]},{"title":"Successful response","slug":"successful-response","depth":2,"children":[]},{"title":"Idempotent attachment","slug":"idempotent-attachment","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Shared API behavior","slug":"shared-api-behavior","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"domain.store","summary":"Create a domain","description":"Connect a custom domain to the workspace bound to your API key and receive its DNS records.","tags":["Domains"],"requestBody":"55e28fca-a334-4102-a0a3-8ae84e2ba80e","responses":{"200":"7d3c0558-fc87-41e8-a358-c8fd15eaf5c3","201":"86292e71-8063-456e-88f8-5f5f48419b6a","401":"3b96836d-8dc0-4791-8b09-69b59db9758d","403":"bbcc5e75-bf60-48a7-bf18-b76035c4e5b9","409":"39e37d92-49f5-47bc-bc9b-dd9e01977c22","422":"14396fa9-0403-4208-af50-0cc3f7c7d813","429":"2d5b3a1e-117d-4282-8db4-6dd95a4861d0","500":"cac1d1be-2ab8-4ee9-a2a1-9a2ad695a680"},"method":"post","type":"path","servers":["2efa6d45-e74a-42aa-b55e-7e2ed6501676"],"security":["b0a2461c-5f0a-4771-907e-392809d004de","f2961585-0644-49fc-947d-36ebb0b61eeb"],"path":"/v1/domain","baseUrlOptions":["https://biq.li/api"],"title":"Create a domain","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["host"],"properties":{"host":{"type":"string","maxLength":100,"examples":["go.example.com"],"isRequired":true,"uniqueKey":"host","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"host":"go.example.com"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7d3c0558-fc87-41e8-a358-c8fd15eaf5c3":{"description":"An already-owned domain was returned or attached.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["domain","dns_config","created","attached","status"],"properties":{"domain":{"type":"object","additionalProperties":false,"required":["id","host","url","status","dns_status","ssl_status","dns_verified","active","is_subdomain","links_count","claim_expires_at","dns_last_checked_at","dns_verified_at","ssl_last_checked_at","use_default_redirect","default_redirect_url","use_not_found_redirect","not_found_redirect_url","use_expired_redirect","expired_redirect_url","created_at","updated_at"],"properties":{"id":{"type":"string","pattern":"^biq_dom_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"domain.id","typeLabel":"string"},"host":{"type":"string","examples":["go.example.com"],"isRequired":true,"uniqueKey":"domain.host","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.url","typeLabel":"string\u003curi>"},"status":{"type":"string","enum":["pending_dns","verifying_dns","dns_failed","provisioning_ssl","ssl_failed","active"],"isRequired":true,"uniqueKey":"domain.status","typeLabel":"enum\u003cstring>"},"dns_status":{"type":"string","enum":["pending","verifying","verified","failed"],"isRequired":true,"uniqueKey":"domain.dns_status","typeLabel":"enum\u003cstring>"},"ssl_status":{"type":"string","enum":["pending","processing","active","failed"],"isRequired":true,"uniqueKey":"domain.ssl_status","typeLabel":"enum\u003cstring>"},"dns_verified":{"type":"boolean","isRequired":true,"uniqueKey":"domain.dns_verified","typeLabel":"boolean"},"active":{"type":"boolean","isRequired":true,"uniqueKey":"domain.active","typeLabel":"boolean"},"is_subdomain":{"type":"boolean","isRequired":true,"uniqueKey":"domain.is_subdomain","typeLabel":"boolean"},"links_count":{"type":"integer","minimum":0,"description":"Links using this domain in the API key's workspace only.","isRequired":true,"uniqueKey":"domain.links_count","typeLabel":"integer"},"claim_expires_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.claim_expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.claim_expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.claim_expires_at","typeLabel":"string\u003cdate-time> | null"},"dns_last_checked_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_last_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_last_checked_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.dns_last_checked_at","typeLabel":"string\u003cdate-time> | null"},"dns_verified_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_verified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_verified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.dns_verified_at","typeLabel":"string\u003cdate-time> | null"},"ssl_last_checked_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.ssl_last_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.ssl_last_checked_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.ssl_last_checked_at","typeLabel":"string\u003cdate-time> | null"},"use_default_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_default_redirect","typeLabel":"boolean"},"default_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.default_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.default_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.default_redirect_url","typeLabel":"string\u003curi> | null"},"use_not_found_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_not_found_redirect","typeLabel":"boolean"},"not_found_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.not_found_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.not_found_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.not_found_redirect_url","typeLabel":"string\u003curi> | null"},"use_expired_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_expired_redirect","typeLabel":"boolean"},"expired_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.expired_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.expired_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.expired_redirect_url","typeLabel":"string\u003curi> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.updated_at","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"domain","typeLabel":"object"},"dns_config":{"type":"object","additionalProperties":false,"required":["host","is_subdomain","records"],"properties":{"host":{"type":"string","isRequired":true,"uniqueKey":"dns_config.host","typeLabel":"string"},"is_subdomain":{"type":"boolean","isRequired":true,"uniqueKey":"dns_config.is_subdomain","typeLabel":"boolean"},"records":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["type","name","value","ttl"],"properties":{"type":{"type":"string","enum":["A","CNAME","TXT"],"isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].value","typeLabel":"string"},"ttl":{"type":"string","const":"auto","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].ttl","typeLabel":"string"}},"uniqueKey":"dns_config.records.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dns_config.records","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"dns_config","typeLabel":"object"},"created":{"type":"boolean","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"attached":{"type":"boolean","isRequired":true,"uniqueKey":"attached","typeLabel":"boolean"},"status":{"type":"string","const":"success","isRequired":true,"uniqueKey":"status","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"domain":{"id":"\u003cstring>","host":"go.example.com","url":"\u003cstring>","status":"pending_dns","dns_status":"pending","ssl_status":"pending","dns_verified":true,"active":true,"is_subdomain":true,"links_count":1,"claim_expires_at":"2023-11-07T05:31:56Z","dns_last_checked_at":"2023-11-07T05:31:56Z","dns_verified_at":"2023-11-07T05:31:56Z","ssl_last_checked_at":"2023-11-07T05:31:56Z","use_default_redirect":true,"default_redirect_url":"\u003cstring>","use_not_found_redirect":true,"not_found_redirect_url":"\u003cstring>","use_expired_redirect":true,"expired_redirect_url":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"dns_config":{"host":"\u003cstring>","is_subdomain":true,"records":[{"type":"A","name":"\u003cstring>","value":"\u003cstring>","ttl":"auto"}]},"created":true,"attached":true,"status":"success"}}},"exampleType":"generated"}},"exampleType":"generated"},"86292e71-8063-456e-88f8-5f5f48419b6a":{"description":"A new domain claim was created.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["domain","dns_config","created","attached","status"],"properties":{"domain":{"type":"object","additionalProperties":false,"required":["id","host","url","status","dns_status","ssl_status","dns_verified","active","is_subdomain","links_count","claim_expires_at","dns_last_checked_at","dns_verified_at","ssl_last_checked_at","use_default_redirect","default_redirect_url","use_not_found_redirect","not_found_redirect_url","use_expired_redirect","expired_redirect_url","created_at","updated_at"],"properties":{"id":{"type":"string","pattern":"^biq_dom_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"domain.id","typeLabel":"string"},"host":{"type":"string","examples":["go.example.com"],"isRequired":true,"uniqueKey":"domain.host","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.url","typeLabel":"string\u003curi>"},"status":{"type":"string","enum":["pending_dns","verifying_dns","dns_failed","provisioning_ssl","ssl_failed","active"],"isRequired":true,"uniqueKey":"domain.status","typeLabel":"enum\u003cstring>"},"dns_status":{"type":"string","enum":["pending","verifying","verified","failed"],"isRequired":true,"uniqueKey":"domain.dns_status","typeLabel":"enum\u003cstring>"},"ssl_status":{"type":"string","enum":["pending","processing","active","failed"],"isRequired":true,"uniqueKey":"domain.ssl_status","typeLabel":"enum\u003cstring>"},"dns_verified":{"type":"boolean","isRequired":true,"uniqueKey":"domain.dns_verified","typeLabel":"boolean"},"active":{"type":"boolean","isRequired":true,"uniqueKey":"domain.active","typeLabel":"boolean"},"is_subdomain":{"type":"boolean","isRequired":true,"uniqueKey":"domain.is_subdomain","typeLabel":"boolean"},"links_count":{"type":"integer","minimum":0,"description":"Links using this domain in the API key's workspace only.","isRequired":true,"uniqueKey":"domain.links_count","typeLabel":"integer"},"claim_expires_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.claim_expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.claim_expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.claim_expires_at","typeLabel":"string\u003cdate-time> | null"},"dns_last_checked_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_last_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_last_checked_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.dns_last_checked_at","typeLabel":"string\u003cdate-time> | null"},"dns_verified_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_verified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.dns_verified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.dns_verified_at","typeLabel":"string\u003cdate-time> | null"},"ssl_last_checked_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.ssl_last_checked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.ssl_last_checked_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.ssl_last_checked_at","typeLabel":"string\u003cdate-time> | null"},"use_default_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_default_redirect","typeLabel":"boolean"},"default_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.default_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.default_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.default_redirect_url","typeLabel":"string\u003curi> | null"},"use_not_found_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_not_found_redirect","typeLabel":"boolean"},"not_found_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.not_found_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.not_found_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.not_found_redirect_url","typeLabel":"string\u003curi> | null"},"use_expired_redirect":{"type":"boolean","isRequired":true,"uniqueKey":"domain.use_expired_redirect","typeLabel":"boolean"},"expired_redirect_url":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"domain.expired_redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"domain.expired_redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.expired_redirect_url","typeLabel":"string\u003curi> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.created_at","typeLabel":"string\u003cdate-time> | null"},"updated_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"domain.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"domain.updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"domain.updated_at","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"domain","typeLabel":"object"},"dns_config":{"type":"object","additionalProperties":false,"required":["host","is_subdomain","records"],"properties":{"host":{"type":"string","isRequired":true,"uniqueKey":"dns_config.host","typeLabel":"string"},"is_subdomain":{"type":"boolean","isRequired":true,"uniqueKey":"dns_config.is_subdomain","typeLabel":"boolean"},"records":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["type","name","value","ttl"],"properties":{"type":{"type":"string","enum":["A","CNAME","TXT"],"isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].value","typeLabel":"string"},"ttl":{"type":"string","const":"auto","isRequired":true,"uniqueKey":"dns_config.records.items.[INDEX].ttl","typeLabel":"string"}},"uniqueKey":"dns_config.records.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"dns_config.records","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"dns_config","typeLabel":"object"},"created":{"type":"boolean","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"attached":{"type":"boolean","isRequired":true,"uniqueKey":"attached","typeLabel":"boolean"},"status":{"type":"string","const":"success","isRequired":true,"uniqueKey":"status","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"domain":{"id":"\u003cstring>","host":"go.example.com","url":"\u003cstring>","status":"pending_dns","dns_status":"pending","ssl_status":"pending","dns_verified":true,"active":true,"is_subdomain":true,"links_count":1,"claim_expires_at":"2023-11-07T05:31:56Z","dns_last_checked_at":"2023-11-07T05:31:56Z","dns_verified_at":"2023-11-07T05:31:56Z","ssl_last_checked_at":"2023-11-07T05:31:56Z","use_default_redirect":true,"default_redirect_url":"\u003cstring>","use_not_found_redirect":true,"not_found_redirect_url":"\u003cstring>","use_expired_redirect":true,"expired_redirect_url":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"},"dns_config":{"host":"\u003cstring>","is_subdomain":true,"records":[{"type":"A","name":"\u003cstring>","value":"\u003cstring>","ttl":"auto"}]},"created":true,"attached":true,"status":"success"}}},"exampleType":"generated"}},"exampleType":"generated"},"3b96836d-8dc0-4791-8b09-69b59db9758d":{"description":"The bearer credential is missing, invalid, expired, or revoked.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bbcc5e75-bf60-48a7-bf18-b76035c4e5b9":{"description":"The credential lacks a required permission, the workspace must upgrade, or its quota is exhausted.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"39e37d92-49f5-47bc-bc9b-dd9e01977c22":{"description":"A unique alias, external ID, custom domain, or workspace resource name is already in use.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"14396fa9-0403-4208-af50-0cc3f7c7d813":{"description":"The payload is invalid, a destination was blocked, or domain DNS verification is not ready.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2d5b3a1e-117d-4282-8db4-6dd95a4861d0":{"description":"The workspace exceeded its plan's API rate limit.","headers":{"RateLimit-Policy":{"description":"Current IETF HTTPAPI quota policy as a structured field.","schema":{"type":"string","example":"\"workspace-api\";q=1000;w=60"}},"RateLimit":{"description":"Current IETF HTTPAPI service limit as a structured field.","schema":{"type":"string","example":"\"workspace-api\";r=0;t=17"}},"Retry-After":{"description":"Seconds to wait before retrying the request.","schema":{"type":"integer","minimum":0,"example":17}},"X-RateLimit-Limit":{"description":"Legacy maximum request count for the current window.","schema":{"type":"integer","minimum":1,"example":1000}},"X-RateLimit-Remaining":{"description":"Legacy remaining request count.","schema":{"type":"integer","minimum":0,"example":0}},"X-RateLimit-Reset":{"description":"Legacy reset time as a UTC Unix timestamp.","schema":{"type":"integer","format":"int64","example":1788126519}},"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"cac1d1be-2ab8-4ee9-a2a1-9a2ad695a680":{"description":"The request failed unexpectedly.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for support and tracing.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error","request_id"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_token","insufficient_scope","upgrade_required","quota_exceeded","resource_not_found","tracking_disabled","attribution_required","currency_unavailable","idempotency_conflict","idempotency_key_required","invalid_preflight","origin_required","hostname_not_configured","origin_not_allowed","client_click_tracking_disabled","invalid_click_id","stripe_account_not_connected","stripe_environment_required","stripe_attribution_conflict","stripe_mode_mismatch","domain_taken","alias_taken","external_id_taken","folder_name_taken","tag_name_taken","pixel_name_taken","biolink_name_taken","method_not_allowed","url_blocked","dns_verification_failed","validation_error","rate_limit_exceeded","internal_server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_token","message":"\u003cstring>","details":{}},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b0a2461c-5f0a-4771-907e-392809d004de":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Workspace API key","description":"A workspace API key beginning with biqli_.","scopes":[]}},"f2961585-0644-49fc-947d-36ebb0b61eeb":{"integrationOAuth":{"type":"oauth2","description":"OAuth 2.0 authorization code flow for self-service and Biqli-managed integrations. A user selects one workspace and approves the requested permissions. Confidential clients authenticate with a secret; public clients use S256 PKCE.","flows":{"authorizationCode":{"authorizationUrl":"https://biq.li/oauth/authorize","tokenUrl":"https://biq.li/api/v1/oauth/token","refreshUrl":"https://biq.li/api/v1/oauth/token","scopes":{"workspace.read":"Read the connected user and workspace identity.","links.view":"View links in the connected workspace.","links.create":"Create links in the connected workspace.","links.update":"Update links in the connected workspace.","links.delete":"Delete links in the connected workspace.","qr_codes.view":"View QR codes in the connected workspace.","qr_codes.create":"Create QR codes in the connected workspace.","qr_codes.update":"Update QR codes in the connected workspace.","qr_codes.delete":"Delete QR codes in the connected workspace.","biolinks.view":"View Biolinks in the connected workspace.","biolinks.create":"Create Biolinks in the connected workspace.","biolinks.update":"Update Biolinks in the connected workspace.","biolinks.delete":"Delete Biolinks in the connected workspace.","link_groups.view":"View folders in the connected workspace.","link_groups.create":"Create folders in the connected workspace.","link_groups.update":"Update folders in the connected workspace.","link_groups.delete":"Delete folders in the connected workspace.","tracking_pixels.view":"View tracking pixels in the connected workspace.","tracking_pixels.create":"Create tracking pixels in the connected workspace.","tracking_pixels.update":"Update tracking pixels in the connected workspace.","tracking_pixels.delete":"Delete tracking pixels in the connected workspace.","custom_domains.view":"View custom domains in the connected workspace.","custom_domains.create":"Create custom domains in the connected workspace.","custom_domains.update":"Update custom domains in the connected workspace.","custom_domains.delete":"Delete custom domains in the connected workspace.","tags.view":"View tags in the connected workspace.","tags.create":"Create tags in the connected workspace.","tags.update":"Update tags in the connected workspace.","tags.delete":"Delete tags in the connected workspace.","webhooks.view":"View webhook endpoints and delivery history in the connected workspace.","webhooks.create":"Create webhook endpoints in the connected workspace.","webhooks.update":"Update and test webhook endpoints in the connected workspace.","webhooks.delete":"Delete webhook endpoints in the connected workspace.","conversions.create":"Record attributed lead and sale events in the connected workspace.","links.read":"Compatibility scope for viewing links in a Biqli-managed integration.","links.write":"Compatibility scope for managing links and viewing their referenced resources.","webhooks.read":"Compatibility scope for reading representative webhook payloads.","webhooks.write":"Compatibility scope for managing Biqli-owned automation subscriptions.","conversions.write":"Compatibility scope for recording attributed lead and sale events."}}},"scopes":[]}}},"servers":{"2efa6d45-e74a-42aa-b55e-7e2ed6501676":{"url":"https://biq.li/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Workspace API key","description":"A workspace API key beginning with biqli_.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A workspace API key beginning with biqli_.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.0 authorization code flow for self-service and Biqli-managed integrations. A user selects one workspace and approves the requested permissions. Confidential clients authenticate with a secret; public clients use S256 PKCE.","flows":{"authorizationCode":{"authorizationUrl":"https://biq.li/oauth/authorize","tokenUrl":"https://biq.li/api/v1/oauth/token","refreshUrl":"https://biq.li/api/v1/oauth/token","scopes":{"workspace.read":"Read the connected user and workspace identity.","links.view":"View links in the connected workspace.","links.create":"Create links in the connected workspace.","links.update":"Update links in the connected workspace.","links.delete":"Delete links in the connected workspace.","qr_codes.view":"View QR codes in the connected workspace.","qr_codes.create":"Create QR codes in the connected workspace.","qr_codes.update":"Update QR codes in the connected workspace.","qr_codes.delete":"Delete QR codes in the connected workspace.","biolinks.view":"View Biolinks in the connected workspace.","biolinks.create":"Create Biolinks in the connected workspace.","biolinks.update":"Update Biolinks in the connected workspace.","biolinks.delete":"Delete Biolinks in the connected workspace.","link_groups.view":"View folders in the connected workspace.","link_groups.create":"Create folders in the connected workspace.","link_groups.update":"Update folders in the connected workspace.","link_groups.delete":"Delete folders in the connected workspace.","tracking_pixels.view":"View tracking pixels in the connected workspace.","tracking_pixels.create":"Create tracking pixels in the connected workspace.","tracking_pixels.update":"Update tracking pixels in the connected workspace.","tracking_pixels.delete":"Delete tracking pixels in the connected workspace.","custom_domains.view":"View custom domains in the connected workspace.","custom_domains.create":"Create custom domains in the connected workspace.","custom_domains.update":"Update custom domains in the connected workspace.","custom_domains.delete":"Delete custom domains in the connected workspace.","tags.view":"View tags in the connected workspace.","tags.create":"Create tags in the connected workspace.","tags.update":"Update tags in the connected workspace.","tags.delete":"Delete tags in the connected workspace.","webhooks.view":"View webhook endpoints and delivery history in the connected workspace.","webhooks.create":"Create webhook endpoints in the connected workspace.","webhooks.update":"Update and test webhook endpoints in the connected workspace.","webhooks.delete":"Delete webhook endpoints in the connected workspace.","conversions.create":"Record attributed lead and sale events in the connected workspace.","links.read":"Compatibility scope for viewing links in a Biqli-managed integration.","links.write":"Compatibility scope for managing links and viewing their referenced resources.","webhooks.read":"Compatibility scope for reading representative webhook payloads.","webhooks.write":"Compatibility scope for managing Biqli-owned automation subscriptions.","conversions.write":"Compatibility scope for recording attributed lead and sale events."}}},"scopes":[]},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 authorization code flow for self-service and Biqli-managed integrations. A user selects one workspace and approves the requested permissions. Confidential clients authenticate with a secret; public clients use S256 PKCE.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"integrationOAuth","name":"Authorization"}],"title":"integrationOAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"biqlillc-cc349ea4","siteName":"Biqli","title":"Create a domain - Biqli","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-31T17:25:20.762Z","originalFileLocation":"docs/api-reference/domains/create.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=\"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Biqli\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a domain - Biqli\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Biqli\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://learn.biq.li/docs/api-reference/domains/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://biqlillc-cc349ea4.mintlify.site/_mintlify/api/og/v2?division=Domains\u0026amp;title=Create+a+domain\u0026amp;description=Connect+a+custom+domain+to+the+workspace+bound+to+your+API+key+and+receive+its+DNS+records.\u0026amp;theme=7fdbf1577f29ece888d7a2b3\u0026amp;signature=d00fe8a84232a138caf22843aafa8d224532519fed418f931f467572afef1f49\">\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 a domain - Biqli\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://biqlillc-cc349ea4.mintlify.site/_mintlify/api/og/v2?division=Domains\u0026amp;title=Create+a+domain\u0026amp;description=Connect+a+custom+domain+to+the+workspace+bound+to+your+API+key+and+receive+its+DNS+records.\u0026amp;theme=7fdbf1577f29ece888d7a2b3\u0026amp;signature=d00fe8a84232a138caf22843aafa8d224532519fed418f931f467572afef1f49\">\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/biqlillc-cc349ea4/T5qpvXSLmYQj7Z5y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Biqli\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B82F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://learn.biq.li/docs/api-reference/domains/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/domains/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://learn.biq.li/#organization\",\"name\":\"Biqli\",\"url\":\"https://learn.biq.li\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/biqlillc-cc349ea4/vhOVG3nb6zjxQ8qQ/logo/light.png?fit=max\u0026auto=format\u0026n=vhOVG3nb6zjxQ8qQ\u0026q=85\u0026s=e047892083738e2bb348400f1a82f718\"}},{\"@type\":\"WebSite\",\"@id\":\"https://learn.biq.li#website\",\"name\":\"Biqli\",\"url\":\"https://learn.biq.li\",\"publisher\":{\"@id\":\"https://learn.biq.li/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://learn.biq.li/docs/api-reference/domains/create#webpage\",\"url\":\"https://learn.biq.li/docs/api-reference/domains/create\",\"name\":\"Create a domain\",\"description\":\"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\",\"dateModified\":\"2026-08-31T17:25:20.762Z\",\"isPartOf\":{\"@id\":\"https://learn.biq.li#website\"},\"breadcrumb\":{\"@id\":\"https://learn.biq.li/docs/api-reference/domains/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://learn.biq.li/docs/api-reference/domains/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"BIQLI LINKS API\",\"item\":\"https://learn.biq.li/docs/api-reference/links/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a domain\",\"item\":\"https://learn.biq.li/docs/api-reference/domains/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://learn.biq.li/docs/api-reference/domains/create#apireference\",\"headline\":\"Create a domain\",\"name\":\"Create a domain\",\"description\":\"Connect a custom domain to the workspace bound to your API key and receive its DNS records.\",\"url\":\"https://learn.biq.li/docs/api-reference/domains/create\",\"mainEntityOfPage\":{\"@id\":\"https://learn.biq.li/docs/api-reference/domains/create#webpage\"},\"dateModified\":\"2026-08-31T17:25:20.762Z\",\"publisher\":{\"@id\":\"https://learn.biq.li/#organization\"},\"isPartOf\":{\"@id\":\"https://learn.biq.li#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Biqli\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Biqli","nav":{"global":null,"tabs":[{"tab":"Developer Docs","icon":"code","pages":[{"title":"Developer Docs","href":"/developers/introduction"}]},{"tab":"Help Center","icon":"life-ring","pages":[{"title":"Help Center","href":"/help"}]},{"tab":"API Reference","icon":"rectangle-terminal","groups":[{"group":"GETTING STARTED","pages":[{"title":"Introduction","href":"/docs/api-reference/introduction"},{"title":"Authentication","href":"/docs/api-reference/authentication"},{"title":"Rate limits","href":"/docs/api-reference/rate-limits"},{"title":"Errors","href":"/docs/api-reference/errors"},{"title":"Pagination","href":"/docs/api-reference/pagination"}]},{"group":"OAUTH 2.0","pages":[{"title":"OAuth 2.0 overview","href":"/docs/api-reference/oauth/overview"},{"title":"Authorize a workspace","href":"/docs/api-reference/oauth/authorize"},{"title":"Exchange or refresh a token","href":"/docs/api-reference/oauth/token"},{"title":"Retrieve the connected workspace","href":"/docs/api-reference/oauth/connection"},{"title":"Revoke a connection","href":"/docs/api-reference/oauth/revoke"},{"title":"OAuth scopes","href":"/docs/api-reference/oauth/scopes"},{"title":"OAuth errors","href":"/docs/api-reference/oauth/errors"}]},{"group":"OFFICIAL AUTOMATION APIS","pages":[{"title":"Official Zapier integration API","href":"/docs/api-reference/integrations/zapier"},{"title":"Official Make integration API","href":"/docs/api-reference/integrations/make"}]},{"group":"SDKs","pages":[{"title":"SDK overview","href":"/docs/api-reference/sdks/overview"},{"title":"Browser SDK","href":"/docs/api-reference/sdks/browser"},{"title":"TypeScript SDK","href":"/docs/api-reference/sdks/typescript"},{"title":"PHP SDK","href":"/docs/api-reference/sdks/php"},{"title":"Android SDK","href":"/docs/api-reference/sdks/android"},{"title":"iOS SDK","href":"/docs/api-reference/sdks/ios"}]},{"group":"MOBILE ATTRIBUTION","pages":[{"title":"Resolve a mobile open","openapi":"POST /v1/track/open","href":"/docs/api-reference/mobile/track-open"},{"title":"Verify attribution receipts","href":"/docs/api-reference/mobile/attribution-receipts"}]},{"group":"BIQLI LINKS API","pages":[{"group":"Links","pages":[{"title":"Create a link","openapi":"POST /v1/link","href":"/docs/api-reference/links/create"},{"title":"Retrieve a link","openapi":"GET /v1/link/{link}","href":"/docs/api-reference/links/get"},{"title":"Update a link","openapi":"PATCH /v1/link/{link}","href":"/docs/api-reference/links/update"},{"title":"Delete a link","openapi":"DELETE /v1/link/{link}","href":"/docs/api-reference/links/delete"},{"title":"List links","openapi":"GET /v1/link","href":"/docs/api-reference/links/list"},{"title":"Count links","openapi":"GET /v1/link/count","href":"/docs/api-reference/links/count"},{"title":"Bulk create links","openapi":"POST /v1/link/bulk","href":"/docs/api-reference/links/bulk-create"},{"title":"Bulk update links","openapi":"PATCH /v1/link/bulk","href":"/docs/api-reference/links/bulk-update"},{"title":"Bulk delete links","openapi":"DELETE /v1/link/bulk","href":"/docs/api-reference/links/bulk-delete"}]},{"group":"Webhook endpoints","pages":[{"title":"Manage webhook endpoints","href":"/docs/api-reference/webhooks/manage"}]},{"group":"Conversions","pages":[{"title":"Track a lead","openapi":"POST /v1/track/lead","href":"/docs/api-reference/conversions/track-lead"},{"title":"Track a sale","openapi":"POST /v1/track/sale","href":"/docs/api-reference/conversions/track-sale"},{"title":"Store a Stripe Checkout Session","sidebarTitle":"Store Stripe session","description":"Bind a Stripe Checkout Session to the current Biqli click before payment.","href":"/docs/api-reference/conversions/store-stripe-session"}]},{"group":"Domains","pages":[{"title":"Create a domain","openapi":"POST /v1/domain","href":"/docs/api-reference/domains/create"},{"title":"Retrieve a domain","description":"Retrieve the complete public state and redirect configuration for one custom domain.","openapi":"GET /v1/domain/{domain}","href":"/docs/api-reference/domains/get"},{"title":"Update a domain","openapi":"PATCH /v1/domain/{domain}","href":"/docs/api-reference/domains/update"},{"title":"Delete a domain","openapi":"DELETE /v1/domain/{domain}","href":"/docs/api-reference/domains/delete"},{"title":"List domains","openapi":"GET /v1/domain","href":"/docs/api-reference/domains/list"},{"title":"Check domain availability","openapi":"GET /v1/domain/availability","href":"/docs/api-reference/domains/availability"},{"title":"Retrieve DNS configuration","openapi":"GET /v1/domain/{domain}/dns-config","href":"/docs/api-reference/domains/dns-config"},{"title":"Verify a domain","openapi":"POST /v1/domain/{domain}/verify","href":"/docs/api-reference/domains/verify"}]},{"group":"Folders","pages":[{"title":"Create a folder","openapi":"POST /v1/folder","href":"/docs/api-reference/folders/create"},{"title":"Retrieve a folder","openapi":"GET /v1/folder/{folder}","href":"/docs/api-reference/folders/get"},{"title":"Update a folder","openapi":"PATCH /v1/folder/{folder}","href":"/docs/api-reference/folders/update"},{"title":"Delete a folder","openapi":"DELETE /v1/folder/{folder}","href":"/docs/api-reference/folders/delete"},{"title":"List folders","openapi":"GET /v1/folder","href":"/docs/api-reference/folders/list"},{"title":"Manage folder links","openapi":"PUT /v1/folder/{folder}/links/{link}","href":"/docs/api-reference/folders/links"}]},{"group":"Tags","pages":[{"title":"Create a tag","openapi":"POST /v1/tag","href":"/docs/api-reference/tags/create"},{"title":"Retrieve a tag","openapi":"GET /v1/tag/{tag}","href":"/docs/api-reference/tags/get"},{"title":"Update a tag","openapi":"PATCH /v1/tag/{tag}","href":"/docs/api-reference/tags/update"},{"title":"Delete a tag","openapi":"DELETE /v1/tag/{tag}","href":"/docs/api-reference/tags/delete"},{"title":"List tags","openapi":"GET /v1/tag","href":"/docs/api-reference/tags/list"},{"title":"Manage tagged links","openapi":"PUT /v1/tag/{tag}/links/{link}","href":"/docs/api-reference/tags/links"}]},{"group":"Tracking pixels","pages":[{"title":"Create a tracking pixel","openapi":"POST /v1/tracking-pixel","href":"/docs/api-reference/tracking-pixels/create"},{"title":"Retrieve a tracking pixel","openapi":"GET /v1/tracking-pixel/{pixel}","href":"/docs/api-reference/tracking-pixels/get"},{"title":"Update a tracking pixel","openapi":"PATCH /v1/tracking-pixel/{pixel}","href":"/docs/api-reference/tracking-pixels/update"},{"title":"Delete a tracking pixel","openapi":"DELETE /v1/tracking-pixel/{pixel}","href":"/docs/api-reference/tracking-pixels/delete"},{"title":"List tracking pixels","openapi":"GET /v1/tracking-pixel","href":"/docs/api-reference/tracking-pixels/list"},{"title":"Manage pixel links","openapi":"PUT /v1/tracking-pixel/{pixel}/links/{link}","href":"/docs/api-reference/tracking-pixels/links"}]},{"group":"QR codes","pages":[{"title":"Create a QR code","openapi":"POST /v1/qr","href":"/docs/api-reference/qr-codes/create"},{"title":"Style a QR code","href":"/docs/api-reference/qr-codes/styling"},{"title":"Retrieve a QR code","openapi":"GET /v1/qr/{qr}","href":"/docs/api-reference/qr-codes/get"},{"title":"Update a QR code","openapi":"PATCH /v1/qr/{qr}","href":"/docs/api-reference/qr-codes/update"},{"title":"Delete a QR code","openapi":"DELETE /v1/qr/{qr}","href":"/docs/api-reference/qr-codes/delete"},{"title":"List QR codes","openapi":"GET /v1/qr","href":"/docs/api-reference/qr-codes/list"}]},{"group":"Biolinks","pages":[{"title":"Create a biolink","openapi":"POST /v1/bio","href":"/docs/api-reference/biolinks/create"},{"title":"Retrieve a biolink","openapi":"GET /v1/bio/{bio}","href":"/docs/api-reference/biolinks/get"},{"title":"Update a biolink","openapi":"PATCH /v1/bio/{bio}","href":"/docs/api-reference/biolinks/update"},{"title":"Delete a biolink","openapi":"DELETE /v1/bio/{bio}","href":"/docs/api-reference/biolinks/delete"},{"title":"List biolinks","openapi":"GET /v1/bio","href":"/docs/api-reference/biolinks/list"}]}]}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/webhooks/introduction"}]}]},"basePath":"","title":"Create a domain - Biqli","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}