<!DOCTYPE html><html lang="en-US"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" as="image" href="/logo.png"><link rel="preload" as="image" href="/favicon.png"><script src="https://cdn.platform.openai.com/deployments/chatkit/chatkit.js" async="" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"></script><link rel="icon" type="image/png" href="/favicon.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="preconnect" href="https://cdn.openai.com"><link rel="preload" href="https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"><link rel="preload" href="https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Semibold.woff2" as="font" type="font/woff2" crossorigin="anonymous"><meta name="theme-color" content="#000000"><meta property="og:site_name" content="OpenAI Help Center"><meta property="og:image" content="/og-image.png"><meta name="twitter:image" content="/og-image.png"><meta name="robots" content="all"><title>Where do I find my OpenAI API Key? | OpenAI Help Center</title><meta name="og:title" content="Where do I find my OpenAI API Key? | OpenAI Help Center"><meta name="twitter:title" content="Where do I find my OpenAI API Key? | OpenAI Help Center"><meta name="description" content=""><meta property="og:description" content=""><meta name="twitter:description" content=""><meta property="og:type" content="article"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/entry.client-ClL-A3JS.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/debug-build-BJApDYlQ.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/root-DFSUYRSk.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/use-is-client-Dv35V_41.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/chatkit-bridge-B-FlioA1.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/useBreakpoints-B_ly3ZYW.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/ChatKitIntegration-ByQz2vnO.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/use-on-mount-BTg54-OQ.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/TextLink-CGK8lxTh.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/article-display-mode-WTy8Lpud.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/cookie-consent-banner-BhUJ7ql5.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/types-D5HeqEar.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/ChatTripleDots-Sb0Ls30t.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/app-Cr3hLfKr.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/layout-Cw0GxYDy.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/X-GiLNKg5R.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/lang-root-DiOy3fer.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/articles-B4vDG_mN.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/document-head-CD5hiNMj.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/ThumbUp-C6XonGRu.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/breadcrumbs-C-Zxe89o.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="modulepreload" href="https://help-center-cdn.oaistatic.com/assets/ChevronRight-CrN_lkX8.js" nonce="9c84ab47-6f12-43c9-be14-23b8905b59da"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/root-DMnzhBfQ.css"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/use-is-client-DDBsATAl.css#"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/ChatKitIntegration-alAtJNqs.css"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/TextLink--dN74aHt.css#"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/layout-Dl332ZUE.css"><link rel="stylesheet" href="https://help-center-cdn.oaistatic.com/assets/articles-BXKazrVi.css"><meta name="sentry-trace" content="7f3c66f74377cbd89df923436bdbdf6a-d49ef1b5d038a8fd-0">
<meta name="baggage" content="sentry-environment=prod,sentry-public_key=ccd13f84e47e1a36392b3bc90b55db7a,sentry-trace_id=7f3c66f74377cbd89df923436bdbdf6a,sentry-org_id=33249,sentry-sampled=false,sentry-sample_rand=0.7293737291379025,sentry-sample_rate=0.1"></head><body><div class="text-default h-fit min-h-screen max-w-screen bg-white px-5 font-normal"><div class="mx-auto flex w-full max-w-5xl flex-col gap-12 py-8"><div class="flex items-center justify-between"><a href="/en"><img src="/logo.png" alt="OpenAI" class="mt-2 h-8"></a><div class="flex items-center gap-4"></div></div><form class="group relative w-full"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" class="text-default pointer-events-none absolute start-4 top-1/2 -translate-y-1/2 transition-colors group-focus-within:text-gray-500 group-hover:not-group-focus-within:text-gray-500"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.875 4.5C7.35418 4.5 4.5 7.35418 4.5 10.875C4.5 14.3958 7.35418 17.25 10.875 17.25C14.3958 17.25 17.25 14.3958 17.25 10.875C17.25 7.35418 14.3958 4.5 10.875 4.5ZM2.5 10.875C2.5 6.24962 6.24962 2.5 10.875 2.5C15.5004 2.5 19.25 6.24962 19.25 10.875C19.25 12.8273 18.582 14.6236 17.462 16.0478L21.2071 19.7929C21.5976 20.1834 21.5976 20.8166 21.2071 21.2071C20.8166 21.5976 20.1834 21.5976 19.7929 21.2071L16.0478 17.462C14.6236 18.582 12.8273 19.25 10.875 19.25C6.24962 19.25 2.5 15.5004 2.5 10.875Z" fill="currentColor"></path></svg><input type="search" dir="ltr" placeholder="Search for articles..." class="text-default placeholder:text-default focus:text-default h-16 w-full border-b border-black py-4 ps-12 pe-12 text-lg transition-colors duration-200 group-hover:not-group-focus-within:placeholder:text-gray-500 focus:bg-white focus:outline-none focus:placeholder:text-gray-500 [&amp;::-webkit-search-cancel-button]:hidden [&amp;::-webkit-search-decoration]:hidden [&amp;::-webkit-search-results-button]:hidden [&amp;::-webkit-search-results-decoration]:hidden" autocomplete="off" name="q" value=""></form></div><div class="wrap-anywhere flex size-full grow flex-col py-8 sm:px-10"><div class="mx-auto w-full max-w-5xl" dir="ltr"><nav class="mb-6 text-sm" aria-label="Breadcrumb"><ol class="flex flex-wrap"><li class="wrap-anywhere flex max-w-full items-center"><a href="/en" class="text-default hover:underline">All Collections</a><svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" class="text-secondary mx-1 inline-block align-middle rtl:rotate-180"><path fill-rule="evenodd" d="M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"></path></svg></li><li class="wrap-anywhere flex max-w-full items-center"><a href="/en/collections/3675931-api" class="text-default hover:underline">API</a><svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" class="text-secondary mx-1 inline-block align-middle rtl:rotate-180"><path fill-rule="evenodd" d="M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"></path></svg></li><li class="wrap-anywhere flex max-w-full items-center"><a href="/en/collections/6864532-general-faq" class="text-default hover:underline">General FAQ</a><svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" class="text-secondary mx-1 inline-block align-middle rtl:rotate-180"><path fill-rule="evenodd" d="M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"></path></svg></li><li class="wrap-anywhere flex max-w-full items-center"><span class="text-secondary">Where do I find my OpenAI API Key?</span></li></ol></nav><div class="flex justify-between gap-12"><div class="max-w-2xl min-w-0 flex-1 space-y-12 overflow-x-hidden"><article class="border-b border-gray-200"><h1 class="heading-2xl text-default mb-3 leading-tight font-extrabold">Where do I find my OpenAI API Key?</h1><div class="text-tertiary text-sm tracking-wide mb-10">Updated: 2 days ago</div><div class="prose prose-blue article-content text-prose mb-12 max-w-none text-base font-normal"><div class="intercom-interblocks-callout callout-transparent"><p>You can create and manage your API keys on the <a href="https://platform.openai.com/api-keys" target="_blank" rel="noopener noreferrer">API key page</a>. For security, a full secret key is only shown when you create it. If you lose it or did not save it, create a new key and update your application to use the new key.<br><br>Check out our <a href="/en/articles/5112595" target="_blank" rel="noopener noreferrer">Best Practices for API Key Safety</a> to learn how you can keep your API key protected.<br><br><br><em><b>Reminder: Do not share your API key with anyone! </b></em></p></div></div></article><section class=""><h2 class="mb-4 text-xl font-semibold text-gray-800">Was this article helpful?</h2><form class="flex flex-col gap-4" data-discover="true" action="/resources/feedback" method="post"><input type="hidden" name="article_id" value="4936850"><div class="flex items-center gap-4"><button type="button" class="rounded-md p-2 transition-colors text-gray-600 hover:text-gray-600" aria-label="Thumbs up" data-btn-label="Thumbs up"><svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M12.1318 2.50389C12.3321 2.15338 12.7235 1.95768 13.1241 2.00775L13.5779 2.06447C16.045 2.37286 17.636 4.83353 16.9048 7.20993L16.3519 9.00709C16.6909 9.01325 16.9965 9.02475 17.2705 9.04623C17.8749 9.09359 18.4313 9.19498 18.9358 9.46056C19.976 10.0082 20.7227 10.9858 20.9774 12.1335C21.1009 12.6901 21.0523 13.2536 20.9389 13.8491C20.8283 14.4307 20.6346 15.1409 20.397 16.0119L19.9295 17.7261C19.9127 17.7876 19.8962 17.8484 19.8799 17.9083C19.5842 18.996 19.3618 19.8139 18.8745 20.4449C18.4468 20.9987 17.8813 21.4306 17.2345 21.6976C16.4975 22.0017 15.6499 22.001 14.5227 22.0001C12.6014 21.9986 10.6801 22 8.75877 22C7.95381 22 7.28946 22 6.74827 21.9558C6.18617 21.9099 5.66947 21.8113 5.18413 21.564C4.43149 21.1805 3.81956 20.5686 3.43607 19.816C3.18878 19.3306 3.09022 18.8139 3.04429 18.2518C3.00007 17.7106 3.00008 17.0463 3.0001 16.2413L3.0001 14C3.0001 13.9535 3.00007 13.9076 3.00005 13.8624C2.99962 13.067 2.9993 12.4764 3.13639 11.9647C3.50626 10.5844 4.58445 9.50616 5.96483 9.13629C6.47647 8.99919 7.06713 8.99951 7.86251 8.99994C7.9077 8.99997 7.95355 8.99999 8.00009 8.99999C8.25961 8.99999 8.49923 8.86094 8.62799 8.63561L12.1318 2.50389ZM7.53112 19.9917C7.36082 19.6951 7.22724 19.3743 7.13639 19.0353C6.99929 18.5236 6.99961 17.933 7.00004 17.1376C7.00007 17.0924 7.00009 17.0465 7.00009 17V11.0099C6.74252 11.019 6.60125 11.0363 6.48246 11.0681C5.79227 11.2531 5.25318 11.7922 5.06824 12.4824C5.00869 12.7046 5.0001 13.0056 5.0001 14V16.2C5.0001 17.0566 5.00087 17.6389 5.03765 18.089C5.07347 18.5274 5.13839 18.7516 5.21808 18.908C5.40983 19.2843 5.71579 19.5903 6.09212 19.782C6.24852 19.8617 6.47272 19.9266 6.91113 19.9624C7.09307 19.9773 7.2966 19.9863 7.53112 19.9917ZM9.00009 10.8098V17C9.00009 17.9944 9.00868 18.2954 9.06824 18.5176C9.25317 19.2078 9.79227 19.7469 10.4825 19.9319C10.7047 19.9914 11.0057 20 12.0001 20H14.3339C15.7376 20 16.1498 19.9816 16.4716 19.8488C16.795 19.7153 17.0778 19.4994 17.2916 19.2225C17.5044 18.9469 17.6306 18.5541 18 17.1998L18.4566 15.5255C18.7077 14.605 18.8799 13.9706 18.9742 13.4752C19.0675 12.9849 19.062 12.7341 19.0249 12.5668C18.8975 11.9929 18.5242 11.5041 18.0041 11.2303C17.8524 11.1504 17.6118 11.0791 17.1143 11.0401C16.6115 11.0007 15.9542 11 15.0001 11C14.6828 11 14.3842 10.8494 14.1957 10.5941C14.0072 10.3388 13.951 10.0092 14.0443 9.70591L14.9933 6.62176C15.3385 5.49984 14.6485 4.34036 13.532 4.08468L10.3645 9.62789C10.0523 10.1742 9.567 10.5859 9.00009 10.8098Z" fill="currentColor"></path></svg></button><button type="button" class="rounded-md p-2 transition-colors text-gray-600 hover:text-gray-600" aria-label="Thumbs down" data-btn-label="Thumbs down"><svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M11.8682 21.4963C11.6679 21.8468 11.2765 22.0425 10.876 21.9924L10.4222 21.9357C7.95506 21.6273 6.36403 19.1667 7.09523 16.7903L7.6482 14.9931C7.30914 14.9869 7.00362 14.9754 6.72955 14.954C6.12518 14.9066 5.56874 14.8052 5.06429 14.5396C4.02404 13.992 3.27737 13.0144 3.02271 11.8667C2.89921 11.3101 2.94781 10.7466 3.06113 10.1511C3.17181 9.56949 3.3655 8.85933 3.60307 7.98827L4.07057 6.27411C4.08736 6.21255 4.10387 6.15182 4.12016 6.09191C4.41586 5.00424 4.63825 4.18627 5.12556 3.55527C5.55326 3.00147 6.11875 2.56955 6.76557 2.30264C7.50256 1.99852 8.35021 1.9992 9.47737 2.0001C11.3987 2.00163 13.32 2.0002 15.2413 2.0002C16.0463 2.00018 16.7106 2.00017 17.2518 2.04439C17.8139 2.09031 18.3306 2.18888 18.8159 2.43617C19.5686 2.81966 20.1805 3.43158 20.564 4.18423C20.8113 4.66957 20.9099 5.18627 20.9558 5.74837C21 6.28957 21 6.95393 21 7.7589V10.0002C21 10.0467 21 10.0926 21 10.1378C21.0005 10.9332 21.0008 11.5238 20.8637 12.0355C20.4938 13.4158 19.4156 14.494 18.0352 14.8639C17.5236 15.001 16.9329 15.0007 16.1376 15.0002C16.0924 15.0002 16.0465 15.0002 16 15.0002C15.7405 15.0002 15.5008 15.1393 15.3721 15.3646L11.8682 21.4963ZM16.469 4.00847C16.6393 4.30504 16.7728 4.62587 16.8637 4.96492C17.0008 5.47657 17.0005 6.06723 17 6.86262C17 6.90781 17 6.95366 17 7.0002V12.9903C17.2576 12.9812 17.3988 12.9639 17.5176 12.9321C18.2078 12.7471 18.7469 12.208 18.9318 11.5178C18.9914 11.2956 19 10.9946 19 10.0002V7.8002C19 6.94362 18.9992 6.36132 18.9624 5.91123C18.9266 5.47282 18.8617 5.24861 18.782 5.09222C18.5902 4.71589 18.2843 4.40993 17.908 4.21818C17.7516 4.13849 17.5274 4.07357 17.0889 4.03775C16.907 4.02288 16.7035 4.0139 16.469 4.00847ZM15 13.1904V7.0002C15 6.00584 14.9914 5.70484 14.9318 5.48256C14.7469 4.79237 14.2078 4.25328 13.5176 4.06834C13.2953 4.00878 12.9943 4.0002 12 4.0002H9.6662C8.26249 4.0002 7.85028 4.01862 7.52847 4.15141C7.20506 4.28487 6.92231 4.50083 6.70847 4.77773C6.49568 5.05326 6.36944 5.4461 6.0001 6.80035L5.54345 8.47473C5.29241 9.39521 5.12015 10.0296 5.02588 10.525C4.93258 11.0153 4.93809 11.2661 4.97522 11.4334C5.10255 12.0073 5.47588 12.4961 5.99601 12.7699C6.14767 12.8498 6.38823 12.9211 6.8858 12.9601C7.38855 12.9995 8.04588 13.0002 8.99998 13.0002C9.31733 13.0002 9.61583 13.1508 9.80437 13.4061C9.99291 13.6614 10.0491 13.991 9.95576 14.2943L9.00679 17.3784C8.66159 18.5003 9.35156 19.6598 10.468 19.9155L13.6356 14.3723C13.9478 13.826 14.4331 13.4143 15 13.1904Z" fill="currentColor"></path></svg></button><input type="hidden" name="rating" value=""></div><textarea name="feedback" rows="4" placeholder="Additional feedback (optional)" class="w-full rounded-md border border-gray-300 p-2 focus:border-blue-500 focus:outline-none"></textarea><div><button type="submit" class="_Button_6dmow_1" data-color="primary" data-variant="solid" data-size="md" disabled="" aria-disabled="true" tabindex="-1" data-disabled="" aria-label="Submit" data-btn-label="Submit"><span class="_ButtonInner_6dmow_4">Submit</span></button></div></form></section></div><nav class="sticky top-14 hidden w-60 shrink-0 self-start text-sm lg:block" aria-label="Table of contents"><ul class="max-h-screen-minus-header space-y-2 overflow-y-scroll"></ul></nav></div></div></div><footer class="mx-auto flex w-full max-w-5xl flex-col items-center gap-6 py-12 text-gray-500"><img src="/favicon.png" alt="OpenAI logo" class="h-8 w-8"><nav class="flex flex-wrap justify-center gap-6 text-sm font-medium"><a href="https://chatgpt.com" class="hover:text-default transition-colors">ChatGPT</a><a href="https://platform.openai.com/docs/" class="hover:text-default transition-colors">API</a><a href="https://status.openai.com" class="hover:text-default transition-colors">Service Status</a><button class="hover:text-default transition-colors" aria-label="Open cookie preferences dialog" data-btn-label="Cookie Preferences">Cookie Preferences</button></nav></footer></div><div dir="ltr" class="tsqd-parent-container"></div> <script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da">((storageKey2, restoreKey) => {
    if (!window.history.state || !window.history.state.key) {
      let key = Math.random().toString(32).slice(2);
      window.history.replaceState({ key }, "");
    }
    try {
      let positions = JSON.parse(sessionStorage.getItem(storageKey2) || "{}");
      let storedY = positions[restoreKey || window.history.state.key];
      if (typeof storedY === "number") {
        window.scrollTo(0, storedY);
      }
    } catch (error) {
      console.error(error);
      sessionStorage.removeItem(storageKey2);
    }
  })("react-router-scroll-positions", null)</script><script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da">window.__reactRouterContext = {"basename":"/","future":{"unstable_optimizeDeps":false,"v8_passThroughRequests":false,"unstable_trailingSlashAwareDataRequests":false,"unstable_previewServerPrerendering":false,"v8_middleware":false,"v8_splitRouteModules":false,"v8_viteEnvironmentApi":false},"routeDiscovery":{"mode":"lazy","manifestPath":"/__manifest"},"ssr":true,"isSpaMode":false};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());</script><script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da" type="module" async="">;
