Proxies
Proxies saved in the launcher store. Credentials (username/password) are never returned.
Permanent JWT from Settings → Automation API.
Proxy summaries.
Stored proxy without credentials.
Informational tag (e.g. "US").
Missing or invalid Bearer token.
GET /proxies HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "text",
"name": "text",
"kind": "socks5",
"host": "text",
"port": 1,
"country": "text"
}
]Adds a proxy to the store (deduped by endpoint). Pass proxy as a string, or explicit host/port (+ kind/username/password).
Permanent JWT from Settings → Automation API.
A proxy string OR explicit fields (string wins).
scheme://user:pass@host:port or host:port:user:pass.
Stored proxy summary.
Stored proxy without credentials.
Informational tag (e.g. "US").
Unparseable proxy / missing host+port.
Missing or invalid Bearer token.
POST /proxies HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"proxy": "text",
"kind": "socks5",
"host": "text",
"port": 1,
"username": "text",
"password": "text",
"name": "text",
"country": "text",
"notes": "text"
}{
"id": "text",
"name": "text",
"kind": "socks5",
"host": "text",
"port": 1,
"country": "text"
}Permanent JWT from Settings → Automation API.
Deleted.
trueMissing or invalid Bearer token.
DELETE /proxies/{id} HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"deleted": true,
"id": "text"
}最后更新于
这有帮助吗?

