GetToken Docs

Configure GetToken by topic

Short, focused guides for API Keys, base_url values, Codex App, Codex CLI, OpenCode, and CC Switch.

View my API Key

Sign in, reveal your current GetToken API Key, then copy it into Codex or OpenCode.

Before You Start

What GetToken Provides

Understand what GetToken is, which coding tools it supports, and what you need before configuration.

GetToken provides API access for developer coding tools. You can think of it as an OpenAI-compatible API service for Codex App, Codex CLI, OpenCode, and CC Switch.

Three terms matter before you configure anything:

TermMeaningCurrent GetToken value
base_urlThe API endpoint your tool callsRecommended: https://api.clawto.link
API KeyYour personal credentialCreate or view it in the GetToken console
ModelThe default model namegpt-5.5

Supported tools

  • Codex App: reads the local .codex configuration.
  • Codex CLI: runs Codex from your terminal or project folder.
  • OpenCode: uses an OpenAI-compatible provider configuration.
  • CC Switch: manages and imports Codex providers.

Recommended path for beginners

  1. Sign in to GetToken.
  2. Create or view your API Key in the console.
  3. Use https://api.clawto.link as the recommended endpoint.
  4. Prefer the setup script or CC Switch import first.
  5. Review the manual files after your first successful run.

Screenshot placeholder: GetToken console overview.

Common mix-ups

  • API Key is not your password.
  • base_url is not the website homepage.
  • Codex App and Codex CLI both use ~/.codex.
  • OpenCode usually uses ~/.config/opencode.