import * as route0 from "https://help-center-cdn.oaistatic.com/assets/root-DFSUYRSk.js";
import * as route1 from "https://help-center-cdn.oaistatic.com/assets/app-Cr3hLfKr.js";
import * as route2 from "https://help-center-cdn.oaistatic.com/assets/lang-root-DiOy3fer.js";
import * as route3 from "https://help-center-cdn.oaistatic.com/assets/articles-B4vDG_mN.js";
  window.__reactRouterManifest = {
  "entry": {
    "module": "https://help-center-cdn.oaistatic.com/assets/entry.client-ClL-A3JS.js",
    "imports": [
      "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
      "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
      "https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js",
      "https://help-center-cdn.oaistatic.com/assets/debug-build-BJApDYlQ.js",
      "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js"
    ],
    "css": []
  },
  "routes": {
    "root": {
      "id": "root",
      "path": "",
      "hasAction": false,
      "hasLoader": true,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": true,
      "module": "https://help-center-cdn.oaistatic.com/assets/root-DFSUYRSk.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js",
        "https://help-center-cdn.oaistatic.com/assets/debug-build-BJApDYlQ.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-Dv35V_41.js",
        "https://help-center-cdn.oaistatic.com/assets/chatkit-bridge-B-FlioA1.js",
        "https://help-center-cdn.oaistatic.com/assets/useBreakpoints-B_ly3ZYW.js",
        "https://help-center-cdn.oaistatic.com/assets/ChatKitIntegration-ByQz2vnO.js",
        "https://help-center-cdn.oaistatic.com/assets/use-on-mount-BTg54-OQ.js",
        "https://help-center-cdn.oaistatic.com/assets/TextLink-CGK8lxTh.js",
        "https://help-center-cdn.oaistatic.com/assets/article-display-mode-WTy8Lpud.js",
        "https://help-center-cdn.oaistatic.com/assets/cookie-consent-banner-BhUJ7ql5.js",
        "https://help-center-cdn.oaistatic.com/assets/types-D5HeqEar.js",
        "https://help-center-cdn.oaistatic.com/assets/ChatTripleDots-Sb0Ls30t.js"
      ],
      "css": [
        "https://help-center-cdn.oaistatic.com/assets/root-DMnzhBfQ.css",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-DDBsATAl.css#",
        "https://help-center-cdn.oaistatic.com/assets/ChatKitIntegration-alAtJNqs.css",
        "https://help-center-cdn.oaistatic.com/assets/TextLink--dN74aHt.css#"
      ]
    },
    "routes/app": {
      "id": "routes/app",
      "parentId": "root",
      "hasAction": false,
      "hasLoader": false,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": true,
      "module": "https://help-center-cdn.oaistatic.com/assets/app-Cr3hLfKr.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
        "https://help-center-cdn.oaistatic.com/assets/debug-build-BJApDYlQ.js",
        "https://help-center-cdn.oaistatic.com/assets/useBreakpoints-B_ly3ZYW.js",
        "https://help-center-cdn.oaistatic.com/assets/layout-Cw0GxYDy.js",
        "https://help-center-cdn.oaistatic.com/assets/TextLink-CGK8lxTh.js",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-Dv35V_41.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js",
        "https://help-center-cdn.oaistatic.com/assets/cookie-consent-banner-BhUJ7ql5.js",
        "https://help-center-cdn.oaistatic.com/assets/X-GiLNKg5R.js",
        "https://help-center-cdn.oaistatic.com/assets/types-D5HeqEar.js",
        "https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js"
      ],
      "css": [
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-DDBsATAl.css#",
        "https://help-center-cdn.oaistatic.com/assets/layout-Dl332ZUE.css",
        "https://help-center-cdn.oaistatic.com/assets/TextLink--dN74aHt.css#"
      ]
    },
    "routes/lang-root": {
      "id": "routes/lang-root",
      "parentId": "routes/app",
      "path": ":lang",
      "hasAction": false,
      "hasLoader": true,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": false,
      "module": "https://help-center-cdn.oaistatic.com/assets/lang-root-DiOy3fer.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js"
      ],
      "css": []
    },
    "routes/articles": {
      "id": "routes/articles",
      "parentId": "routes/lang-root",
      "path": "articles/:articleId",
      "hasAction": false,
      "hasLoader": true,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": false,
      "module": "https://help-center-cdn.oaistatic.com/assets/articles-B4vDG_mN.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-Dv35V_41.js",
        "https://help-center-cdn.oaistatic.com/assets/document-head-CD5hiNMj.js",
        "https://help-center-cdn.oaistatic.com/assets/useBreakpoints-B_ly3ZYW.js",
        "https://help-center-cdn.oaistatic.com/assets/chatkit-bridge-B-FlioA1.js",
        "https://help-center-cdn.oaistatic.com/assets/ChatTripleDots-Sb0Ls30t.js",
        "https://help-center-cdn.oaistatic.com/assets/ThumbUp-C6XonGRu.js",
        "https://help-center-cdn.oaistatic.com/assets/layout-Cw0GxYDy.js",
        "https://help-center-cdn.oaistatic.com/assets/use-on-mount-BTg54-OQ.js",
        "https://help-center-cdn.oaistatic.com/assets/TextLink-CGK8lxTh.js",
        "https://help-center-cdn.oaistatic.com/assets/breadcrumbs-C-Zxe89o.js",
        "https://help-center-cdn.oaistatic.com/assets/article-display-mode-WTy8Lpud.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js",
        "https://help-center-cdn.oaistatic.com/assets/types-D5HeqEar.js",
        "https://help-center-cdn.oaistatic.com/assets/X-GiLNKg5R.js",
        "https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js",
        "https://help-center-cdn.oaistatic.com/assets/cookie-consent-banner-BhUJ7ql5.js",
        "https://help-center-cdn.oaistatic.com/assets/ChevronRight-CrN_lkX8.js"
      ],
      "css": [
        "https://help-center-cdn.oaistatic.com/assets/articles-BXKazrVi.css",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-DDBsATAl.css#",
        "https://help-center-cdn.oaistatic.com/assets/layout-Dl332ZUE.css",
        "https://help-center-cdn.oaistatic.com/assets/TextLink--dN74aHt.css#"
      ]
    },
    "routes/root-redirect": {
      "id": "routes/root-redirect",
      "parentId": "routes/app",
      "path": "/",
      "hasAction": false,
      "hasLoader": true,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": false,
      "hasErrorBoundary": false,
      "module": "https://help-center-cdn.oaistatic.com/assets/root-redirect-l0sNRNKZ.js",
      "imports": [],
      "css": []
    },
    "routes/catchall": {
      "id": "routes/catchall",
      "parentId": "routes/lang-root",
      "path": "*",
      "hasAction": false,
      "hasLoader": false,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": false,
      "module": "https://help-center-cdn.oaistatic.com/assets/catchall-BQNEgdCH.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js"
      ],
      "css": []
    },
    "routes/lang-home": {
      "id": "routes/lang-home",
      "parentId": "routes/lang-root",
      "index": true,
      "hasAction": false,
      "hasLoader": true,
      "hasClientAction": false,
      "hasClientLoader": false,
      "hasClientMiddleware": false,
      "hasDefaultExport": true,
      "hasErrorBoundary": false,
      "module": "https://help-center-cdn.oaistatic.com/assets/lang-home-CgSompfh.js",
      "imports": [
        "https://help-center-cdn.oaistatic.com/assets/chunk-5KNZJZUH-DaLNI0YN.js",
        "https://help-center-cdn.oaistatic.com/assets/jsx-runtime-EKYJJIwR.js",
        "https://help-center-cdn.oaistatic.com/assets/document-head-CD5hiNMj.js",
        "https://help-center-cdn.oaistatic.com/assets/use-on-mount-BTg54-OQ.js",
        "https://help-center-cdn.oaistatic.com/assets/TextLink-CGK8lxTh.js",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-Dv35V_41.js",
        "https://help-center-cdn.oaistatic.com/assets/layout-Cw0GxYDy.js",
        "https://help-center-cdn.oaistatic.com/assets/useBreakpoints-B_ly3ZYW.js",
        "https://help-center-cdn.oaistatic.com/assets/category-icon-DcpFEEhy.js",
        "https://help-center-cdn.oaistatic.com/assets/_commonjsHelpers-Cpj98o6Y.js",
        "https://help-center-cdn.oaistatic.com/assets/types-D5HeqEar.js",
        "https://help-center-cdn.oaistatic.com/assets/index-DU9W-dMp.js",
        "https://help-center-cdn.oaistatic.com/assets/cookie-consent-banner-BhUJ7ql5.js",
        "https://help-center-cdn.oaistatic.com/assets/X-GiLNKg5R.js",
        "https://help-center-cdn.oaistatic.com/assets/Workspace-BnZETrUA.js"
      ],
      "css": [
        "https://help-center-cdn.oaistatic.com/assets/TextLink--dN74aHt.css#",
        "https://help-center-cdn.oaistatic.com/assets/use-is-client-DDBsATAl.css#",
        "https://help-center-cdn.oaistatic.com/assets/layout-Dl332ZUE.css"
      ]
    }
  },
  "url": "https://help-center-cdn.oaistatic.com/assets/manifest-f8e5df72.js",
  "version": "f8e5df72"
};
  window.__reactRouterRouteModules = {"root":route0,"routes/app":route1,"routes/lang-root":route2,"routes/articles":route3};

