Use this endpoint to create an attribution link. The request must include brand_id and product_id; it may also include optional tracking_id and destination_url.Field notes:
tracking_id: Client-side tracking tag, up to 200 characters. Put your downstream tag, campaign, or source value here. Leading/trailing whitespace is trimmed and ASCII control characters are rejected. Create and list responses return the normalized value, and future reports will use it for downstream attribution.
destination_url: Amazon landing page URL. If omitted, OpenLight uses the product detail page. It controls where the click lands and is not a tracking tag.
A successful request returns 201 with { "link": LinkDTO }.The response marketplace field returns the Amazon marketplace domain for the link, such as amazon.com, amazon.co.uk, or amazon.de. It identifies the link’s Amazon site; it is not a partnership status or tracking tag.Possible errors include:
400 invalid_request: The request body is incomplete or invalid.
403 forbidden_resource: The current token owner cannot access the brand or product.
403 ads_not_connected: The brand ads connection is not ready for link creation.
404 product_not_found: The product does not exist or is not accessible.
客户侧追踪标识;可选,前后空白会被裁剪,不能包含 ASCII 控制字符。创建和列表响应会返回规范化后的值,后续报表也会使用该字段做下游归因。Client-side tracking tag; optional, leading/trailing whitespace is trimmed and ASCII control characters are rejected. Create/list responses return the normalized value, intended for downstream reporting.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenLight API","colors":{"primary":"#0F766E","light":"#14B8A6","dark":"#115E59"},"api":{"openapi":"public-openapi.yaml"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/introduction"},{"language":"zh","href":"zh/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openlight","hasAudioNarration":false,"actualSubdomain":"openlight","customDomains":["docs.openlight.tech"],"gitSource":{"type":"github","owner":"chutianzhinu","repo":"openlightapi","deployBranch":"main","contentDirectory":"docs/api-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a676e142a513e6ab67f8933","collectionId":"db2ae72c-36fb-405f-a129-fd9bcfe016a3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a676e142a513e6ab67f8933"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a676e142a513e6ab67f8933:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"en","tag":"Docs","count":5},{"language":"en","tag":"Getting Started","count":5},{"language":"en","tag":"Creator API","count":5},{"language":"zh","tag":"文档","count":5},{"language":"zh","tag":"入门","count":5},{"language":"zh","tag":"创作者 API","count":5},{"language":"en","tag":"Brands","count":2},{"language":"en","tag":"Links","count":2},{"language":"en","tag":"Products","count":2},{"language":"en","tag":"Seller API","count":2},{"language":"zh","tag":"品牌","count":2},{"language":"zh","tag":"链接","count":2},{"language":"zh","tag":"产品","count":2},{"language":"zh","tag":"卖家 API","count":2},{"language":"en","tag":"Reports","count":1},{"language":"zh","tag":"报表","count":1}]},"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/creator/links/create-link","slug":"/en/creator/links/create-link","pageMetadata":{"title":"Create attribution link","description":"Create a creator attribution link","openapi":"POST /api/creator/v1/links","href":"/en/creator/links/create-link"},"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: \"Create a creator attribution link\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint to create an attribution link. The request must include `,_jsx(_components.code,{children:`brand_id`}),` and `,_jsx(_components.code,{children:`product_id`}),`; it may also include optional `,_jsx(_components.code,{children:`tracking_id`}),` and `,_jsx(_components.code,{children:`destination_url`}),`.`]}),`\n`,_jsx(_components.p,{children:`Field notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tracking_id`}),`: Client-side tracking tag, up to 200 characters. Put your downstream tag, campaign, or source value here. Leading/trailing whitespace is trimmed and ASCII control characters are rejected. Create and list responses return the normalized value, and future reports will use it for downstream attribution.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`destination_url`}),`: Amazon landing page URL. If omitted, OpenLight uses the product detail page. It controls where the click lands and is not a tracking tag.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A successful request returns `,_jsx(_components.code,{children:`201`}),` with `,_jsx(_components.code,{children:`{ \"link\": LinkDTO }`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The response `,_jsx(_components.code,{children:`marketplace`}),` field returns the Amazon marketplace domain for the link, such as `,_jsx(_components.code,{children:`amazon.com`}),`, `,_jsx(_components.code,{children:`amazon.co.uk`}),`, or `,_jsx(_components.code,{children:`amazon.de`}),`. It identifies the link’s Amazon site; it is not a partnership status or tracking tag.`]}),`\n`,_jsx(_components.p,{children:`Possible errors include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_request`}),`: The request body is incomplete or invalid.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 forbidden_resource`}),`: The current token owner cannot access the brand or product.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 ads_not_connected`}),`: The brand ads connection is not ready for link creation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`404 product_not_found`}),`: The product does not exist or is not accessible.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Related operation: to view existing attribution links, use `,_jsx(_components.a,{href:`/en/creator/links/list-links`,children:`List attribution links`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create attribution link","description":"Create a creator attribution link","openapi":"POST /api/creator/v1/links","href":"/en/creator/links/create-link"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Creator Links"],"summary":"Create an attribution link","description":"Create a creator attribution link","operationId":"createCreatorLink","requestBody":"8aeee032-e219-43ef-9970-8e72dd2a9065","responses":{"201":"881d35dd-af9d-4802-9cf4-855607fea3a5","400":"94477cd6-b33f-4d58-a177-2a4b5ec5bf14","401":"f74d31cb-69be-4273-a852-b0b1769c74a7","403":"5e35b108-068f-4136-8b67-5d29ae650236","404":"c0cd525d-6c4b-4278-bc3a-307f4f135c7f"},"method":"post","type":"path","servers":["0c1c9a3a-3f72-4568-bd09-ca21b3241eb6","ac0c6bde-8b99-479f-8d57-9dc3a33798db"],"security":["5835b3ba-e4b2-4850-80a1-30668d8781a1"],"path":"/api/creator/v1/links","baseUrlOptions":["https://app.openlight.tech","http://localhost:8080"],"title":"Create an attribution link","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["brand_id","product_id"],"properties":{"brand_id":{"type":"string","description":"品牌 ID。Brand ID.","isRequired":true,"uniqueKey":"brand_id","typeLabel":"string"},"product_id":{"type":"string","description":"商品 ID。Product ID.","isRequired":true,"uniqueKey":"product_id","typeLabel":"string"},"destination_url":{"type":"string","description":"Amazon 落地页 URL;可选,默认使用商品详情页。Amazon landing page URL; optional, defaults to the product detail page.","uniqueKey":"destination_url","typeLabel":"string"},"tracking_id":{"type":"string","maxLength":200,"description":"客户侧追踪标识;可选,前后空白会被裁剪,不能包含 ASCII 控制字符。创建和列表响应会返回规范化后的值,后续报表也会使用该字段做下游归因。Client-side tracking tag; optional, leading/trailing whitespace is trimmed and ASCII control characters are rejected. Create/list responses return the normalized value, intended for downstream reporting.","uniqueKey":"tracking_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"brand_id":"\u003cstring>","product_id":"\u003cstring>","destination_url":"\u003cstring>","tracking_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"881d35dd-af9d-4802-9cf4-855607fea3a5":{"description":"Attribution link created","content":{"application/json":{"schema":{"type":"object","required":["link"],"properties":{"link":{"type":"object","required":["id","brand_id","product_id","url","destination_url","marketplace","tracking_id","status","created_at"],"properties":{"id":{"type":"string","description":"归因链接 ID。Attribution link ID.","isRequired":true,"uniqueKey":"link.id","typeLabel":"string"},"brand_id":{"type":"string","description":"品牌 ID。Brand ID.","isRequired":true,"uniqueKey":"link.brand_id","typeLabel":"string"},"product_id":{"type":"string","description":"商品 ID。Product ID.","isRequired":true,"uniqueKey":"link.product_id","typeLabel":"string"},"url":{"type":"string","description":"可分发的归因链接 URL。Shareable attribution link URL.","isRequired":true,"uniqueKey":"link.url","typeLabel":"string"},"destination_url":{"type":"string","description":"Amazon 落地页 URL,通常为商品详情页或创建链接时传入的目标页。Amazon landing page URL, usually the product detail page or the requested destination.","isRequired":true,"uniqueKey":"link.destination_url","typeLabel":"string"},"marketplace":{"type":"string","description":"归因链接对应的 Amazon 站点域名,例如 amazon.com、amazon.co.uk、amazon.de;不是合作状态或追踪 tag。Amazon marketplace domain for this attribution link, such as amazon.com, amazon.co.uk, or amazon.de; not a partnership status or tracking tag.","isRequired":true,"uniqueKey":"link.marketplace","typeLabel":"string"},"tracking_id":{"type":"string","description":"创建链接时传入并规范化后的客户侧追踪标识;未传入时为空字符串。Normalized client-side tracking tag supplied at creation time; empty string when omitted.","isRequired":true,"uniqueKey":"link.tracking_id","typeLabel":"string"},"status":{"type":"string","description":"链接状态;当前固定为 active。Link status; currently always active.","enum":["active"],"isRequired":true,"uniqueKey":"link.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"链接创建时间。Link creation time.","isRequired":true,"uniqueKey":"link.created_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"link","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"link":{"id":"\u003cstring>","brand_id":"\u003cstring>","product_id":"\u003cstring>","url":"\u003cstring>","destination_url":"\u003cstring>","marketplace":"\u003cstring>","tracking_id":"\u003cstring>","status":"active","created_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"94477cd6-b33f-4d58-a177-2a4b5ec5bf14":{"description":"Invalid request or pagination parameters","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"错误详情。Error detail.","required":["code","message"],"properties":{"code":{"type":"string","description":"机器可读错误码。Machine-readable error code.","examples":["invalid_api_token","forbidden_resource"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"面向开发者的错误说明。Developer-facing error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_request":{"title":"invalid_request","value":{"error":{"code":"invalid_request","message":"invalid_request"}}},"invalid_pagination":{"title":"invalid_pagination","value":{"error":{"code":"invalid_pagination","message":"invalid_pagination"}}}},"exampleType":"examples"}},"exampleType":"examples"},"f74d31cb-69be-4273-a852-b0b1769c74a7":{"description":"Missing or invalid API token","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"错误详情。Error detail.","required":["code","message"],"properties":{"code":{"type":"string","description":"机器可读错误码。Machine-readable error code.","examples":["invalid_api_token","forbidden_resource"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"面向开发者的错误说明。Developer-facing error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_api_token","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5e35b108-068f-4136-8b67-5d29ae650236":{"description":"Token cannot access the requested role or resource","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"错误详情。Error detail.","required":["code","message"],"properties":{"code":{"type":"string","description":"机器可读错误码。Machine-readable error code.","examples":["invalid_api_token","forbidden_resource"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"面向开发者的错误说明。Developer-facing error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"forbidden_resource":{"title":"forbidden_resource","value":{"error":{"code":"forbidden_resource","message":"forbidden_resource"}}},"ads_not_connected":{"title":"ads_not_connected","value":{"error":{"code":"ads_not_connected","message":"ads_not_connected"}}}},"exampleType":"examples"}},"exampleType":"examples"},"c0cd525d-6c4b-4278-bc3a-307f4f135c7f":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"错误详情。Error detail.","required":["code","message"],"properties":{"code":{"type":"string","description":"机器可读错误码。Machine-readable error code.","examples":["invalid_api_token","forbidden_resource"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"面向开发者的错误说明。Developer-facing error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"product_not_found":{"title":"product_not_found","value":{"error":{"code":"product_not_found","message":"product_not_found"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5835b3ba-e4b2-4850-80a1-30668d8781a1":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"0c1c9a3a-3f72-4568-bd09-ca21b3241eb6":{"url":"https://app.openlight.tech","description":"Production"},"ac0c6bde-8b99-479f-8d57-9dc3a33798db":{"url":"http://localhost:8080","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"public-openapi.yaml"},"subdomain":"openlight","siteName":"OpenLight API","title":"Create attribution link - OpenLight API","navMaps":{"firstHrefInVersion":{"1.0.0":{"href":"/en/creator/links/create-link","matchLevel":0}},"firstHrefInLanguage":{"en":{"href":"/en/creator/links/create-link","matchLevel":0},"zh":{"href":"/zh/creator/links/create-link","matchLevel":1}}},"lastModified":"2026-06-22T06:53:28.879Z","originalFileLocation":"en/creator/links/create-link.mdx","locale":"en"},"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=\"Create a creator attribution link\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenLight API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/openlight/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/openlight/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/openlight/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/openlight/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create attribution link - OpenLight API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a creator attribution link\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenLight API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openlight.tech/en/creator/links/create-link\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openlight.mintlify.app/_mintlify/api/og/v2?division=Links\u0026amp;title=Create+attribution+link\u0026amp;description=Create+a+creator+attribution+link\u0026amp;theme=8157bd32ddef625e2bd30aba\u0026amp;signature=80466ce851659857fd2c542b92f5d03496c8afad28701dd1f1f139ba61dd38c8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create attribution link - OpenLight API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a creator attribution link\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openlight.mintlify.app/_mintlify/api/og/v2?division=Links\u0026amp;title=Create+attribution+link\u0026amp;description=Create+a+creator+attribution+link\u0026amp;theme=8157bd32ddef625e2bd30aba\u0026amp;signature=80466ce851659857fd2c542b92f5d03496c8afad28701dd1f1f139ba61dd38c8\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/openlight/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenLight API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openlight.tech/en/creator/links/create-link\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/creator/links/create-link.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.openlight.tech/en/creator/links/create-link\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.openlight.tech/zh/creator/links/create-link\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.openlight.tech/en/creator/links/create-link\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openlight.tech/#organization\",\"name\":\"OpenLight API\",\"url\":\"https://docs.openlight.tech\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openlight.tech#website\",\"name\":\"OpenLight API\",\"url\":\"https://docs.openlight.tech\",\"publisher\":{\"@id\":\"https://docs.openlight.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openlight.tech/en/creator/links/create-link#webpage\",\"url\":\"https://docs.openlight.tech/en/creator/links/create-link\",\"name\":\"Create attribution link\",\"description\":\"Create a creator attribution link\",\"dateModified\":\"2026-06-22T06:53:28.879Z\",\"isPartOf\":{\"@id\":\"https://docs.openlight.tech#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openlight.tech/en/creator/links/create-link#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openlight.tech/en/creator/links/create-link#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Links\",\"item\":\"https://docs.openlight.tech/en/creator/links/list-links\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create attribution link\",\"item\":\"https://docs.openlight.tech/en/creator/links/create-link\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openlight.tech/en/creator/links/create-link#apireference\",\"headline\":\"Create attribution link\",\"name\":\"Create attribution link\",\"description\":\"Create a creator attribution link\",\"url\":\"https://docs.openlight.tech/en/creator/links/create-link\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openlight.tech/en/creator/links/create-link#webpage\"},\"dateModified\":\"2026-06-22T06:53:28.879Z\",\"publisher\":{\"@id\":\"https://docs.openlight.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openlight.tech#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenLight API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenLight API","nav":{"global":null,"languages":[{"language":"en","default":true,"versions":[{"version":"1.0.0","tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/en/introduction"}]},{"tab":"Creator API","groups":[{"group":"Brands","pages":[{"title":"List brands","openapi":"GET /api/creator/v1/brands","href":"/en/creator/brands/list-brands"}]},{"group":"Products","pages":[{"title":"List products","openapi":"GET /api/creator/v1/products","href":"/en/creator/products/list-products"}]},{"group":"Links","pages":[{"title":"List attribution links","description":"List creator attribution links","openapi":"GET /api/creator/v1/links","href":"/en/creator/links/list-links"},{"title":"Create attribution link","openapi":"POST /api/creator/v1/links","href":"/en/creator/links/create-link"}]},{"group":"Reports","pages":[{"title":"List Reports","description":"Query report data visible to the current creator token","openapi":"GET /api/creator/v1/reports","href":"/en/creator/reports/list-reports"}]}]},{"tab":"Seller API","pages":[{"title":"Seller API","href":"/en/seller/brands/list-brands"}]}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/creator/links/create-link"}]}]},"basePath":"","title":"Create attribution link - OpenLight API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}