Code Integration
Use the gateway as a standard OpenAI-compatible endpoint.
Current API base URL: https://okapi.pockgo.com/v1
Auth
http
Authorization: Bearer codex_your_api_keyIf you do not have an API key yet, go back to the home page section "Get an API Key" and create one from the API Keys page in your account menu.
Endpoints
| Method | Path |
|---|---|
GET /v1/models | List models |
POST /v1/chat/completions | Chat Completions |
POST /v1/responses | Responses |
POST /v1/embeddings | Embeddings |
When using environment variables in SDK code, prefer OPENAI_API_KEY instead of a project-specific variable name.