import("https://help-center-cdn.oaistatic.com/assets/entry.client-ClL-A3JS.js");</script> <!--$--><script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da">window.__reactRouterContext.streamController.enqueue("[{\"_1\":2,\"_3\":-5,\"_4\":-5},\"loaderData\",{\"_5\":6,\"_7\":8,\"_9\":10},\"actionData\",\"errors\",\"root\",{\"_154\":155,\"_156\":157,\"_158\":155,\"_159\":-7,\"_160\":18,\"_161\":-7,\"_162\":163},\"routes/lang-root\",{\"_86\":87,\"_19\":20},\"routes/articles\",{\"_11\":12,\"_13\":14,\"_15\":16,\"_17\":18,\"_19\":20,\"_21\":18},\"article\",{\"_33\":34,\"_35\":36,\"_37\":36,\"_38\":-7,\"_39\":40,\"_41\":42,\"_43\":44,\"_45\":46,\"_47\":18,\"_48\":18,\"_49\":-7,\"_50\":51},\"breadcrumbs\",[22,23,24],\"countryCode\",\"AU\",\"minimalChrome\",false,\"routeLanguage\",\"en\",\"usingFallbackLocale\",{\"_25\":31,\"_27\":32},{\"_25\":29,\"_27\":30},{\"_25\":26,\"_27\":28},\"label\",\"General FAQ\",\"href\",\"/en/collections/6864532-general-faq\",\"API\",\"/en/collections/3675931-api\",\"All Collections\",\"/en\",\"id\",\"4936850\",\"title\",\"Where do I find my OpenAI API Key?\",\"canonicalTitle\",\"description\",\"content\",[52],\"updatedAt\",1786769322.351,\"fetchedAt\",\"2026-08-17T11:33:00.379Z\",\"parentCollectionId\",6864532,\"humanTranslated\",\"gated\",\"gatedConfig\",\"contentfulEntryId\",\"3WxIZ6M8BmZsY4V9a1sykO\",{\"_53\":54,\"_55\":56,\"_57\":58},\"kind\",\"callout\",\"variant\",\"transparent\",\"children\",[59],{\"_53\":60,\"_57\":61},\"p\",[62,63,64,65,66,67],{\"_53\":68,\"_68\":85,\"_70\":-7},{\"_53\":75,\"_27\":81,\"_57\":82},{\"_53\":68,\"_68\":80,\"_70\":-7},{\"_53\":75,\"_27\":76,\"_57\":77},{\"_53\":68,\"_68\":74,\"_70\":-7},{\"_53\":68,\"_68\":69,\"_70\":71},\"text\",\"Reminder: Do not share your API key with anyone! \",\"marks\",[72,73],\"b\",\"i\",\" to learn how you can keep your API key protected.\\n\\n\",\"a\",\"/en/articles/5112595\",[78],{\"_53\":68,\"_68\":79,\"_70\":-7},\"Best Practices for API Key Safety\",\". For security, a full secret key is only shown when you create it. If you lose it or did not save it, create a new key and update your application to use the new key.\\n\\nCheck out our \",\"https://platform.openai.com/api-keys\",[83],{\"_53\":68,\"_68\":84,\"_70\":-7},\"API key page\",\"You can create and manage your API keys on the \",\"supportedLanguages\",[20,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153],\"ar\",\"ja-jp\",\"es-es\",\"es-419\",\"de-de\",\"bn-bd\",\"fr-ca\",\"fr-fr\",\"hi-in\",\"id-id\",\"it-it\",\"kn-in\",\"ko-kr\",\"mr-in\",\"pt-br\",\"pt-pt\",\"ru-ru\",\"ta-in\",\"te-in\",\"zh-hans-cn\",\"zh-hant\",\"zh-hant-hk\",\"sq-al\",\"am-et\",\"hy-am\",\"bs-ba\",\"bg-bg\",\"my-mm\",\"ca-es\",\"hr-hr\",\"cs-cz\",\"da-dk\",\"nl-nl\",\"et-ee\",\"fil-ph\",\"fa-ir\",\"fi-fi\",\"ka-ge\",\"el-gr\",\"gu-in\",\"hu-hu\",\"is-is\",\"ga-ie\",\"jv-id\",\"kk-cyrl\",\"lv-lv\",\"lt-lt\",\"mk-mk\",\"ms-my\",\"ml-in\",\"mt-mt\",\"mn-mn\",\"nb-no\",\"pl-pl\",\"pa-in\",\"ro-ro\",\"sk-sk\",\"sl-si\",\"so-dj\",\"sw-ke\",\"sv-se\",\"th-th\",\"tr-tr\",\"uk-ua\",\"ur-in\",\"vi-vn\",\"sessionId\",\"038a7b70-8ba4-4d00-af53-87b89e40a3b1\",\"sessionIdToken\",\"v1.038a7b70-8ba4-4d00-af53-87b89e40a3b1.syoJaK6UbLanj-D9GHbE4hFEqK8cseSdSeJmTzgkUqk\",\"helpCenterSessionId\",\"cookieConsent\",\"isCookieConsentRequired\",\"user\",\"banners\",{}]\n");</script><!--$--><script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da">window.__reactRouterContext.streamController.close();</script><!--/$--><!--/$--><script nonce="9c84ab47-6f12-43c9-be14-23b8905b59da">(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.nonce='9c84ab47-6f12-43c9-be14-23b8905b59da';d.innerHTML="window.__CF$cv$params={r:'a2c85cb9cc959866',t:'MTc4Njk2NjM4OA=='};var a=document.createElement('script');a.nonce='9c84ab47-6f12-43c9-be14-23b8905b59da';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; visibility: hidden;"></iframe></body></html>