Chat app integration

User Guide

Chat app integration

Import your EasyAPI configuration into popular AI chat apps in seconds

From the token page in the console, EasyAPI can import your configuration into a range of third-party chat clients in one click, making it easy to verify a token or use it for everyday conversations. The import automatically fetches the full token key and the current site's API address, then opens the app in a new tab.

One-click import

EasyAPI can quickly import your token and API base URL into many AI chat apps, which is handy for integration testing and everyday use. On the API keys page in the console, use the Chat menu in each row's actions column to jump straight to an app.

easyapi.com/console/token
NameStatusRemaining / total quotaSecretActions
productionEnabled∞ / ∞sk-••••••••Chat ▾

Choose an app to import

  • Open chat (demo)
  • ChatGPT Next Web (example)
  • Lobe Chat (example)
  • AI as Workspace
  • AMA
  • OpenCat

The “Chat” dropdown in the token list: the first item opens the built-in Playground, and the others open the matching client with the configuration pre-filled

  • Before importing, the full token key is fetched via POST /api/token/:id/key (the list only shows masked keys)
  • The API base URL comes from the current site's NUXT_PUBLIC_API_BASE_URL, defaulting to https://token.easyapi.com
  • On success, the target app opens in a new browser tab and the message “Opened import link in a new tab” appears

How to use

  1. After signing in, go to the token list at /console/token
  2. Find the token you want to use and make sure its status is “Enabled”
  3. Click the Chat ▾ button on the right side of that row
  4. Choose a target app to import in one click, or choose Open chat (demo) to open the /demo/chat Playground (with the token ID attached)

Disabled or expired tokens cannot open the Playground. When importing into a third-party app, a copy failure message appears if the key API call fails; check that the token is still valid.

ChatGPT Next Web

Official demo site Opens chat.nextweb.fun and passes apiKey and OpenAIUrl as URL parameters.

Setup steps

  1. Open ChatGPT Next Web Settings → Model provider → OpenAI
  2. Enter your EasyAPI token as the API Key
  3. Set the endpoint (OpenAI API URL) to the current site's API base URL (see the configuration values below)
  4. Save, then pick an available model and start chatting

Lobe Chat

Official demo site Opens lobechat.com and passes OPENAI_API_KEY and OPENAI_PROXY_URL through the settings parameter.

Setup steps

  1. Open Lobe Chat Settings → Language model → OpenAI
  2. Enter the API Key (your EasyAPI token)
  3. Set the proxy / Base URL to the current site's API base URL
  4. Save and choose a model

AI as Workspace

aiaw.app Opens aiaw.app and passes apiKey and baseURL through the settings parameter.

How to use

  1. Find the OpenAI-compatible configuration in AI as Workspace settings
  2. Enter your EasyAPI token as the API Key
  3. Set the Base URL to the current site's API base URL

AMA

ama-engineer.com Opens ama-engineer.com and passes token and apiBaseUrl through the config parameter.

How to use

  1. Enter your EasyAPI token in AMA settings
  2. Set the API base URL to the current site's API address

OpenCat

opencat.team · EasyAPI import Opens opencat.team and passes apiKey and apiBaseUrl through the easyapi_import parameter (a custom EasyAPI integration).

How to use

  1. Add an OpenAI-compatible service in OpenCat
  2. Enter your EasyAPI token as the API Key
  3. Set the Base URL to the current site's API base URL

OpenCat receives the configuration through the easyapi_import query parameter, a one-click import method built specifically for EasyAPI sites.

Configure other apps manually

If your client is not in the one-click import list, enter an EasyAPI-compatible OpenAI-format configuration manually. See Using the API and API authentication for details.

Configuration values

SettingDescription
API base URLThe site's public API address, defaulting to https://token.easyapi.com
OpenAI-compatible Base URLMost clients require https://token.easyapi.com/v1
API KeyA token starting with sk-, created on the token management page; one-click import fetches the full key automatically
AuthorizationHTTP request header Authorization: Bearer YOUR_API_KEY (used when calling the REST API directly)

General setup steps

  1. Create a token in Token management and copy the full key from the creation dialog right away
  2. In the target client, find the OpenAI-compatible, custom API, or model provider settings
  3. Set the Base URL to https://token.easyapi.com/v1 (some apps accept https://token.easyapi.com; follow the client's documentation)
  4. Enter your EasyAPI token as the API Key, save, then pick a model and send a test message