API Reference
The 3x-ui panel REST API — authentication, inbounds, clients, server stats, and more, generated from the OpenAPI spec.
The 3x-ui panel exposes a REST API for automation. These pages are generated from the panel's OpenAPI specification, so they always match the documented schema.
Authentication
Requests authenticate with either a session cookie (from POST /login) or a
Bearer token:
Authorization: Bearer <token>Create API tokens in the panel; they are full-admin credentials, so store them securely. See API Tokens.
Browse by area
This reference is regenerated from public/openapi.json with pnpm gen:api.
Don't edit the generated tag pages by hand.

3x-ui