Get Started with GetToken
Get and Use an API Key
Your API Key is the personal credential used by Codex, OpenCode, and other tools.
- Updated
- Last verified
- Maintained by
- GetToken Documentation Team
An API Key is your credential for calling the GetToken API service. Coding tools do not use your GetToken password. They only need an API Key and a base_url.
Create or view an API Key
- Open the GetToken console.
- Go to
API Keys. - Create a key if you do not have one.
- Reveal, copy, test, or configure an existing key.
text
https://gettoken.dev/console/api-keys
Screenshot placeholder: API Key list in the console.
Where the key goes
Codex App / Codex CLI:
json
{
"OPENAI_API_KEY": "<your GetToken API Key>"
}
OpenCode:
json
{
"provider": {
"openai": {
"options": {
"apiKey": "<your GetToken API Key>"
}
}
}
}
Keep it private
- Do not share your API Key.
- Do not commit it to Git.
- Do not show it in public screenshots.
- Delete and recreate it if it may have leaked.