Prefix the paths below with your service URL. Obtain an access token first, then send it in the Authorization header when calling other endpoints. Keep your credentials and token secure. Obtaining a new token invalidates the previous one.POST /wapi/cdk/create/
Required: 1 Dynamic traffic, 2 IP count, 3 Mobile traffic
flow
Required for types 1 and 3; traffic per code in GB, from 1 to 10000
ip
Required for type 2; IP count per code, from 1 to 10000
day
Validity period in days for types 1 and 3
num
Required; number of codes to create, from 1 to 10000
Example for Dynamic traffic codes:
{ "cdk_type": 1, "flow": 10, "day": 30, "num": 2}
On success, results lists the generated codes. Cdk is the redemption code, Type is its type, Flow is in bytes, Ip is the IP count, and Days is the validity period:
Ensure your account has enough of the corresponding resource. If it does not, the entire batch fails. Do not submit identical creation requests concurrently. This endpoint is rate-limited; retry later if you receive HTTP 429.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LokiProxy Help Center","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/lokiproxy/1zSveoufFxkj4Lrg/logo/light.svg?fit=max\u0026auto=format\u0026n=1zSveoufFxkj4Lrg\u0026q=85\u0026s=1e70361c713b7da198a4aa4fe785aa35","dark":"https://mintcdn.com/lokiproxy/1zSveoufFxkj4Lrg/logo/dark.svg?fit=max\u0026auto=format\u0026n=1zSveoufFxkj4Lrg\u0026q=85\u0026s=d2a497edd72c875533c1c36b10c70334","href":"https://www.lokiproxy.com"},"favicon":"https://mintcdn.com/lokiproxy/1zSveoufFxkj4Lrg/loki-favicon.svg?fit=max\u0026auto=format\u0026n=1zSveoufFxkj4Lrg\u0026q=85\u0026s=0876dc3812b8270b156ef0a3b160c0ed","navbar":{"links":[{"href":"mailto:support@lokiproxy.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.lokiproxy.com"}},"footer":{"socials":{"x":"https://x.com/LokiProxy","facebook":"https://www.facebook.com/profile.php?id=61581026548549","youtube":"https://www.youtube.com/@lokiproxy","telegram":"https://t.me/lokiproxy_official"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"zh-Hant","href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lokiproxy","hasAudioNarration":false,"actualSubdomain":"lokiproxy","customDomains":["docs.lokiproxy.com"],"gitSource":{"type":"github","owner":"lokiproxy","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4499f39bc6f1b8c4f4307","collectionId":"c76439ae-6f2a-4868-9b66-408ac5d7dc4d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4499f39bc6f1b8c4f4307"},"entitlements":{},"buildId":"6ae4499f39bc6f1b8c4f4307","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"en","tag":"FAQ","count":15},{"language":"en","tag":"Guides","count":14},{"language":"zh-Hant","tag":"使用指南","count":14},{"language":"zh-Hant","tag":"常見問題","count":8},{"language":"en","tag":"Configure Proxies","count":7},{"language":"zh-Hant","tag":"配置代理","count":7},{"language":"zh-Hant","tag":"常見問題解答","count":7},{"language":"en","tag":"API Documentation","count":5},{"language":"en","tag":"API User Guide","count":5},{"language":"zh-Hant","tag":"API文档","count":5},{"language":"zh-Hant","tag":"API 使用指南","count":5},{"language":"en","tag":"Core Features of LokiProxy","count":4},{"language":"en","tag":"Integrations","count":4},{"language":"en","tag":"Anti-detect Browser","count":4},{"language":"zh-Hant","tag":"LokiProxy的主要功能","count":4},{"language":"en","tag":"Welcome to LokiProxy","count":3},{"language":"zh-Hant","tag":"歡迎來到LokiProxy","count":3},{"language":"zh-Hant","tag":"集成指南","count":3},{"language":"zh-Hant","tag":"反檢測瀏覽器","count":3},{"language":"en","tag":"Short-term-Residential-IPs","count":2}]},"assistantConfig":{"enableStarterQuestions":false},"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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/cdk","slug":"/api/cdk","pageMetadata":{"sidebarTitle":"Create redemption codes (CDKs) in batch","title":"Create redemption codes (CDKs) in batch","description":null,"href":"/api/cdk"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Prefix the paths below with your service URL. Obtain an access token first, then send it in the `,_jsx(_components.code,{children:`Authorization`}),` header when calling other endpoints. Keep your credentials and token secure. Obtaining a new token invalidates the previous one.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /wapi/cdk/create/`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_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:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer YOUR_TOKEN`})]}),`\n`]})})}),`\n`,_jsxs(`table`,{children:[_jsxs(`colgroup`,{children:[_jsx(`col`,{width:`100`}),_jsx(`col`,{width:`563`})]}),_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.strong,{children:`Field`})}),_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.strong,{children:`Description`})})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.code,{children:`cdk_type`})}),_jsxs(`td`,{style:{textAlign:`center`},children:[`Required: `,_jsx(_components.code,{children:`1`}),` Dynamic traffic, `,_jsx(_components.code,{children:`2`}),` IP count, `,_jsx(_components.code,{children:`3`}),` Mobile traffic`]})]}),_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.code,{children:`flow`})}),_jsx(`td`,{style:{textAlign:`center`},children:`Required for types 1 and 3; traffic per code in GB, from 1 to 10000`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.code,{children:`ip`})}),_jsx(`td`,{style:{textAlign:`center`},children:`Required for type 2; IP count per code, from 1 to 10000`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.code,{children:`day`})}),_jsx(`td`,{style:{textAlign:`center`},children:`Validity period in days for types 1 and 3`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{style:{textAlign:`center`},children:_jsx(_components.code,{children:`num`})}),_jsx(`td`,{style:{textAlign:`center`},children:`Required; number of codes to create, from 1 to 10000`})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example for Dynamic traffic codes:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"cdk_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"flow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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:` \"day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_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:` \"num\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`On success, `,_jsx(_components.code,{children:`results`}),` lists the generated codes. `,_jsx(_components.code,{children:`Cdk`}),` is the redemption code, `,_jsx(_components.code,{children:`Type`}),` is its type, `,_jsx(_components.code,{children:`Flow`}),` is in bytes, `,_jsx(_components.code,{children:`Ip`}),` is the IP count, and `,_jsx(_components.code,{children:`Days`}),` is the validity period:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_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:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Cdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EXAMPLE1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Flow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Ip\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Ensure your account has enough of the corresponding resource. If it does not, the entire batch fails. Do not submit identical creation requests concurrently. This endpoint is rate-limited; retry later if you receive HTTP 429.`})})]})}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":{"sidebarTitle":"Create redemption codes (CDKs) in batch","title":"Create redemption codes (CDKs) in batch","description":null,"href":"/api/cdk"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"lokiproxy","siteName":"LokiProxy Help Center","title":"Create redemption codes (CDKs) in batch - LokiProxy Help Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/cdk","matchLevel":0},"zh-Hant":{"href":"/zh/api/cdk","matchLevel":1}}},"lastModified":"2026-10-30T07:33:34.075Z","originalFileLocation":"api/cdk.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=\"application-name\" content=\"LokiProxy Help Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_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/lokiproxy/9rY4qvVM5dnidfTk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create redemption codes (CDKs) in batch - LokiProxy Help Center\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LokiProxy Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lokiproxy.com/api/cdk\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lokiproxy.mintlify.app/_mintlify/api/og/v2?division=API+User+Guide\u0026amp;title=Create+redemption+codes+%28CDKs%29+in+batch\u0026amp;theme=36e7a663d6dab0897a66ee9c\u0026amp;signature=8f59c78bb0651b4c3263626750e5cbf0c91ed846f77c8044d8499801b1c701c5\">\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 redemption codes (CDKs) in batch - LokiProxy Help Center\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lokiproxy.mintlify.app/_mintlify/api/og/v2?division=API+User+Guide\u0026amp;title=Create+redemption+codes+%28CDKs%29+in+batch\u0026amp;theme=36e7a663d6dab0897a66ee9c\u0026amp;signature=8f59c78bb0651b4c3263626750e5cbf0c91ed846f77c8044d8499801b1c701c5\">\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/lokiproxy/9rY4qvVM5dnidfTk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LokiProxy Help Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lokiproxy.com/api/cdk\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/cdk.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.lokiproxy.com/api/cdk\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://docs.lokiproxy.com/zh/api/cdk\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.lokiproxy.com/api/cdk\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lokiproxy.com/#organization\",\"name\":\"LokiProxy Help Center\",\"url\":\"https://docs.lokiproxy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lokiproxy/1zSveoufFxkj4Lrg/logo/light.svg?fit=max\u0026auto=format\u0026n=1zSveoufFxkj4Lrg\u0026q=85\u0026s=1e70361c713b7da198a4aa4fe785aa35\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lokiproxy.com#website\",\"name\":\"LokiProxy Help Center\",\"url\":\"https://docs.lokiproxy.com\",\"publisher\":{\"@id\":\"https://docs.lokiproxy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lokiproxy.com/api/cdk#webpage\",\"url\":\"https://docs.lokiproxy.com/api/cdk\",\"name\":\"Create redemption codes (CDKs) in batch\",\"dateModified\":\"2026-10-30T07:33:34.075Z\",\"isPartOf\":{\"@id\":\"https://docs.lokiproxy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lokiproxy.com/api/cdk#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lokiproxy.com/api/cdk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API User Guide\",\"item\":\"https://docs.lokiproxy.com/api/access-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create redemption codes (CDKs) in batch\",\"item\":\"https://docs.lokiproxy.com/api/cdk\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lokiproxy.com/api/cdk#article\",\"headline\":\"Create redemption codes (CDKs) in batch\",\"name\":\"Create redemption codes (CDKs) in batch\",\"url\":\"https://docs.lokiproxy.com/api/cdk\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lokiproxy.com/api/cdk#webpage\"},\"dateModified\":\"2026-10-30T07:33:34.075Z\",\"publisher\":{\"@id\":\"https://docs.lokiproxy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lokiproxy.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LokiProxy Help Center\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LokiProxy Help Center","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/bitbrowser"}]},{"tab":"API Documentation","groups":[{"group":"API User Guide","pages":[{"sidebarTitle":"Get an access token","title":"Get an access token","href":"/api/access-token"},{"sidebarTitle":"Query Rotating GB Usage","title":"Query Rotating GB Usage","href":"/api/gb-usage"},{"sidebarTitle":"Query Available Traffic Balance","title":"Query Available Traffic Balance","description":null,"href":"/api/available-traffic"},{"sidebarTitle":"Create redemption codes (CDKs) in batch","title":"Create redemption codes (CDKs) in batch","href":"/api/cdk"},{"sidebarTitle":"Common errors","title":"Common errors","description":null,"href":"/api/common-errors"}]}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faq/faq"}]},{"tab":"Support","href":"https://www.lokiproxy.com/contactus"}],"global":{"anchors":[{"anchor":"Pricing","icon":"book-open-cover","href":"https://www.lokiproxy.com/pricing/rotating-residenial-proxy"},{"anchor":"Blog","icon":"newspaper","href":"https://www.lokiproxy.com/blog"}]}},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh/api/cdk"}]}]},"title":"Create redemption codes (CDKs) in batch - LokiProxy Help Center","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":[],"chunks":[]}