Send a secret biqli_... workspace API key with Conversions: Write
(conversions.create). Do not use a browser publishable key or call this
endpoint from frontend code.
Send a stable Idempotency-Key on every retry. Also send a stable eventId
when your system has one. Repeating the same identifier and payload returns the
original 201 response with Idempotency-Replayed: true and creates no new
event, realtime update, or webhook delivery.Reusing an idempotency or event identifier with different data returns
409 idempotency_conflict. Idempotency records are retained for seven days;
the event identifier remains durably unique within its workspace and source.
{"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/conversions/track-lead","slug":"/docs/api-reference/conversions/track-lead","pageMetadata":{"title":"Track a lead","description":"Record an idempotent server-side lead and attribute it to a Biqli click.","openapi":"POST /v1/track/lead","href":"/docs/api-reference/conversions/track-lead"},"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: \"Record an idempotent server-side lead and attribute it to a Biqli click.\"\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`,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:`Use this endpoint from a trusted server when a customer signs up, submits a\nqualified form, starts a trial, or completes another lead event.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-and-permission`,children:`Authentication and permission`}),`\n`,_jsxs(_components.p,{children:[`Send a secret `,_jsx(_components.code,{children:`biqli_...`}),` workspace API key with `,_jsx(_components.strong,{children:`Conversions: Write`}),`\n(`,_jsx(_components.code,{children:`conversions.create`}),`). Do not use a browser publishable key or call this\nendpoint from frontend code.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer biqli_your_workspace_api_key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The key selects the workspace. Do not send a workspace ID. Server tracking does\nnot use browser origins or the allowed-hostname list.`}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,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:`21`,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/track/lead`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$BIQLI_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: lead_signup_customer_1842'`}),_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:` 'X-Biq-Client: acme-backend'`}),_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:` 'X-Biq-Client-Version: 1.4.0'`}),_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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"clickId\": \"fGQimsCLcpoa\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventId\": \"lead_signup_customer_1842\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventName\": \"Signed up\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerExternalId\": \"customer_1842\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerName\": \"Ada Lovelace\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customerEmail\": \"ada@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventQuantity\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"plan\": \"pro\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"occurredAt\": \"2026-09-12T22:35:02Z\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Field`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Required`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`clickId`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Conditional`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Biqli click ID from `,_jsx(_components.code,{children:`bq_id`}),` or client click tracking. You may omit it only when this workspace customer already has eligible attribution.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`eventName`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Lead name, from 1 to 255 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`customerExternalId`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Yes`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Stable customer ID from your system, from 1 to 100 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`customerName`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Customer display name, up to 255 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`customerEmail`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Valid customer email, up to 254 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`customerAvatar`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`HTTP or HTTPS avatar URL, up to 2,048 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`eventId`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Stable event identifier. Use 1 to 100 safe identifier characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`eventQuantity`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Positive integer from 1 to 100. Defaults to `,_jsx(_components.code,{children:`1`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`JSON object, up to 16 KB, 50 keys, 100 values, and five nested levels. Keys contain 1 to 64 characters and cannot be numeric-only.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`occurredAt`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`No`}),_jsx(_components.td,{style:{textAlign:`left`},children:`ISO 8601 event time. It must be within seven days in the past and five minutes in the future.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The attributed click must be active, unexpired, and belong to the API key’s\nworkspace. A click from another workspace returns `,_jsx(_components.code,{children:`404 resource_not_found`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`Send a stable `,_jsx(_components.code,{children:`Idempotency-Key`}),` on every retry. Also send a stable `,_jsx(_components.code,{children:`eventId`}),`\nwhen your system has one. Repeating the same identifier and payload returns the\noriginal `,_jsx(_components.code,{children:`201`}),` response with `,_jsx(_components.code,{children:`Idempotency-Replayed: true`}),` and creates no new\nevent, realtime update, or webhook delivery.`]}),`\n`,_jsxs(_components.p,{children:[`Reusing an idempotency or event identifier with different data returns\n`,_jsx(_components.code,{children:`409 idempotency_conflict`}),`. Idempotency records are retained for seven days;\nthe event identifier remains durably unique within its workspace and source.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,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:`22`,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:` \"event\"`}),_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_lev_01M2BW50V1MJDD4KPZ394GXGC5\"`}),_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:` \"eventName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Signed up\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lead\"`}),_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:` \"occurredAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-12T22:35:02+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:` \"click\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"fGQimsCLcpoa\"`}),_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:` \"link\"`}),_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_lnk_01M2BVVED2HDH0JVM5HV9WQ2F6\"`}),_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:` \"shortUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://biq.li/3bKxigL\"`}),_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:` \"destinationUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/signup\"`})]}),`\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:` \"customer\"`}),_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_cus_01M2BW50TQD96C0QPCM6Z6WZNF\"`}),_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:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer_1842\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ada Lovelace\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ada@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:` \"avatar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8259fc91-99f4-4f96-bfc0-1be9c208a91e\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The response uses public IDs only. Deleted links continue to resolve through\ntheir preserved conversion snapshot.`}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Status`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Code`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`invalid_token`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The workspace API key is missing, invalid, revoked, or the wrong credential type.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The key lacks `,_jsx(_components.code,{children:`conversions.create`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`tracking_disabled`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Conversion tracking is unavailable or disabled for the workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`resource_not_found`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The click is expired, missing, or belongs to another workspace.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`405`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`method_not_allowed`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`This endpoint only accepts `,_jsx(_components.code,{children:`POST`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`idempotency_conflict`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`An idempotency or event identifier was reused with different data.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`attribution_required`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Neither a valid `,_jsx(_components.code,{children:`clickId`}),` nor existing customer attribution was available.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`validation_error`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The JSON body, fields, metadata, or event time is invalid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`rate_limit_exceeded`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The workspace exceeded its API request allowance.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Authentication, errors, rate-limit headers, and request IDs follow the shared\n`,_jsx(_components.a,{href:`/docs/api-reference/introduction`,children:`API conventions`}),`.`]})]})}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":"Track a lead","description":"Record an idempotent server-side lead and attribute it to a Biqli click.","openapi":"POST /v1/track/lead","href":"/docs/api-reference/conversions/track-lead"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication and permission","slug":"authentication-and-permission","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"tracking.lead","summary":"Track a lead","description":"Record an idempotent server-side lead and attribute it to a Biqli click.","tags":["Conversions"],"parameters":["d95c6389-23be-4491-bd51-bd7330d8dc15","36c26860-8f1f-4bd4-a428-fab8d4cf8bf9","4796c203-7db2-47fc-893a-8890d86decf0","9f807030-817a-4426-aaee-9c8763753bca"],"requestBody":"67a7c359-37a2-460f-ac15-baac95b5341d","responses":{"201":"6b47fa5c-21d3-4787-a39a-85f73b470297","401":"53fb0f3e-a56f-4eda-8388-517652622554","403":"ac980a86-744b-4d6f-80a3-5f3e0e8d6f26","404":"c869c5ad-b04c-474c-883e-a1474fe6e2ef","405":"767442ac-3de7-4e3c-89a1-4df27458735e","409":"bc2a088c-59c9-43e8-b3e8-748201a61501","422":"16063488-d20b-43b3-86c9-031010db0651","429":"47e8f148-532d-4222-b4f8-8173027b225a","500":"3444dcc2-595c-4558-8ac5-77a031cc6f84"},"method":"post","type":"path","servers":["2efa6d45-e74a-42aa-b55e-7e2ed6501676"],"security":["b0a2461c-5f0a-4771-907e-392809d004de","f2961585-0644-49fc-947d-36ebb0b61eeb"],"path":"/v1/track/lead","baseUrlOptions":["https://biq.li/api"],"title":"Track a lead","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d95c6389-23be-4491-bd51-bd7330d8dc15":{"name":"Idempotency-Key","in":"header","required":false,"description":"Stable retry key. Reuse only for the same logical request and payload.","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Stable retry key. Reuse only for the same logical request and payload.","uniqueKey":"","typeLabel":"string"}},"36c26860-8f1f-4bd4-a428-fab8d4cf8bf9":{"name":"X-Biq-Client","in":"header","required":false,"description":"Integration name recorded in API diagnostics.","schema":{"type":"string","maxLength":64,"isRequired":false,"description":"Integration name recorded in API diagnostics.","uniqueKey":"","typeLabel":"string"}},"4796c203-7db2-47fc-893a-8890d86decf0":{"name":"X-Biq-Client-Version","in":"header","required":false,"description":"Integration version recorded in API diagnostics.","schema":{"type":"string","maxLength":64,"isRequired":false,"description":"Integration version recorded in API diagnostics.","uniqueKey":"","typeLabel":"string"}},"9f807030-817a-4426-aaee-9c8763753bca":{"name":"X-Biq-Request-Id","in":"header","required":false,"description":"Caller-generated request identifier for tracing.","schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9._:-]+$","isRequired":false,"description":"Caller-generated request identifier for tracing.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["eventName","customerExternalId"],"properties":{"eventName":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"eventName","typeLabel":"string"},"customerExternalId":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"customerExternalId","typeLabel":"string"},"clickId":{"oneOf":[{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9_-]+$","uniqueKey":"clickId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9_-]+$","uniqueKey":"clickId.oneOf.1","typeLabel":"null"}],"uniqueKey":"clickId","typeLabel":"string | null"},"customerName":{"oneOf":[{"type":"string","maxLength":255,"uniqueKey":"customerName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"uniqueKey":"customerName.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerName","typeLabel":"string | null"},"customerEmail":{"oneOf":[{"type":"string","format":"email","maxLength":254,"uniqueKey":"customerEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","maxLength":254,"uniqueKey":"customerEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerEmail","typeLabel":"string\u003cemail> | null"},"customerAvatar":{"oneOf":[{"type":"string","format":"uri","pattern":"^https?://","maxLength":2048,"uniqueKey":"customerAvatar.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","pattern":"^https?://","maxLength":2048,"uniqueKey":"customerAvatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"customerAvatar","typeLabel":"string\u003curi> | null"},"eventId":{"oneOf":[{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9._:-]*[A-Za-z0-9])?$","uniqueKey":"eventId.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":100,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9._:-]*[A-Za-z0-9])?$","uniqueKey":"eventId.oneOf.1","typeLabel":"null"}],"uniqueKey":"eventId","typeLabel":"string | null"},"eventQuantity":{"oneOf":[{"type":"integer","minimum":1,"maximum":100,"default":1,"uniqueKey":"eventQuantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":100,"default":1,"uniqueKey":"eventQuantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"eventQuantity","typeLabel":"integer | null"},"metadata":{"oneOf":[{"type":"object","maxProperties":50,"propertyNames":{"pattern":"^(?=.*[^0-9])[^\\u0000-\\u001F\\u007F]{1,64}$"},"additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","maxProperties":50,"propertyNames":{"pattern":"^(?=.*[^0-9])[^\\u0000-\\u001F\\u007F]{1,64}$"},"additionalProperties":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"occurredAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"Z$","uniqueKey":"occurredAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","pattern":"Z$","uniqueKey":"occurredAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"occurredAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"eventName":"\u003cstring>","customerExternalId":"\u003cstring>","clickId":"\u003cstring>","customerName":"\u003cstring>","customerEmail":"jsmith@example.com","customerAvatar":"\u003cstring>","eventId":"\u003cstring>","eventQuantity":1,"metadata":{},"occurredAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6b47fa5c-21d3-4787-a39a-85f73b470297":{"description":"Lead created or idempotently replayed.","headers":{"X-Biq-Request-Id":{"description":"Request identifier for tracing and support.","schema":{"type":"string"}},"Idempotency-Replayed":{"description":"Present with value true when the original successful result is replayed.","schema":{"type":"string","const":"true"}}},"content":{"application/json":{"schema":{"type":"object","required":["event","click","link","customer","request_id"],"properties":{"event":{"type":"object","required":["id","eventName","type","occurredAt"],"properties":{"id":{"type":"string","pattern":"^biq_(?:lev|sev)_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"event.id","typeLabel":"string"},"eventName":{"type":"string","isRequired":true,"uniqueKey":"event.eventName","typeLabel":"string"},"type":{"type":"string","enum":["lead","sale"],"isRequired":true,"uniqueKey":"event.type","typeLabel":"enum\u003cstring>"},"occurredAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"event.occurredAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"event","typeLabel":"object"},"click":{"type":"object","required":["id"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"click.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"click","typeLabel":"object"},"link":{"oneOf":[{"type":"object","properties":{"id":{"oneOf":[{"type":"string","pattern":"^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$","uniqueKey":"link.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$","uniqueKey":"link.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"link.oneOf.0.id","typeLabel":"string | null"},"shortUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"link.oneOf.0.shortUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"link.oneOf.0.shortUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"link.oneOf.0.shortUrl","typeLabel":"string\u003curi> | null"},"destinationUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"link.oneOf.0.destinationUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"link.oneOf.0.destinationUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"link.oneOf.0.destinationUrl","typeLabel":"string\u003curi> | null"}},"isRequired":true,"uniqueKey":"link.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"oneOf":[{"type":"string","pattern":"^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$"},{"type":"null","pattern":"^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$"}]},"shortUrl":{"oneOf":[{"type":"string","format":"uri"},{"type":"null","format":"uri"}]},"destinationUrl":{"oneOf":[{"type":"string","format":"uri"},{"type":"null","format":"uri"}]}},"isRequired":true,"uniqueKey":"link.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"link","typeLabel":"object | null"},"customer":{"type":"object","required":["id","externalId","name","email","avatar"],"properties":{"id":{"oneOf":[{"type":"string","pattern":"^biq_cus_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"customer.id.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^biq_cus_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"customer.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer.id","typeLabel":"string | null"},"externalId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"customer.externalId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"customer.externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer.externalId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"customer.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"customer.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","isRequired":true,"uniqueKey":"customer.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","isRequired":true,"uniqueKey":"customer.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer.email","typeLabel":"string\u003cemail> | null"},"avatar":{"oneOf":[{"type":"string","format":"uri","isRequired":true,"uniqueKey":"customer.avatar.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","isRequired":true,"uniqueKey":"customer.avatar.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customer.avatar","typeLabel":"string\u003curi> | null"}},"isRequired":true,"uniqueKey":"customer","typeLabel":"object"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"event":{"id":"\u003cstring>","eventName":"\u003cstring>","type":"lead","occurredAt":"2023-11-07T05:31:56Z"},"click":{"id":"\u003cstring>"},"link":{"id":"\u003cstring>","shortUrl":"\u003cstring>","destinationUrl":"\u003cstring>"},"customer":{"id":"\u003cstring>","externalId":"\u003cstring>","name":"\u003cstring>","email":"jsmith@example.com","avatar":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"53fb0f3e-a56f-4eda-8388-517652622554":{"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"},"ac980a86-744b-4d6f-80a3-5f3e0e8d6f26":{"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"},"c869c5ad-b04c-474c-883e-a1474fe6e2ef":{"description":"The requested resource or referenced public ID is unavailable in the authenticated workspace.","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"},"767442ac-3de7-4e3c-89a1-4df27458735e":{"description":"The endpoint does not support the requested HTTP method.","headers":{"Allow":{"description":"HTTP methods supported by this endpoint.","schema":{"type":"string","const":"POST"}},"X-Biq-Request-Id":{"description":"Request identifier for tracing and support.","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"},"bc2a088c-59c9-43e8-b3e8-748201a61501":{"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"},"16063488-d20b-43b3-86c9-031010db0651":{"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"},"47e8f148-532d-4222-b4f8-8173027b225a":{"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"},"3444dcc2-595c-4558-8ac5-77a031cc6f84":{"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":"Track a lead - Biqli","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-14T18:39:47.489Z","originalFileLocation":"docs/api-reference/conversions/track-lead.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=\"Record an idempotent server-side lead and attribute it to a Biqli click.\">\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=\"Track a lead - Biqli\">\u003cmeta data-mint-head property=\"og:description\" content=\"Record an idempotent server-side lead and attribute it to a Biqli click.\">\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/conversions/track-lead\">\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=Conversions\u0026amp;title=Track+a+lead\u0026amp;description=Record+an+idempotent+server-side+lead+and+attribute+it+to+a+Biqli+click.\u0026amp;theme=7fdbf1577f29ece888d7a2b3\u0026amp;signature=2c89bcaa6d14d0a9cfcff5325ef14183dbacf6b6541bb86f31c622e11a1f0f7a\">\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=\"Track a lead - Biqli\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Record an idempotent server-side lead and attribute it to a Biqli click.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://biqlillc-cc349ea4.mintlify.site/_mintlify/api/og/v2?division=Conversions\u0026amp;title=Track+a+lead\u0026amp;description=Record+an+idempotent+server-side+lead+and+attribute+it+to+a+Biqli+click.\u0026amp;theme=7fdbf1577f29ece888d7a2b3\u0026amp;signature=2c89bcaa6d14d0a9cfcff5325ef14183dbacf6b6541bb86f31c622e11a1f0f7a\">\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/conversions/track-lead\">\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/conversions/track-lead.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/conversions/track-lead#webpage\",\"url\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead\",\"name\":\"Track a lead\",\"description\":\"Record an idempotent server-side lead and attribute it to a Biqli click.\",\"dateModified\":\"2026-09-14T18:39:47.489Z\",\"isPartOf\":{\"@id\":\"https://learn.biq.li#website\"},\"breadcrumb\":{\"@id\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead#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\":\"Track a lead\",\"item\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead#apireference\",\"headline\":\"Track a lead\",\"name\":\"Track a lead\",\"description\":\"Record an idempotent server-side lead and attribute it to a Biqli click.\",\"url\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead\",\"mainEntityOfPage\":{\"@id\":\"https://learn.biq.li/docs/api-reference/conversions/track-lead#webpage\"},\"dateModified\":\"2026-09-14T18:39:47.489Z\",\"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","description":"Create and manage workspace webhook endpoints with an OAuth access token.","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","description":"Record an idempotent server-side sale with direct or deferred attribution.","openapi":"POST /v1/track/sale","href":"/docs/api-reference/conversions/track-sale"},{"title":"Store a Stripe Checkout Session","sidebarTitle":"Store Stripe session","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","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":"Track a lead - 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"]}