Skip to content

API reference

TG2AI exposes an HTTP API used by the web console and third-party integrations. Authenticate with a License session cookie or an API Key created in settings after login.

Base URL

https://app.tg2ai.com/api/v1

Authentication

ModeHow
Browser / LicenseSign in at the console; requests use the session cookie
API KeyCreate a key in Settings → API keys; send as configured header / query (see Chinese API reference for exact header names)

Common areas

  • Accounts — list, import, status, folders
  • Proxies — pool CRUD and health checks
  • Tasks / engine — submit and stream long-running jobs
  • Modules — each automation module mounts its own routes under /api/v1/...
  • Public SMS compareGET /api/v1/public/sms/compare powers the SMS board

Conventions

  • JSON request/response bodies
  • Standard HTTP status codes
  • Task-style operations return an engine/task id for log streaming in the console

Full detail

Parameter tables and examples remain in the Chinese API reference while English expands. For purchase and console access see Getting started.