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.

Account and Credentials

base_url and Endpoint Choice

Use the correct API endpoint. The website homepage is not the API base URL.

base_url is the API endpoint your coding tool calls. It is not the GetToken homepage and not the console URL.

Recommended endpoint

text
https://api.clawto.link

This is the recommended endpoint, optimized for access from China.

Standard endpoint

text
https://api.gettoken.dev

Use this if it is more stable from your network.

Do not use these

text
https://gettoken.dev
https://gettoken.dev/console
https://cdn.gettoken.dev

Those are not API endpoints.

Final request URL

Most tools only ask for base_url and append paths automatically. For example, the Responses API becomes:

text
https://api.clawto.link/v1/responses

Screenshot placeholder: endpoint selection.