-
-
Notifications
You must be signed in to change notification settings - Fork 15
API Documentation
Jaeseok Song edited this page Jan 13, 2026
·
2 revisions
The Pingora Proxy Manager provides a RESTful API on port 81. All requests (except login) require a JWT token in the Authorization header.
http://<your-server-ip>:81/api
Authenticates a user and returns a JWT.
Request Body:
{
"username": "admin",
"password": "changeme"
}Response:
{
"token": "eyJhbG..."
}List all proxy hosts.
Add a new proxy host.
Request Body:
{
"domain": "example.com",
"target": "127.0.0.1:3000",
"scheme": "http",
"ssl_forced": true
}Delete a proxy host.
List all managed certificates.
Request a new certificate via Let's Encrypt.
List all L4 streams.
Add a new stream.
Request Body:
{
"listen_port": 3306,
"forward_host": "db.internal",
"forward_port": 3306,
"protocol": "tcp"
}List all Access Control Lists.
Create a new ACL.
Get current traffic statistics.
Get historical traffic data (time-series).
Get recent admin activity logs.
Prometheus compatible metrics.
Note: For a full list of endpoints and parameters, refer to the backend/src/api/mod.rs file.