{"info":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","description":"<html><head></head><body><p>Programmatic interface to a 3X-UI panel. Authenticate either by logging in (cookie) or with an API token from Settings → Security → API Token (Bearer). All endpoints under /panel/api/* honour both modes.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5146551","collectionId":"b2bf0f71-f84e-433c-8fb9-89efa7870704","publishedId":"2sBXwmPC6M","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-24T18:15:42.000Z"},"item":[{"name":"login","item":[{"name":"Authenticate with username + password and receive a session cookie. Required before any cookie-based API call.","id":"b3a67f7f-b818-4248-8a67-e61a4b88bd27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"admin\",\n  \"password\": \"admin\",\n  \"twoFactorCode\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["login"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6bb1a53f-189c-4149-9488-aa4f3d2883d0","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"admin\",\n  \"password\": \"admin\",\n  \"twoFactorCode\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"Logged in successfully\"\n}"},{"id":"fe391a28-c43e-4d88-8e0b-9a209d621a34","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"admin\",\n  \"password\": \"admin\",\n  \"twoFactorCode\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"Wrong username or password\"\n}"}],"_postman_id":"b3a67f7f-b818-4248-8a67-e61a4b88bd27"}],"id":"83f26d55-e3b8-474c-9e86-e593e133716a","_postman_id":"83f26d55-e3b8-474c-9e86-e593e133716a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"logout","item":[{"name":"Clear the session cookie. Requires the CSRF header for browser sessions.","id":"621a5a8b-65cd-44df-a7e9-833080798642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["logout"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e455639f-6b19-4396-b73d-eb3ce8843b8c","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"621a5a8b-65cd-44df-a7e9-833080798642"}],"id":"e571da43-3bb5-4f63-b4b8-5b9175f6ba66","_postman_id":"e571da43-3bb5-4f63-b4b8-5b9175f6ba66","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"csrf-token","item":[{"name":"Mint a CSRF token for the current session. The SPA replays it in the X-CSRF-Token header on unsafe requests. Bearer-token callers can skip this — the middleware short-circuits CSRF for authenticated API requests.","id":"33da744f-f07b-499f-b0e2-d9eafb6f8f66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//csrf-token","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["csrf-token"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"0c50baae-5818-413b-8647-84de21205e60","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//csrf-token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": \"csrf-token-string\"\n}"}],"_postman_id":"33da744f-f07b-499f-b0e2-d9eafb6f8f66"}],"id":"b9a76f4f-4552-40ee-84a2-3e66f9c1fcf1","_postman_id":"b9a76f4f-4552-40ee-84a2-3e66f9c1fcf1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getTwoFactorEnable","item":[{"name":"Returns whether 2FA is enabled on the panel — used by the login page to decide whether to show the OTP field.","id":"5e8b2643-9c58-46d6-869b-bc84b63c949b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//getTwoFactorEnable","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["getTwoFactorEnable"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6aa83a2d-5c8f-4001-a166-c6f15de74897","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//getTwoFactorEnable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": false\n}"}],"_postman_id":"5e8b2643-9c58-46d6-869b-bc84b63c949b"}],"id":"34feea28-9b3b-4dd0-8739-20a9fab7a312","_postman_id":"34feea28-9b3b-4dd0-8739-20a9fab7a312","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"panel","item":[{"name":"api","item":[{"name":"inbounds","item":[{"name":"list","item":[{"name":"slim","item":[{"name":"Same shape as /list but with settings.clients[] stripped down to {email, enable, comment} and ClientStats not enriched with UUID/SubId. Use this for list pages; fetch /get/:id when you need the full per-client payload (uuid, password, flow, ...).","id":"082058ae-1629-4264-b244-80db7759666c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/list/slim","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","list","slim"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"ffff6f3e-171d-4165-aeb6-8daf83711167","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/inbounds/list/slim"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"userId\": 1,\n      \"remark\": \"VLESS-443\",\n      \"settings\": {\n        \"clients\": [\n          {\n            \"email\": \"alice\",\n            \"enable\": true\n          }\n        ],\n        \"decryption\": \"none\"\n      },\n      \"clientStats\": []\n    }\n  ]\n}"}],"_postman_id":"082058ae-1629-4264-b244-80db7759666c"}],"id":"526ab190-840e-4d91-ba54-bea221a135fd","_postman_id":"526ab190-840e-4d91-ba54-bea221a135fd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"List every inbound owned by the authenticated user, including each inbound’s clientStats traffic counters. settings, streamSettings, and sniffing are returned as nested JSON objects (no escaped strings); legacy callers that send them back as JSON-encoded ","id":"9c117085-2609-42d5-abe2-0bcf135a36cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"0b3d7756-a0e0-485d-a09a-f4073692084a","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/inbounds/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"userId\": 1,\n      \"up\": 0,\n      \"down\": 0,\n      \"total\": 0,\n      \"remark\": \"VLESS-443\",\n      \"enable\": true,\n      \"expiryTime\": 0,\n      \"listen\": \"\",\n      \"port\": 443,\n      \"protocol\": \"vless\",\n      \"settings\": {\n        \"clients\": [],\n        \"decryption\": \"none\"\n      },\n      \"streamSettings\": {\n        \"network\": \"tcp\",\n        \"security\": \"reality\",\n        \"realitySettings\": {\n          \"show\": false,\n          \"dest\": \"...\"\n        }\n      },\n      \"tag\": \"inbound-443\",\n      \"sniffing\": {\n        \"enabled\": true,\n        \"destOverride\": [\n          \"http\",\n          \"tls\"\n        ]\n      },\n      \"clientStats\": []\n    }\n  ]\n}"}],"_postman_id":"9c117085-2609-42d5-abe2-0bcf135a36cd"}],"id":"74850d56-728d-4b69-bc14-ba0590fa66e7","_postman_id":"74850d56-728d-4b69-bc14-ba0590fa66e7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"options","item":[{"name":"Lightweight picker projection of the authenticated user’s inbounds. Returns only id, remark, protocol, port, and a server-computed tlsFlowCapable flag (true for VLESS / port-fallback on TCP with tls or reality). Use this for dropdowns and attach pickers —","id":"4d0a2d34-ce20-4d5b-8378-4ee99f0148c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/options","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","options"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"28d5b4f5-e899-4920-b553-46c58fd00c6d","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/inbounds/options"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"remark\": \"VLESS-443\",\n      \"protocol\": \"vless\",\n      \"port\": 443,\n      \"tlsFlowCapable\": true\n    }\n  ]\n}"}],"_postman_id":"4d0a2d34-ce20-4d5b-8378-4ee99f0148c3"}],"id":"953101e5-2013-439e-b4e0-f899529b8116","_postman_id":"953101e5-2013-439e-b4e0-f899529b8116","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"get","item":[{"name":"{id}","item":[{"name":"Fetch a single inbound by numeric ID.","id":"8403b693-1af8-4322-b901-72db6976cb1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/get/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","get",":id"],"host":["/"],"query":[],"variable":[{"id":"606bf77d-a8bb-4d2a-8f49-c10b51fd126c","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"0a510ab1-7e68-4929-b9d1-9cf772ce90f9","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/inbounds/get/:id","host":["/"],"path":["panel","api","inbounds","get",":id"],"variable":[{"key":"id","value":"5362","description":"Inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8403b693-1af8-4322-b901-72db6976cb1a"}],"id":"488e97dc-f68e-4879-9320-3ee82ee2efb0","_postman_id":"488e97dc-f68e-4879-9320-3ee82ee2efb0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"968c2a0e-3adc-4eff-b9f0-bf65685867e7","_postman_id":"968c2a0e-3adc-4eff-b9f0-bf65685867e7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"add","item":[{"name":"Create a new inbound. Send the full inbound payload (protocol, port, settings, streamSettings, sniffing, remark, expiryTime, total, enable). settings, streamSettings, and sniffing may be sent as nested JSON objects (preferred) or as JSON-encoded strings (","id":"ee4440df-202a-465d-aa60-755a52a899ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"enable\": true,\n  \"remark\": \"VLESS-443\",\n  \"listen\": \"\",\n  \"port\": 443,\n  \"protocol\": \"vless\",\n  \"expiryTime\": 0,\n  \"total\": 0,\n  \"settings\": {\n    \"clients\": [\n      {\n        \"id\": \"...\",\n        \"email\": \"user1\"\n      }\n    ],\n    \"decryption\": \"none\",\n    \"fallbacks\": []\n  },\n  \"streamSettings\": {\n    \"network\": \"tcp\",\n    \"security\": \"reality\",\n    \"realitySettings\": {\n      \"show\": false,\n      \"dest\": \"...\"\n    }\n  },\n  \"sniffing\": {\n    \"enabled\": true,\n    \"destOverride\": [\n      \"http\",\n      \"tls\"\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/inbounds/add","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9b0bb1da-6ff2-4c5a-9659-c746e29cb604","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"enable\": true,\n  \"remark\": \"VLESS-443\",\n  \"listen\": \"\",\n  \"port\": 443,\n  \"protocol\": \"vless\",\n  \"expiryTime\": 0,\n  \"total\": 0,\n  \"settings\": {\n    \"clients\": [\n      {\n        \"id\": \"...\",\n        \"email\": \"user1\"\n      }\n    ],\n    \"decryption\": \"none\",\n    \"fallbacks\": []\n  },\n  \"streamSettings\": {\n    \"network\": \"tcp\",\n    \"security\": \"reality\",\n    \"realitySettings\": {\n      \"show\": false,\n      \"dest\": \"...\"\n    }\n  },\n  \"sniffing\": {\n    \"enabled\": true,\n    \"destOverride\": [\n      \"http\",\n      \"tls\"\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/inbounds/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"2501991d-9a8e-4572-b12f-094d38dd7e29","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"enable\": true,\n  \"remark\": \"VLESS-443\",\n  \"listen\": \"\",\n  \"port\": 443,\n  \"protocol\": \"vless\",\n  \"expiryTime\": 0,\n  \"total\": 0,\n  \"settings\": {\n    \"clients\": [\n      {\n        \"id\": \"...\",\n        \"email\": \"user1\"\n      }\n    ],\n    \"decryption\": \"none\",\n    \"fallbacks\": []\n  },\n  \"streamSettings\": {\n    \"network\": \"tcp\",\n    \"security\": \"reality\",\n    \"realitySettings\": {\n      \"show\": false,\n      \"dest\": \"...\"\n    }\n  },\n  \"sniffing\": {\n    \"enabled\": true,\n    \"destOverride\": [\n      \"http\",\n      \"tls\"\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/inbounds/add"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"Port 443 is already in use\"\n}"}],"_postman_id":"ee4440df-202a-465d-aa60-755a52a899ca"}],"id":"9bab57a5-7350-4565-8746-5a57e0394557","_postman_id":"9bab57a5-7350-4565-8746-5a57e0394557","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"del","item":[{"name":"{id}","item":[{"name":"Delete an inbound by ID. Also removes its associated client stats rows.","id":"d3000cbf-856e-444c-bc4e-1088b59ee34f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/del/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","del",":id"],"host":["/"],"query":[],"variable":[{"id":"13425904-4739-415e-ac2b-2dfabc78abf0","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"5ad41ace-ba7d-46ed-902a-29a78fc53078","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/inbounds/del/:id","host":["/"],"path":["panel","api","inbounds","del",":id"],"variable":[{"key":"id","value":"5362","description":"Inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"d3000cbf-856e-444c-bc4e-1088b59ee34f"}],"id":"75b3e954-9669-4224-8eb8-550c976465b8","_postman_id":"75b3e954-9669-4224-8eb8-550c976465b8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"ae20007e-7ad7-40cc-be54-534fbcee09ee","_postman_id":"ae20007e-7ad7-40cc-be54-534fbcee09ee","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"{id}","item":[{"name":"Replace an inbound’s configuration. Body shape mirrors /add. Heavy on inbounds with thousands of clients — prefer /setEnable for enable-only flips.","id":"3e0bbf3d-0511-453a-86ce-b58f63f22a53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/update/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","update",":id"],"host":["/"],"query":[],"variable":[{"id":"f9408492-8ceb-48c0-aaf2-257f777000fa","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"86707072-c64a-47a9-8e3e-dbd1525f9302","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/inbounds/update/:id","host":["/"],"path":["panel","api","inbounds","update",":id"],"variable":[{"key":"id","value":"5362","description":"Inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3e0bbf3d-0511-453a-86ce-b58f63f22a53"}],"id":"778ac224-000e-4c5a-a9bd-89ef6606030f","_postman_id":"778ac224-000e-4c5a-a9bd-89ef6606030f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"3b506667-28ad-4e48-9d16-72127687655e","_postman_id":"3b506667-28ad-4e48-9d16-72127687655e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"setEnable","item":[{"name":"{id}","item":[{"name":"Toggle only the enable flag without serialising the whole settings JSON. Recommended for UI switches on large inbounds.","id":"d729d8d7-1777-4a0a-8c67-4bebfad95107","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"enable\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/inbounds/setEnable/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","setEnable",":id"],"host":["/"],"query":[],"variable":[{"id":"2e388bc4-f9e6-4a31-b329-b47262b02d82","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"d414ef8e-6f83-414f-b975-663499354399","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"enable\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/inbounds/setEnable/:id","host":["/"],"path":["panel","api","inbounds","setEnable",":id"],"variable":[{"key":"id","value":"5362","description":"Inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"d729d8d7-1777-4a0a-8c67-4bebfad95107"}],"id":"2d485981-7c76-46e9-8a6c-9ae5fbdd3cb6","_postman_id":"2d485981-7c76-46e9-8a6c-9ae5fbdd3cb6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"d5eb3b40-1aed-455b-b436-888a052e5046","_postman_id":"d5eb3b40-1aed-455b-b436-888a052e5046","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"{id}","item":[{"name":"resetTraffic","item":[{"name":"Zero out upload + download counters for a single inbound. Does not touch per-client counters.","id":"935076c2-a1b7-4fd5-a673-a634b18b8e00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/:id/resetTraffic","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","resetTraffic"],"host":["/"],"query":[],"variable":[{"id":"8bf1b0f6-7519-47c3-b712-670b0480b3c6","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"4cc673e9-8746-4262-a55b-83ed36a79a92","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/inbounds/:id/resetTraffic","host":["/"],"path":["panel","api","inbounds",":id","resetTraffic"],"variable":[{"key":"id","value":"5362","description":"Inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"935076c2-a1b7-4fd5-a673-a634b18b8e00"}],"id":"707328fe-82ab-4d46-b85a-3bce6fbca1a0","_postman_id":"707328fe-82ab-4d46-b85a-3bce6fbca1a0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"fallbacks","item":[{"name":"List the fallback rules attached to a master VLESS/Trojan TCP-TLS inbound. Each rule links one child inbound (the dest) to optional SNI/ALPN/path/xver match criteria.","id":"f310e4b5-1cdb-4952-a011-51ee712ca80b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/:id/fallbacks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","fallbacks"],"host":["/"],"query":[],"variable":[{"id":"d681cf71-332b-414d-8be2-f05ecebb7ad6","description":{"content":"<p>Master inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"15e83c11-0052-4631-a377-12489338c420","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/inbounds/:id/fallbacks","host":["/"],"path":["panel","api","inbounds",":id","fallbacks"],"variable":[{"key":"id","value":"5362","description":"Master inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"masterId\": 10,\n      \"childId\": 11,\n      \"name\": \"\",\n      \"alpn\": \"\",\n      \"path\": \"/vlws\",\n      \"xver\": 2,\n      \"sortOrder\": 0\n    }\n  ]\n}"}],"_postman_id":"f310e4b5-1cdb-4952-a011-51ee712ca80b"},{"name":"Replace the entire fallback list for a master inbound. Body is JSON. Triggers an Xray restart.","id":"d61fd3f4-9965-4206-899b-9f6648622eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"fallbacks\": [\n    {\n      \"childId\": 11,\n      \"path\": \"/vlws\",\n      \"xver\": 2\n    },\n    {\n      \"childId\": 12,\n      \"alpn\": \"h2\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/inbounds/:id/fallbacks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","fallbacks"],"host":["/"],"query":[],"variable":[{"id":"bcf41984-99f5-4226-8eb2-3a5d16e42c4f","description":{"content":"<p>Master inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"21590c1b-f34c-45f9-b24b-356387793b03","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"fallbacks\": [\n    {\n      \"childId\": 11,\n      \"path\": \"/vlws\",\n      \"xver\": 2\n    },\n    {\n      \"childId\": 12,\n      \"alpn\": \"h2\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/inbounds/:id/fallbacks","host":["/"],"path":["panel","api","inbounds",":id","fallbacks"],"variable":[{"key":"id","value":"5362","description":"Master inbound ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"Inbound updated\"\n}"}],"_postman_id":"d61fd3f4-9965-4206-899b-9f6648622eea"}],"id":"cb835a61-72d4-458a-b96d-2e93824880cc","_postman_id":"cb835a61-72d4-458a-b96d-2e93824880cc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"5fa41b4e-6622-468c-aaa2-a053273b509c","_postman_id":"5fa41b4e-6622-468c-aaa2-a053273b509c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetAllTraffics","item":[{"name":"Reset upload + download counters on every inbound. Destructive — accounting history is lost.","id":"8eae457c-9bf0-4a56-9af7-4a1df759800e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/resetAllTraffics","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","resetAllTraffics"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2038b6f3-244d-4054-ab77-da912d3d7342","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/inbounds/resetAllTraffics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8eae457c-9bf0-4a56-9af7-4a1df759800e"}],"id":"1c69fd81-c24f-4f15-8951-d1f7ba857e60","_postman_id":"1c69fd81-c24f-4f15-8951-d1f7ba857e60","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"import","item":[{"name":"Bulk-import an inbound from a JSON blob (e.g. one exported via the UI). The body uses form encoding with a single \"data\" field.","id":"6790f184-7640-4eec-a9f3-c4a86ec934f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/import","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","import"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"81ea9f83-61ac-4f8f-9ee4-0c02fdf702e5","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/inbounds/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"6790f184-7640-4eec-a9f3-c4a86ec934f1"}],"id":"34d66212-d43a-4f76-a9da-483ab5bd9d45","_postman_id":"34d66212-d43a-4f76-a9da-483ab5bd9d45","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"c922e7e0-4b42-4104-9050-67d6f29de71a","_postman_id":"c922e7e0-4b42-4104-9050-67d6f29de71a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"server","item":[{"name":"status","item":[{"name":"Real-time machine snapshot: CPU, memory, swap, disk, network IO, load averages, open connections, Xray state. Cached and refreshed every 2 seconds in the background.","id":"0b70336a-0a32-4e6b-9762-f73555bf406d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","status"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"91a2e311-b188-4a3c-8ec5-abf4b7fe0b3e","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"cpu\": 12.5,\n    \"mem\": {\n      \"current\": 2147483648,\n      \"total\": 8589934592\n    },\n    \"swap\": {\n      \"current\": 0,\n      \"total\": 4294967296\n    },\n    \"disk\": {\n      \"current\": 53687091200,\n      \"total\": 268435456000\n    },\n    \"netIO\": {\n      \"up\": 1073741824,\n      \"down\": 2147483648\n    },\n    \"xray\": {\n      \"state\": \"running\",\n      \"version\": \"v25.10.31\"\n    },\n    \"tcpCount\": 42,\n    \"load\": {\n      \"load1\": 0.5,\n      \"load5\": 0.3,\n      \"load15\": 0.2\n    }\n  }\n}"}],"_postman_id":"0b70336a-0a32-4e6b-9762-f73555bf406d"}],"id":"fe29bd47-c697-4892-a814-1e0cfc669ef2","_postman_id":"fe29bd47-c697-4892-a814-1e0cfc669ef2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"cpuHistory","item":[{"name":"{bucket}","item":[{"name":"Legacy: aggregated CPU history. Use /history/cpu/:bucket instead — same data with a uniform {t, v} shape.","id":"633bca7e-3f74-40dd-9923-afdeb6c0b88c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/cpuHistory/:bucket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","cpuHistory",":bucket"],"host":["/"],"query":[],"variable":[{"id":"fd7bbeff-e985-4bdf-aa64-569b069cd2b1","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"bucket"}]}},"response":[{"id":"b319ca8c-746b-4145-a1ca-5bb6292c1fdd","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/cpuHistory/:bucket","host":["/"],"path":["panel","api","server","cpuHistory",":bucket"],"variable":[{"key":"bucket","value":"5362","description":"Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"633bca7e-3f74-40dd-9923-afdeb6c0b88c"}],"id":"d9807e54-5869-414c-ac9f-510e9b1f6afb","_postman_id":"d9807e54-5869-414c-ac9f-510e9b1f6afb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"087cd496-3d59-4e58-a4f6-5703bdaf7c2c","_postman_id":"087cd496-3d59-4e58-a4f6-5703bdaf7c2c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"history","item":[{"name":"{metric}","item":[{"name":"{bucket}","item":[{"name":"Aggregated time-series for one metric. Returns an array of {t, v} samples covering the last ~6 hours.","id":"d6b1f5aa-84c4-49f2-9c19-08c90845b5a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/history/:metric/:bucket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","history",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"5ec79b43-593d-4097-9528-d78e8014a3b0","description":{"content":"<p>cpu | mem | netUp | netDown | online | load1 | load5 | load15.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"a2275578-22d4-44a5-b793-f310dfe3b910","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"bucket"}]}},"response":[{"id":"afe97e55-5370-4ada-9345-0d68f40305ce","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/history/:metric/:bucket","host":["/"],"path":["panel","api","server","history",":metric",":bucket"],"variable":[{"key":"metric","value":"string","description":"cpu | mem | netUp | netDown | online | load1 | load5 | load15."},{"key":"bucket","value":"5362","description":"Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"t\": 1700000000,\n      \"v\": 12.5\n    },\n    {\n      \"t\": 1700000002,\n      \"v\": 13.1\n    }\n  ]\n}"}],"_postman_id":"d6b1f5aa-84c4-49f2-9c19-08c90845b5a8"}],"id":"eeb42827-d015-41d9-844e-27c9036f7a52","_postman_id":"eeb42827-d015-41d9-844e-27c9036f7a52","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"bae310eb-fcae-4cc4-adfa-879473635e73","_postman_id":"bae310eb-fcae-4cc4-adfa-879473635e73","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"470d8db0-fe38-4e09-8b2b-17bd5c9a219e","_postman_id":"470d8db0-fe38-4e09-8b2b-17bd5c9a219e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xrayMetricsState","item":[{"name":"Xray runtime metrics state — whether the xray config has a `metrics` block, which expvar keys are flowing, and the current snapshot values for each. Returns an empty state when metrics are not configured.","id":"e7402528-b861-4e85-900f-85517b4a6cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/xrayMetricsState","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayMetricsState"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"ddfb0ced-f9c8-45b8-8a2a-f7f95723a928","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/xrayMetricsState"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e7402528-b861-4e85-900f-85517b4a6cd7"}],"id":"702e4455-36a3-4444-a55d-c643b56e8591","_postman_id":"702e4455-36a3-4444-a55d-c643b56e8591","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xrayMetricsHistory","item":[{"name":"{metric}","item":[{"name":"{bucket}","item":[{"name":"Time-series history for one Xray runtime metric over the last ~6 hours. Same {t, v} shape as /history/:metric/:bucket.","id":"987ebe93-1a9f-478a-a64e-d82e1f874504","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/xrayMetricsHistory/:metric/:bucket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayMetricsHistory",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"f1a56e76-f414-433e-91f3-b470859a73bd","description":{"content":"<p>xrAlloc | xrSys | xrHeapObjects | xrNumGC | xrPauseNs.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"7d98413f-dfcd-4d60-aad4-581131330c27","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"bucket"}]}},"response":[{"id":"ad5ed41b-1eb0-447e-bba1-73b6919d9fac","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/xrayMetricsHistory/:metric/:bucket","host":["/"],"path":["panel","api","server","xrayMetricsHistory",":metric",":bucket"],"variable":[{"key":"metric","value":"string","description":"xrAlloc | xrSys | xrHeapObjects | xrNumGC | xrPauseNs."},{"key":"bucket","value":"5362","description":"Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"987ebe93-1a9f-478a-a64e-d82e1f874504"}],"id":"3f45f290-718d-4d4b-8505-98f968d30e19","_postman_id":"3f45f290-718d-4d4b-8505-98f968d30e19","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"222f7f48-cd63-45d7-9d36-0d1a3f7dca58","_postman_id":"222f7f48-cd63-45d7-9d36-0d1a3f7dca58","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"681b1a62-d87f-4f05-9618-fbdaa7f6870c","_postman_id":"681b1a62-d87f-4f05-9618-fbdaa7f6870c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xrayObservatory","item":[{"name":"Latest snapshot from the Xray observatory — per-outbound latency, health status, and last-probe time. Only populated when the Xray config has an observatory configured.","id":"4d3de56f-20cd-45d5-936d-e2a4207032f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/xrayObservatory","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayObservatory"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"b6f5d237-81e1-4d9d-9b23-1c09e44a1c74","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/xrayObservatory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"4d3de56f-20cd-45d5-936d-e2a4207032f1"}],"id":"cc7378e7-cfb8-414e-bc05-44727660aaa7","_postman_id":"cc7378e7-cfb8-414e-bc05-44727660aaa7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xrayObservatoryHistory","item":[{"name":"{tag}","item":[{"name":"{bucket}","item":[{"name":"Time-series of observatory probe results for one outbound tag. Same {t, v} shape as the other history endpoints.","id":"b15dc8d1-3696-40ed-81be-f00611a97c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/xrayObservatoryHistory/:tag/:bucket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayObservatoryHistory",":tag",":bucket"],"host":["/"],"query":[],"variable":[{"id":"c1eaee05-ac3c-475a-a6d4-79e455b8d96c","description":{"content":"<p>Outbound tag from the observatory config.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"tag"},{"id":"bc08de4a-a283-4597-9bcb-94d89aca12f6","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"bucket"}]}},"response":[{"id":"f80c6e33-f94a-482f-a8e3-6e971061dc51","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/xrayObservatoryHistory/:tag/:bucket","host":["/"],"path":["panel","api","server","xrayObservatoryHistory",":tag",":bucket"],"variable":[{"key":"tag","value":"string","description":"Outbound tag from the observatory config."},{"key":"bucket","value":"5362","description":"Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b15dc8d1-3696-40ed-81be-f00611a97c67"}],"id":"744d37df-d072-4ab9-9be7-c1979beecad5","_postman_id":"744d37df-d072-4ab9-9be7-c1979beecad5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"ad975554-1f4d-4154-bbe1-c879d25ba753","_postman_id":"ad975554-1f4d-4154-bbe1-c879d25ba753","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"5824597b-ecdc-4013-b5ec-35e0ca865d5d","_postman_id":"5824597b-ecdc-4013-b5ec-35e0ca865d5d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getXrayVersion","item":[{"name":"List Xray binary versions available for install on this host.","id":"b56e8774-fac0-410c-98df-1edce716d68e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getXrayVersion","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getXrayVersion"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"48b64e89-1e96-403f-8551-77a492fa02ea","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getXrayVersion"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    \"v25.10.31\",\n    \"v25.9.15\",\n    \"v25.8.1\"\n  ]\n}"}],"_postman_id":"b56e8774-fac0-410c-98df-1edce716d68e"}],"id":"806c804a-6b4b-400a-8b49-45ddaf487324","_postman_id":"806c804a-6b4b-400a-8b49-45ddaf487324","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getPanelUpdateInfo","item":[{"name":"Check whether a newer 3x-ui release is available on GitHub.","id":"fc870dd5-f92d-431f-8d7e-251f4633bf57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getPanelUpdateInfo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getPanelUpdateInfo"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e1a44127-f536-4695-8d2e-59f80b6804c3","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getPanelUpdateInfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"fc870dd5-f92d-431f-8d7e-251f4633bf57"}],"id":"e1cb440d-018e-4d15-8aee-3ad35b309e4a","_postman_id":"e1cb440d-018e-4d15-8aee-3ad35b309e4a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getConfigJson","item":[{"name":"Return the assembled Xray config that’s currently running on this host.","id":"3c2d8aa2-242d-47f8-8659-3f03028cd7fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getConfigJson","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getConfigJson"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"99179d39-bdfa-473e-bd67-9e0b4a0b5e80","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getConfigJson"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3c2d8aa2-242d-47f8-8659-3f03028cd7fe"}],"id":"c982f6fd-d4ca-459e-8aa1-6432c20f7254","_postman_id":"c982f6fd-d4ca-459e-8aa1-6432c20f7254","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getDb","item":[{"name":"Stream the SQLite database file as an attachment. Use as a manual backup.","id":"eb627de9-5d66-4ac9-b327-3664e60c770a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getDb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getDb"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"928d102d-5f84-47d0-8635-8b4aaef886cb","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getDb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"eb627de9-5d66-4ac9-b327-3664e60c770a"}],"id":"a4197df1-a9b7-45a3-a0cb-db40afa4cb2f","_postman_id":"a4197df1-a9b7-45a3-a0cb-db40afa4cb2f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewUUID","item":[{"name":"Generate a fresh UUID v4. Convenience helper for client IDs.","id":"8ea12c6b-e9fe-457e-aff1-dc3fddd687e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getNewUUID","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewUUID"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"1dec761f-b49a-49e0-86d3-4d362d94055a","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getNewUUID"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"}],"_postman_id":"8ea12c6b-e9fe-457e-aff1-dc3fddd687e6"}],"id":"275b8f7b-bd10-49fe-bb50-25b44e231586","_postman_id":"275b8f7b-bd10-49fe-bb50-25b44e231586","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewX25519Cert","item":[{"name":"Generate a new X25519 keypair for Reality.","id":"b01b757d-f6a5-4123-bed4-803900f8cd9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getNewX25519Cert","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewX25519Cert"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"d36cdf26-b01d-4c38-927a-7b796c5904d3","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getNewX25519Cert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"privateKey\": \"uN9qLfV3zH8w...\",\n    \"publicKey\": \"5v8xPqR2sM7k...\"\n  }\n}"}],"_postman_id":"b01b757d-f6a5-4123-bed4-803900f8cd9c"}],"id":"d62a2eac-76fc-4832-8ca9-b8e21c8a0576","_postman_id":"d62a2eac-76fc-4832-8ca9-b8e21c8a0576","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewmldsa65","item":[{"name":"Generate a new ML-DSA-65 keypair (post-quantum signature). Returns {privateKey, publicKey, seed}.","id":"a7e7e1fd-bc75-4d78-92ca-116e4cd5a93e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getNewmldsa65","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewmldsa65"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2e6ab3b4-73ec-4402-a390-659abfaad3e6","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getNewmldsa65"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"privateKey\": \"mdsa65priv...\",\n    \"publicKey\": \"mdsa65pub...\",\n    \"seed\": \"random-seed...\"\n  }\n}"}],"_postman_id":"a7e7e1fd-bc75-4d78-92ca-116e4cd5a93e"}],"id":"0c3225c7-48dd-4411-8e36-62b990f924db","_postman_id":"0c3225c7-48dd-4411-8e36-62b990f924db","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewmlkem768","item":[{"name":"Generate a new ML-KEM-768 keypair (post-quantum KEM). Returns {clientKey, serverKey}.","id":"5d2b576d-28a5-45ca-a5de-b56eb07995d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getNewmlkem768","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewmlkem768"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9c075646-2627-479f-872c-18659f932896","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getNewmlkem768"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"clientKey\": \"mlkem768-client...\",\n    \"serverKey\": \"mlkem768-server...\"\n  }\n}"}],"_postman_id":"5d2b576d-28a5-45ca-a5de-b56eb07995d7"}],"id":"4a268aba-d29a-4cbc-a686-701ee117213c","_postman_id":"4a268aba-d29a-4cbc-a686-701ee117213c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewVlessEnc","item":[{"name":"Generate VLESS encryption auth options. Returns an auths array each with id, label, encryption, and decryption fields.","id":"53d57c6c-bfde-4024-8a7b-8c3ceae93365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/getNewVlessEnc","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewVlessEnc"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"722ac942-4dda-4894-aeef-03eb55a48e6f","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/getNewVlessEnc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"auths\": [\n      {\n        \"id\": 0,\n        \"label\": \"Auth #0\",\n        \"encryption\": \"aes-256-gcm\",\n        \"decryption\": \"\"\n      }\n    ]\n  }\n}"}],"_postman_id":"53d57c6c-bfde-4024-8a7b-8c3ceae93365"}],"id":"30653c91-033e-4905-aade-830e45733a4c","_postman_id":"30653c91-033e-4905-aade-830e45733a4c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"stopXrayService","item":[{"name":"Stop the Xray binary. All proxies go offline immediately.","id":"bbab71d4-b671-40cd-88a8-b0881231e740","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/stopXrayService","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","stopXrayService"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"56ee2900-707f-4d78-8570-eed893ee89ce","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/stopXrayService"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"ae565db4-8a2d-44a4-85d6-d9b7ea7ec7dc","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/stopXrayService"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"Xray is not running\"\n}"}],"_postman_id":"bbab71d4-b671-40cd-88a8-b0881231e740"}],"id":"01aca40a-2017-4fe8-9c9b-c916c094f321","_postman_id":"01aca40a-2017-4fe8-9c9b-c916c094f321","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"restartXrayService","item":[{"name":"Reload Xray with the current config. Typically required after structural inbound or routing changes.","id":"885b53ab-047b-4745-bc08-9b83852c594a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/restartXrayService","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","restartXrayService"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a9b9ff4e-dd6b-4290-9385-f84a7113a1b6","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/restartXrayService"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"a1da3c50-4a7c-41fd-8328-ac92dfa84554","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/restartXrayService"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"Xray config is invalid: ...\"\n}"}],"_postman_id":"885b53ab-047b-4745-bc08-9b83852c594a"}],"id":"b2b1d56c-808c-402d-9363-0aa9a8d5a0bd","_postman_id":"b2b1d56c-808c-402d-9363-0aa9a8d5a0bd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"installXray","item":[{"name":"{version}","item":[{"name":"Download and install the specified Xray version. Pass \"latest\" for the newest release.","id":"3ccbb679-d2f4-48c5-a16d-90254e851fb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/installXray/:version","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","installXray",":version"],"host":["/"],"query":[],"variable":[{"id":"dab7c863-6727-47a5-83ce-6d9e03363e69","description":{"content":"<p>Xray tag (e.g. v25.10.31) or \"latest\".</p>\n","type":"text/plain"},"type":"any","value":"string","key":"version"}]}},"response":[{"id":"b89d14ff-ce8f-4f08-a139-f8f132d861ef","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/installXray/:version","host":["/"],"path":["panel","api","server","installXray",":version"],"variable":[{"key":"version","value":"string","description":"Xray tag (e.g. v25.10.31) or \"latest\"."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3ccbb679-d2f4-48c5-a16d-90254e851fb9"}],"id":"a59996a4-0007-4169-81fd-d5dd42bab01d","_postman_id":"a59996a4-0007-4169-81fd-d5dd42bab01d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"d7dc853d-7940-4353-940e-e62a9ad1030b","_postman_id":"d7dc853d-7940-4353-940e-e62a9ad1030b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"updatePanel","item":[{"name":"Self-update the panel to the latest version. The server restarts on success.","id":"b5d02bf7-0a83-4175-9db2-11d5163e7c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/updatePanel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updatePanel"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a0d58c43-5d22-495e-98e5-311e7a1f0db1","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/updatePanel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b5d02bf7-0a83-4175-9db2-11d5163e7c62"}],"id":"f555797c-ac9c-42c1-9716-e350e170906c","_postman_id":"f555797c-ac9c-42c1-9716-e350e170906c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"updateGeofile","item":[{"name":"{fileName}","item":[{"name":"Refresh a single Geo file by filename (e.g. geoip.dat, geosite.dat).","id":"ce79d7aa-be23-47f9-be2c-26473f14ad3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/updateGeofile/:fileName","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updateGeofile",":fileName"],"host":["/"],"query":[],"variable":[{"id":"e6296090-3933-40c3-9a46-e6a5078580b8","description":{"content":"<p>Filename of the data file to refresh.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"fileName"}]}},"response":[{"id":"7a123df8-d73b-4bd9-9eec-b76f3409c548","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/server/updateGeofile/:fileName","host":["/"],"path":["panel","api","server","updateGeofile",":fileName"],"variable":[{"key":"fileName","value":"string","description":"Filename of the data file to refresh."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ce79d7aa-be23-47f9-be2c-26473f14ad3d"}],"id":"a49f8b09-7b0d-489b-8854-b222b4c176c0","_postman_id":"a49f8b09-7b0d-489b-8854-b222b4c176c0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"Refresh the default GeoIP / GeoSite data files. Body can include a fileName, or use the /:fileName variant.","id":"66ebeea1-1c32-4b0e-8ced-2aa5e1637672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/updateGeofile","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updateGeofile"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2ea52fd2-f5c5-44dd-a0ad-6be1a6c34ef3","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/updateGeofile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"66ebeea1-1c32-4b0e-8ced-2aa5e1637672"}],"id":"42ea41c5-5ee2-4234-bd3b-ed9e649bd144","_postman_id":"42ea41c5-5ee2-4234-bd3b-ed9e649bd144","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"logs","item":[{"name":"{count}","item":[{"name":"Return the last N lines of the panel’s own log.","id":"96f4c87d-36c5-484c-89a2-ddcbbf0dc4b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"level\": \"info\",\n  \"syslog\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/logs/:count","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","logs",":count"],"host":["/"],"query":[],"variable":[{"id":"f7218f7d-f241-4a4f-ba7d-4f5d7d657c47","description":{"content":"<p>Number of trailing log lines.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"count"}]}},"response":[{"id":"ecff5979-75fd-4a04-b0f5-956dbab63de6","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"level\": \"info\",\n  \"syslog\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/server/logs/:count","host":["/"],"path":["panel","api","server","logs",":count"],"variable":[{"key":"count","value":"5362","description":"Number of trailing log lines."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": \"2025/01/01 12:00:00 [INFO] Server started\\n2025/01/01 12:00:01 [INFO] Xray is running\"\n}"}],"_postman_id":"96f4c87d-36c5-484c-89a2-ddcbbf0dc4b6"}],"id":"2a43482f-5891-4687-b490-58a17b167ed3","_postman_id":"2a43482f-5891-4687-b490-58a17b167ed3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"b2403a4a-5961-4446-8e06-f0410cf3ac49","_postman_id":"b2403a4a-5961-4446-8e06-f0410cf3ac49","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xraylogs","item":[{"name":"{count}","item":[{"name":"Return the last N lines of the Xray process log.","id":"61eda52d-e40a-4ebb-b91b-1e865382d152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/xraylogs/:count","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xraylogs",":count"],"host":["/"],"query":[],"variable":[{"id":"d8a309bb-0a4f-4606-a520-66e13dfe59dd","description":{"content":"<p>Number of trailing log lines.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"count"}]}},"response":[{"id":"ae252940-d27b-4603-8c25-8ccff3aaafc1","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/server/xraylogs/:count","host":["/"],"path":["panel","api","server","xraylogs",":count"],"variable":[{"key":"count","value":"5362","description":"Number of trailing log lines."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": \"2025/01/01 12:00:00 rejected  vless  proxy  example.com  reason: no valid user\\n2025/01/01 12:00:01 direct  freedom  ok\"\n}"}],"_postman_id":"61eda52d-e40a-4ebb-b91b-1e865382d152"}],"id":"6d6ce5ac-4e0b-47b6-8fe8-c862f2e49c05","_postman_id":"6d6ce5ac-4e0b-47b6-8fe8-c862f2e49c05","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"f308ad99-fb67-4e89-a026-61e5a7f14bf0","_postman_id":"f308ad99-fb67-4e89-a026-61e5a7f14bf0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"importDB","item":[{"name":"Restore the panel DB from an uploaded SQLite file (multipart form, field name \"db\"). The panel restarts after restore. Destructive.","id":"7cccdbe6-e4cf-41bd-845a-1f3178535486","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/server/importDB","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","importDB"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c0299d48-2af0-4b52-97e9-f9f842b51936","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/server/importDB"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"7cccdbe6-e4cf-41bd-845a-1f3178535486"}],"id":"430f4803-ac1c-4974-a1c5-70b7340e702c","_postman_id":"430f4803-ac1c-4974-a1c5-70b7340e702c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewEchCert","item":[{"name":"Generate a new ECH (Encrypted Client Hello) keypair and config list for the given SNI.","id":"4f234254-7626-4aa8-bb50-42a84adf4415","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/getNewEchCert","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewEchCert"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e33ba35a-f25b-4d13-8bc9-1a33d6d19194","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/server/getNewEchCert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"4f234254-7626-4aa8-bb50-42a84adf4415"}],"id":"ed8f62cd-54e9-4534-a7e6-e21201bb1a3a","_postman_id":"ed8f62cd-54e9-4534-a7e6-e21201bb1a3a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"2e1fc38a-ed83-4a2d-b83c-0459acbafead","_postman_id":"2e1fc38a-ed83-4a2d-b83c-0459acbafead","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"clients","item":[{"name":"list","item":[{"name":"paged","item":[{"name":"Filter, sort, and paginate clients on the server. Each item is a slim row (no uuid/password/auth/flow/security/reverse/tgId) so the clients page can ship 25-ish rows in a few KB instead of the full table. The response also includes a summary computed acro","id":"1859d0f4-a8a9-4186-9e2f-e9ff9edad153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/list/paged?page=5362&pageSize=5362&search=string&filter=string&protocol=string&sort=string&order=string","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","list","paged"],"host":["/"],"query":[{"description":{"content":"<p>1-indexed page number. Defaults to 1.</p>\n","type":"text/plain"},"key":"page","value":"5362"},{"description":{"content":"<p>Rows per page. Defaults to 25, capped at 200.</p>\n","type":"text/plain"},"key":"pageSize","value":"5362"},{"description":{"content":"<p>Case-insensitive substring match on email / subId / comment.</p>\n","type":"text/plain"},"key":"search","value":"string"},{"description":{"content":"<p>Status bucket: online | active | deactive | depleted | expiring.</p>\n","type":"text/plain"},"key":"filter","value":"string"},{"description":{"content":"<p>Match clients attached to at least one inbound of this protocol (vless, vmess, trojan, shadowsocks, ...).</p>\n","type":"text/plain"},"key":"protocol","value":"string"},{"description":{"content":"<p>Sort key: enable | email | inboundIds | traffic | remaining | expiryTime.</p>\n","type":"text/plain"},"key":"sort","value":"string"},{"description":{"content":"<p>ascend or descend.</p>\n","type":"text/plain"},"key":"order","value":"string"}],"variable":[]}},"response":[{"id":"8270313e-a0d6-4b73-afc5-2f340583a12e","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/list/paged?page=5362&pageSize=5362&search=string&filter=string&protocol=string&sort=string&order=string","host":["/"],"path":["panel","api","clients","list","paged"],"query":[{"description":"1-indexed page number. Defaults to 1.","key":"page","value":"5362"},{"description":"Rows per page. Defaults to 25, capped at 200.","key":"pageSize","value":"5362"},{"description":"Case-insensitive substring match on email / subId / comment.","key":"search","value":"string"},{"description":"Status bucket: online | active | deactive | depleted | expiring.","key":"filter","value":"string"},{"description":"Match clients attached to at least one inbound of this protocol (vless, vmess, trojan, shadowsocks, ...).","key":"protocol","value":"string"},{"description":"Sort key: enable | email | inboundIds | traffic | remaining | expiryTime.","key":"sort","value":"string"},{"description":"ascend or descend.","key":"order","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"items\": [\n      {\n        \"email\": \"alice@example.com\",\n        \"subId\": \"abcd1234\",\n        \"enable\": true,\n        \"totalGB\": 53687091200,\n        \"expiryTime\": 1735689600000,\n        \"limitIp\": 0,\n        \"reset\": 0,\n        \"inboundIds\": [\n          3,\n          5\n        ],\n        \"traffic\": {\n          \"up\": 1024,\n          \"down\": 4096,\n          \"enable\": true\n        },\n        \"createdAt\": 1735000000000,\n        \"updatedAt\": 1735100000000\n      }\n    ],\n    \"total\": 2000,\n    \"filtered\": 47,\n    \"page\": 1,\n    \"pageSize\": 25,\n    \"summary\": {\n      \"total\": 2000,\n      \"active\": 1850,\n      \"online\": [\n        \"alice@example.com\"\n      ],\n      \"depleted\": [],\n      \"expiring\": [],\n      \"deactive\": []\n    }\n  }\n}"}],"_postman_id":"1859d0f4-a8a9-4186-9e2f-e9ff9edad153"}],"id":"63947ef2-3901-42a3-8dda-8912b2ef3a8f","_postman_id":"63947ef2-3901-42a3-8dda-8912b2ef3a8f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"List every client with its attached inbound IDs and traffic record. The reverse field, if set, is returned as a nested JSON object (legacy JSON-encoded-string form is still accepted on write).","id":"1cc12b99-39e5-4fa2-a393-615b71c6deb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3f361061-bb2d-4bd2-b4ef-1adf9398afee","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/clients/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"email\": \"alice@example.com\",\n      \"subId\": \"abcd1234\",\n      \"uuid\": \"...\",\n      \"totalGB\": 53687091200,\n      \"expiryTime\": 1735689600000,\n      \"enable\": true,\n      \"reverse\": null,\n      \"inboundIds\": [\n        3,\n        5\n      ],\n      \"traffic\": {\n        \"up\": 1024,\n        \"down\": 4096,\n        \"enable\": true\n      }\n    }\n  ]\n}"}],"_postman_id":"1cc12b99-39e5-4fa2-a393-615b71c6deb3"}],"id":"34f6d5d7-37e0-401e-a1f4-e7bd0451722f","_postman_id":"34f6d5d7-37e0-401e-a1f4-e7bd0451722f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"get","item":[{"name":"{email}","item":[{"name":"Fetch one client by email, including the inbound IDs it is attached to.","id":"147e854c-7458-4887-92df-9099c24176d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/get/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","get",":email"],"host":["/"],"query":[],"variable":[{"id":"77ada9fe-5762-43be-9d7d-b9fb80df3a18","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"ec7bb62a-61b2-430d-9b30-2bbb34cb2b16","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/get/:email","host":["/"],"path":["panel","api","clients","get",":email"],"variable":[{"key":"email","value":"string","description":"Client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"147e854c-7458-4887-92df-9099c24176d4"}],"id":"c0f28a5b-4400-4286-868d-1a3416b1e998","_postman_id":"c0f28a5b-4400-4286-868d-1a3416b1e998","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"99e0f901-ca45-4de3-8423-e24d5c5d2b79","_postman_id":"99e0f901-ca45-4de3-8423-e24d5c5d2b79","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"add","item":[{"name":"Create a new client and attach it to one or more inbounds in a single call. Body is JSON. Per-protocol secrets (UUID for VLESS/VMess, password for Trojan/Shadowsocks, auth for Hysteria) are generated server-side when omitted, so callers can send only the ","id":"511aa318-621a-4abd-ae5c-ced8cf7b034f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"client\": {\n    \"email\": \"alice@example.com\",\n    \"totalGB\": 53687091200,\n    \"expiryTime\": 1735689600000,\n    \"tgId\": 0,\n    \"limitIp\": 0,\n    \"enable\": true\n  },\n  \"inboundIds\": [\n    3,\n    5\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/add","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c3f67c8e-c1de-4671-94ad-adba54f0b519","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"client\": {\n    \"email\": \"alice@example.com\",\n    \"totalGB\": 53687091200,\n    \"expiryTime\": 1735689600000,\n    \"tgId\": 0,\n    \"limitIp\": 0,\n    \"enable\": true\n  },\n  \"inboundIds\": [\n    3,\n    5\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"Client added\"\n}"}],"_postman_id":"511aa318-621a-4abd-ae5c-ced8cf7b034f"}],"id":"b282a97c-9a53-4878-ba3f-c9429d5d9c9d","_postman_id":"b282a97c-9a53-4878-ba3f-c9429d5d9c9d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"{email}","item":[{"name":"Update an existing client by email. Changes propagate to every attached inbound. Body is the JSON client payload — supply the full set of fields you want to keep (the server replaces the row, it does not patch).","id":"165f998d-9c54-42db-9ea5-eca9392b4906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"alice@example.com\",\n  \"totalGB\": 107374182400,\n  \"expiryTime\": 1767225600000,\n  \"tgId\": 123456789,\n  \"enable\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/update/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","update",":email"],"host":["/"],"query":[],"variable":[{"id":"f752849a-f019-4f76-9ae0-9f53e2ce122c","description":{"content":"<p>Current client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"70daef4b-2d54-4e0d-9375-21524fb05081","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"alice@example.com\",\n  \"totalGB\": 107374182400,\n  \"expiryTime\": 1767225600000,\n  \"tgId\": 123456789,\n  \"enable\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/clients/update/:email","host":["/"],"path":["panel","api","clients","update",":email"],"variable":[{"key":"email","value":"string","description":"Current client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"Client updated\"\n}"}],"_postman_id":"165f998d-9c54-42db-9ea5-eca9392b4906"}],"id":"260af38e-bef9-49c7-b946-b7e7f7a742c8","_postman_id":"260af38e-bef9-49c7-b946-b7e7f7a742c8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"5ffab070-5f47-433b-8a21-509f7bf4cc91","_postman_id":"5ffab070-5f47-433b-8a21-509f7bf4cc91","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"del","item":[{"name":"{email}","item":[{"name":"Delete a client by email. Removes it from every attached inbound and drops its traffic record unless keepTraffic=1 is passed.","id":"2b83855d-b45f-4daa-ba1c-39d92683c17c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/del/:email?keepTraffic=5362","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","del",":email"],"host":["/"],"query":[{"description":{"content":"<p>Pass 1 to retain the xray_client_traffic row after deletion.</p>\n","type":"text/plain"},"key":"keepTraffic","value":"5362"}],"variable":[{"id":"773a49e1-cce2-4d74-83ed-be8a358ad60e","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"a305d41c-9c04-47be-901e-d3e39b45431e","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/del/:email?keepTraffic=5362","host":["/"],"path":["panel","api","clients","del",":email"],"query":[{"description":"Pass 1 to retain the xray_client_traffic row after deletion.","key":"keepTraffic","value":"5362"}],"variable":[{"key":"email","value":"string","description":"Client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"Client deleted\"\n}"}],"_postman_id":"2b83855d-b45f-4daa-ba1c-39d92683c17c"}],"id":"d84fc9c4-a714-4ae5-bdb0-a77a58ad58f8","_postman_id":"d84fc9c4-a714-4ae5-bdb0-a77a58ad58f8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"5d3c34e5-a373-43fe-a391-3f30342f2cf5","_postman_id":"5d3c34e5-a373-43fe-a391-3f30342f2cf5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"{email}","item":[{"name":"attach","item":[{"name":"Attach an existing client to one or more additional inbounds. Body is JSON.","id":"e8b5fa7b-46d4-4726-950e-a287a5231920","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/:email/attach","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients",":email","attach"],"host":["/"],"query":[],"variable":[{"id":"37aee76a-4ab9-4e25-9717-4f37bdd2c04c","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"5658a4d1-1a49-4af0-8e50-cfa8c6e13e27","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/clients/:email/attach","host":["/"],"path":["panel","api","clients",":email","attach"],"variable":[{"key":"email","value":"string","description":"Client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"e8b5fa7b-46d4-4726-950e-a287a5231920"}],"id":"66398038-bee8-4b9e-ab85-3215d8db53c2","_postman_id":"66398038-bee8-4b9e-ab85-3215d8db53c2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"detach","item":[{"name":"Detach a client from one or more inbounds without deleting the client.","id":"9165cf7c-a988-4df2-b9ff-4a6053b9a59f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"inboundIds\": [\n    5\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/:email/detach","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients",":email","detach"],"host":["/"],"query":[],"variable":[{"id":"ba3aaf80-69e1-48d7-b83c-3166c57abee4","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"0596980a-3854-49c0-b603-55d3f06ccdf0","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"inboundIds\": [\n    5\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/clients/:email/detach","host":["/"],"path":["panel","api","clients",":email","detach"],"variable":[{"key":"email","value":"string","description":"Client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"9165cf7c-a988-4df2-b9ff-4a6053b9a59f"}],"id":"c8ec5904-5a38-4b29-88b7-6bdc50fa8faa","_postman_id":"c8ec5904-5a38-4b29-88b7-6bdc50fa8faa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"c57608f1-d6b8-4405-8b3f-a6920709b96d","_postman_id":"c57608f1-d6b8-4405-8b3f-a6920709b96d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetAllTraffics","item":[{"name":"Reset the up/down counters for every client globally. Quotas and expiry are not affected. Triggers an Xray restart if any counter actually moved.","id":"40611850-b7d4-4f36-a36b-335f30df3446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/resetAllTraffics","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","resetAllTraffics"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"bef24b75-180c-432a-9023-1e1752412044","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/clients/resetAllTraffics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"40611850-b7d4-4f36-a36b-335f30df3446"}],"id":"5a4d9831-727f-4943-9091-37e36e0b2032","_postman_id":"5a4d9831-727f-4943-9091-37e36e0b2032","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"delDepleted","item":[{"name":"Delete every client whose traffic quota is exhausted (used >= total, when reset is disabled) or whose expiry has passed. Returns the deleted count and triggers an Xray restart when any client was on a running inbound.","id":"e8ef957a-bd81-4b14-9300-a4d86ad6c10b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/delDepleted","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","delDepleted"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"15166688-09da-4b49-999f-7e42118b922e","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/clients/delDepleted"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"deleted\": 0\n  }\n}"}],"_postman_id":"e8ef957a-bd81-4b14-9300-a4d86ad6c10b"}],"id":"62eaa889-29cb-4f64-ac78-885807e0202a","_postman_id":"62eaa889-29cb-4f64-ac78-885807e0202a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkAdjust","item":[{"name":"Shift expiry and/or traffic quota for many clients in one call. addDays/addBytes may be negative. Clients with unlimited expiry (expiryTime=0) or unlimited traffic (totalGB=0) are skipped for the corresponding field — bulk extend never converts unlimited ","id":"57a230d0-fa70-4118-b30d-dd14527d0152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"emails\": [\n    \"alice\",\n    \"bob\"\n  ],\n  \"addDays\": 30,\n  \"addBytes\": 53687091200\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkAdjust","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkAdjust"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c0c18986-e669-4cc9-980b-31081b703917","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"emails\": [\n    \"alice\",\n    \"bob\"\n  ],\n  \"addDays\": 30,\n  \"addBytes\": 53687091200\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkAdjust"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"adjusted\": 2,\n    \"skipped\": [\n      {\n        \"email\": \"carol\",\n        \"reason\": \"unlimited expiry\"\n      }\n    ]\n  }\n}"}],"_postman_id":"57a230d0-fa70-4118-b30d-dd14527d0152"}],"id":"5295c246-c8fd-4045-9722-afab0433165e","_postman_id":"5295c246-c8fd-4045-9722-afab0433165e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetTraffic","item":[{"name":"{email}","item":[{"name":"Zero out a single client’s up/down counters. Re-enables the client across every attached inbound and pushes the change to Xray (or the remote node) so depleted users can connect again immediately.","id":"cbeba166-bdc6-4495-bd6c-13fd7690c894","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/resetTraffic/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","resetTraffic",":email"],"host":["/"],"query":[],"variable":[{"id":"84301ae6-d2b3-4663-bb88-b7983a4d9e68","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"2e56224c-be07-48df-adeb-3984ae4b3ff8","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/resetTraffic/:email","host":["/"],"path":["panel","api","clients","resetTraffic",":email"],"variable":[{"key":"email","value":"string","description":"Client email."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"cbeba166-bdc6-4495-bd6c-13fd7690c894"}],"id":"62288a8f-9346-4666-b4a9-f7bab04e16db","_postman_id":"62288a8f-9346-4666-b4a9-f7bab04e16db","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"2ccbc3c1-6c52-46c3-aabc-e46145187c75","_postman_id":"2ccbc3c1-6c52-46c3-aabc-e46145187c75","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"updateTraffic","item":[{"name":"{email}","item":[{"name":"Manually adjust a client’s upload + download counters. Useful for migrations from external accounting systems.","id":"433af2b1-009e-46d1-ba58-764f76566b3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"upload\": 1073741824,\n  \"download\": 5368709120\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/updateTraffic/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","updateTraffic",":email"],"host":["/"],"query":[],"variable":[{"id":"aa64bcd8-6662-4546-9291-073a48cb50e1","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"350133b1-b41d-42d9-a453-d785b5e7ab8d","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"upload\": 1073741824,\n  \"download\": 5368709120\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/clients/updateTraffic/:email","host":["/"],"path":["panel","api","clients","updateTraffic",":email"],"variable":[{"key":"email","value":"string","description":"Client email."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"433af2b1-009e-46d1-ba58-764f76566b3c"}],"id":"eaa521ad-5a3a-4690-aaf1-26124ffcd777","_postman_id":"eaa521ad-5a3a-4690-aaf1-26124ffcd777","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"dbeb4daf-b0e1-45de-9396-09a91c679a5f","_postman_id":"dbeb4daf-b0e1-45de-9396-09a91c679a5f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"ips","item":[{"name":"{email}","item":[{"name":"List source IPs that have connected with the given client’s credentials. Returns an array of \"ip (timestamp)\" strings.","id":"d69d3798-1ee8-4a7d-8a0a-7fe87a0382a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/ips/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","ips",":email"],"host":["/"],"query":[],"variable":[{"id":"2f1e402c-f0ed-4b6e-84b3-1636108cdca3","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"76f3d2f8-1c19-4f24-9737-db69dd3782e1","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/ips/:email","host":["/"],"path":["panel","api","clients","ips",":email"],"variable":[{"key":"email","value":"string","description":"Client email."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"d69d3798-1ee8-4a7d-8a0a-7fe87a0382a1"}],"id":"b53830bd-3f5b-4c63-b3e6-fc8fc443935b","_postman_id":"b53830bd-3f5b-4c63-b3e6-fc8fc443935b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"2a3f7aed-f451-4744-bf3f-a677772171c2","_postman_id":"2a3f7aed-f451-4744-bf3f-a677772171c2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"clearIps","item":[{"name":"{email}","item":[{"name":"Reset the recorded IP list for a client.","id":"681cdfa9-4db3-48ba-8bb0-25693f9057d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/clearIps/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","clearIps",":email"],"host":["/"],"query":[],"variable":[{"id":"99c5829e-d8f5-436c-9bce-dae0d260393a","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"dcdf4a92-98cc-4b4b-8694-b20f3aa9eb90","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/clearIps/:email","host":["/"],"path":["panel","api","clients","clearIps",":email"],"variable":[{"key":"email","value":"string","description":"Client email."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"681cdfa9-4db3-48ba-8bb0-25693f9057d6"}],"id":"1dd57ca7-ae43-4a57-af5e-6dea01cb9b00","_postman_id":"1dd57ca7-ae43-4a57-af5e-6dea01cb9b00","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"e1d0ff5a-8d35-4461-b48f-80d4b58db21f","_postman_id":"e1d0ff5a-8d35-4461-b48f-80d4b58db21f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"onlines","item":[{"name":"List the emails of currently connected clients (last seen within the heartbeat window).","id":"90890429-4aa3-41dc-abe7-6ab19f815b13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/onlines","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","onlines"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"fc053451-6ec6-46d2-84d8-67cc0e372a52","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/clients/onlines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    \"user1\",\n    \"user2\"\n  ]\n}"}],"_postman_id":"90890429-4aa3-41dc-abe7-6ab19f815b13"}],"id":"08e79a4e-fe4e-4aec-9468-f0ae033503fe","_postman_id":"08e79a4e-fe4e-4aec-9468-f0ae033503fe","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"lastOnline","item":[{"name":"Map of client email → last-seen unix timestamp.","id":"43482e6a-eb47-46f0-ba7d-82741d273df9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/lastOnline","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","lastOnline"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5195b040-f38e-434a-b4b3-cbfdef6807d9","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/clients/lastOnline"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"user1\": 1700000000,\n    \"user2\": 1699999000\n  }\n}"}],"_postman_id":"43482e6a-eb47-46f0-ba7d-82741d273df9"}],"id":"44845ee2-6361-439a-b049-528075e37070","_postman_id":"44845ee2-6361-439a-b049-528075e37070","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"traffic","item":[{"name":"{email}","item":[{"name":"Traffic counters for a client identified by email.","id":"2c461c59-f6c9-4045-8118-178fd9a438ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/traffic/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","traffic",":email"],"host":["/"],"query":[],"variable":[{"id":"67d023e2-cbab-4794-be67-1d1f84d6d055","description":{"content":"<p>Client email (unique across the panel).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"6bada028-de7c-4c07-8784-744446d7ddee","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/traffic/:email","host":["/"],"path":["panel","api","clients","traffic",":email"],"variable":[{"key":"email","value":"string","description":"Client email (unique across the panel)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"email\": \"user1\",\n    \"up\": 1048576,\n    \"down\": 2097152,\n    \"total\": 10737418240,\n    \"expiryTime\": 1735689600000\n  }\n}"}],"_postman_id":"2c461c59-f6c9-4045-8118-178fd9a438ed"}],"id":"ac51eb7a-6f40-450a-8d3c-55b97ec4aa20","_postman_id":"ac51eb7a-6f40-450a-8d3c-55b97ec4aa20","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"049c1cbc-b628-4462-aea3-c677ab7c208f","_postman_id":"049c1cbc-b628-4462-aea3-c677ab7c208f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"subLinks","item":[{"name":"{subId}","item":[{"name":"Return every protocol URL (vless://, vmess://, trojan://, ss://, hysteria://, hy2://) for clients matching the subscription ID. Same result set as /sub/<subId>, but as a JSON array — no base64. When an inbound has streamSettings.externalProxy set, one URL","id":"0fcca4fa-1dcc-4fb7-a237-e7e17f7c8699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/subLinks/:subId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","subLinks",":subId"],"host":["/"],"query":[],"variable":[{"id":"022f81d7-46b2-4401-908d-82b2a850b411","description":{"content":"<p>Subscription ID, taken from the client's subId field.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"subId"}]}},"response":[{"id":"6035dcab-62c0-47ea-9391-7478fb4ad255","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/subLinks/:subId","host":["/"],"path":["panel","api","clients","subLinks",":subId"],"variable":[{"key":"subId","value":"string","description":"Subscription ID, taken from the client's subId field."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    \"vless://uuid@host:443?security=reality&...#user1\",\n    \"vmess://eyJ2IjoyLC...\"\n  ]\n}"}],"_postman_id":"0fcca4fa-1dcc-4fb7-a237-e7e17f7c8699"}],"id":"953dc7be-65c8-45a5-abd5-c42f72544ab0","_postman_id":"953dc7be-65c8-45a5-abd5-c42f72544ab0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"53df4651-545b-4b95-8127-20664dd5ceb5","_postman_id":"53df4651-545b-4b95-8127-20664dd5ceb5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"links","item":[{"name":"{email}","item":[{"name":"Return every URL for one client across all attached inbounds — the same strings the Copy URL button copies in the panel UI. Supported protocols: vmess, vless, trojan, shadowsocks, hysteria, hysteria2. If streamSettings.externalProxy is set, returns one UR","id":"b96406a6-ab6d-4e91-b8bb-08d0a2d4d5e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/links/:email","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","links",":email"],"host":["/"],"query":[],"variable":[{"id":"a45b3c7a-908e-483c-987d-41e742267df0","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"c7e4b316-dbae-4c9a-9267-7f501a47edf5","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/clients/links/:email","host":["/"],"path":["panel","api","clients","links",":email"],"variable":[{"key":"email","value":"string","description":"Client email (unique identifier)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    \"vless://uuid@host:443?...#user1\"\n  ]\n}"}],"_postman_id":"b96406a6-ab6d-4e91-b8bb-08d0a2d4d5e9"}],"id":"47ced70d-67e3-4493-b9ed-7c90bef45ca3","_postman_id":"47ced70d-67e3-4493-b9ed-7c90bef45ca3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"dd52e85d-b2ef-4b5d-9dd9-82e4042f91ca","_postman_id":"dd52e85d-b2ef-4b5d-9dd9-82e4042f91ca","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"03337fe2-b66c-4ce1-8d91-5e7dc9542c14","_postman_id":"03337fe2-b66c-4ce1-8d91-5e7dc9542c14","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"nodes","item":[{"name":"list","item":[{"name":"List every configured node with its connection details, health, and last heartbeat patch.","id":"f1edc514-e17b-4aa2-bc3f-ffed2d59e2b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/nodes/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4431c474-c691-4f9a-9499-313c322fcdcd","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/nodes/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"name\": \"de-fra-1\",\n      \"remark\": \"\",\n      \"scheme\": \"https\",\n      \"address\": \"node1.example.com\",\n      \"port\": 2053,\n      \"basePath\": \"/\",\n      \"apiToken\": \"abcdef...\",\n      \"enable\": true,\n      \"allowPrivateAddress\": false,\n      \"status\": \"online\",\n      \"lastHeartbeat\": 1700000000,\n      \"latencyMs\": 42,\n      \"xrayVersion\": \"25.x.x\",\n      \"panelVersion\": \"v3.x.x\",\n      \"cpuPct\": 23.5,\n      \"memPct\": 45.1,\n      \"uptimeSecs\": 86400,\n      \"lastError\": \"\",\n      \"inboundCount\": 5,\n      \"clientCount\": 27,\n      \"onlineCount\": 3,\n      \"depletedCount\": 1,\n      \"createdAt\": 1700000000,\n      \"updatedAt\": 1700000000\n    }\n  ]\n}"}],"_postman_id":"f1edc514-e17b-4aa2-bc3f-ffed2d59e2b7"}],"id":"92817544-068c-4f81-a31a-2d906c7ed7c8","_postman_id":"92817544-068c-4f81-a31a-2d906c7ed7c8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"get","item":[{"name":"{id}","item":[{"name":"Fetch a single node by ID.","id":"8a583b18-dcc2-4c01-a7c4-a20c3feb4e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/nodes/get/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","get",":id"],"host":["/"],"query":[],"variable":[{"id":"e5d8c2c8-0c36-4b92-9bcc-7c40880486dc","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"9a3e9c46-d112-4e0c-9cc9-99d135497a7d","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/nodes/get/:id","host":["/"],"path":["panel","api","nodes","get",":id"],"variable":[{"key":"id","value":"5362","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8a583b18-dcc2-4c01-a7c4-a20c3feb4e13"}],"id":"c21953c3-22c6-4709-a877-fed46e16cc02","_postman_id":"c21953c3-22c6-4709-a877-fed46e16cc02","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"ebc1fb9c-af09-4015-b1a7-e49b9753afcc","_postman_id":"ebc1fb9c-af09-4015-b1a7-e49b9753afcc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"add","item":[{"name":"Register a new remote node. Provide its URL, apiToken, and optional remark / allowPrivateAddress flag.","id":"1eeddb0b-ccbd-4f03-aa0d-cb5590cb928d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"de-fra-1\",\n  \"remark\": \"\",\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\",\n  \"enable\": true,\n  \"allowPrivateAddress\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/add","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"fe910d7a-bda5-470f-a6b2-3369991508c2","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"de-fra-1\",\n  \"remark\": \"\",\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\",\n  \"enable\": true,\n  \"allowPrivateAddress\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"1eeddb0b-ccbd-4f03-aa0d-cb5590cb928d"}],"id":"d627b22e-c3fc-4e3f-ba15-a1a86e701190","_postman_id":"d627b22e-c3fc-4e3f-ba15-a1a86e701190","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"{id}","item":[{"name":"Replace a node’s connection details. Same body shape as /add.","id":"2fcd83bf-9a42-4f9c-8a63-023e7f2f7ff2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"de-fra-1\",\n  \"remark\": \"\",\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\",\n  \"enable\": true,\n  \"allowPrivateAddress\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/update/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","update",":id"],"host":["/"],"query":[],"variable":[{"id":"63e08a71-6df5-48a4-8b09-de6b4e800ced","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"9e3604ce-e5ae-4222-a098-223d40718573","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"de-fra-1\",\n  \"remark\": \"\",\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\",\n  \"enable\": true,\n  \"allowPrivateAddress\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/nodes/update/:id","host":["/"],"path":["panel","api","nodes","update",":id"],"variable":[{"key":"id","value":"5362","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"2fcd83bf-9a42-4f9c-8a63-023e7f2f7ff2"}],"id":"40dbd89d-28d9-49a7-8602-c5a9ac6cb155","_postman_id":"40dbd89d-28d9-49a7-8602-c5a9ac6cb155","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"8b2560cf-dc61-488f-81e9-ba2e2d4aa2d9","_postman_id":"8b2560cf-dc61-488f-81e9-ba2e2d4aa2d9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"del","item":[{"name":"{id}","item":[{"name":"Delete a node. Inbounds bound to it are not auto-migrated.","id":"ca01e54f-deb2-4202-b83b-96778ae1ca4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/nodes/del/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","del",":id"],"host":["/"],"query":[],"variable":[{"id":"e8577330-32ec-4951-8d39-1d62a9e3332f","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"3d1ce0f4-c966-457c-9142-8ab95a46cf94","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/nodes/del/:id","host":["/"],"path":["panel","api","nodes","del",":id"],"variable":[{"key":"id","value":"5362","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ca01e54f-deb2-4202-b83b-96778ae1ca4d"}],"id":"9f54cf98-f0c7-4f6c-a476-2f586bb19430","_postman_id":"9f54cf98-f0c7-4f6c-a476-2f586bb19430","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"72e06690-8df2-4c01-8e0a-ace419bc4a9c","_postman_id":"72e06690-8df2-4c01-8e0a-ace419bc4a9c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"setEnable","item":[{"name":"{id}","item":[{"name":"Pause or resume traffic sync with this node.","id":"2b2cfcd0-723f-4bf1-a0f6-0abec82674e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"enable\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/setEnable/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","setEnable",":id"],"host":["/"],"query":[],"variable":[{"id":"330a00eb-4429-4bfa-9114-c211b50f5d0a","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"27a3a4ef-b4ba-454e-bb69-3558b7352f16","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"enable\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/api/nodes/setEnable/:id","host":["/"],"path":["panel","api","nodes","setEnable",":id"],"variable":[{"key":"id","value":"5362","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"2b2cfcd0-723f-4bf1-a0f6-0abec82674e8"}],"id":"9cd05370-d56f-4192-8485-2df4a7807c4a","_postman_id":"9cd05370-d56f-4192-8485-2df4a7807c4a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"08521f1b-384a-433a-9ca3-635929122f9e","_postman_id":"08521f1b-384a-433a-9ca3-635929122f9e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"test","item":[{"name":"Probe a node without saving it. Uses the body as connection details and returns the same heartbeat snapshot a registered node would have.","id":"592de4e4-bf1c-488e-a9ac-eadaf748dee4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/test","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","test"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a81f3e6d-e9ba-4707-bbaf-9fa4eb94511b","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"scheme\": \"https\",\n  \"address\": \"node1.example.com\",\n  \"port\": 2053,\n  \"basePath\": \"/\",\n  \"apiToken\": \"abcdef...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/nodes/test"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"status\": \"online\",\n    \"latencyMs\": 42,\n    \"xrayVersion\": \"25.x.x\",\n    \"panelVersion\": \"v3.x.x\",\n    \"cpuPct\": 12.5,\n    \"memPct\": 45.2,\n    \"uptimeSecs\": 86400,\n    \"error\": \"\"\n  }\n}"}],"_postman_id":"592de4e4-bf1c-488e-a9ac-eadaf748dee4"}],"id":"d3891f8f-8624-48a5-8daf-9c3ef81e8542","_postman_id":"d3891f8f-8624-48a5-8daf-9c3ef81e8542","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"probe","item":[{"name":"{id}","item":[{"name":"Probe an existing node, updating its cached health state.","id":"36554c9c-2a82-4f0e-b50d-6e29c31c5758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/nodes/probe/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","probe",":id"],"host":["/"],"query":[],"variable":[{"id":"bc33d1db-8cd4-474d-8c89-4cb9555fa092","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"6371d141-8f90-4d50-9b94-e5e1ab322f1c","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/nodes/probe/:id","host":["/"],"path":["panel","api","nodes","probe",":id"],"variable":[{"key":"id","value":"5362","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"36554c9c-2a82-4f0e-b50d-6e29c31c5758"}],"id":"104fe59a-6371-47db-be99-7e1d7b53a96c","_postman_id":"104fe59a-6371-47db-be99-7e1d7b53a96c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"f3a38973-6bf9-4d12-90c6-ca2fbf744085","_postman_id":"f3a38973-6bf9-4d12-90c6-ca2fbf744085","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"history","item":[{"name":"{id}","item":[{"name":"{metric}","item":[{"name":"{bucket}","item":[{"name":"Aggregated metric history for a node — same shape as /server/history, scoped to one node.","id":"88caa8e8-8a65-439c-b0cc-febe04832e38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/nodes/history/:id/:metric/:bucket","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","history",":id",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"b205d98e-90b9-483e-84b1-a78b9d883ade","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"},{"id":"6e5b1af1-bcda-4195-8c73-e3a0d2b16d60","description":{"content":"<p>cpu | mem.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"a0881b0b-04cf-436e-9b2c-09445b5ce3e3","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"bucket"}]}},"response":[{"id":"12c27091-e95e-43c2-b687-62deec09a241","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/nodes/history/:id/:metric/:bucket","host":["/"],"path":["panel","api","nodes","history",":id",":metric",":bucket"],"variable":[{"key":"id","value":"5362","description":"Node ID."},{"key":"metric","value":"string","description":"cpu | mem."},{"key":"bucket","value":"5362","description":"Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"88caa8e8-8a65-439c-b0cc-febe04832e38"}],"id":"0a592c13-cd1a-41a3-8331-90e1cef32ecc","_postman_id":"0a592c13-cd1a-41a3-8331-90e1cef32ecc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"9b9e5a21-e0ed-4d2f-9cdd-8ce0c5384221","_postman_id":"9b9e5a21-e0ed-4d2f-9cdd-8ce0c5384221","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"c0f82f81-2011-44a0-81b5-6ff501d0c6d3","_postman_id":"c0f82f81-2011-44a0-81b5-6ff501d0c6d3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"65c64566-6f71-4e14-b95f-fa9c6c91fcd8","_postman_id":"65c64566-6f71-4e14-b95f-fa9c6c91fcd8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"1fd7b8f0-de07-4aee-9cac-83497e2f3776","_postman_id":"1fd7b8f0-de07-4aee-9cac-83497e2f3776","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"custom-geo","item":[{"name":"list","item":[{"name":"List configured custom geo sources with their type, alias, URL, status, and last-download timestamp.","id":"9c037f3b-b82a-4b52-a75e-a9898796c99b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/list","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"8c22928b-f8d4-4942-82b6-b5fe72aad857","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/custom-geo/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"9c037f3b-b82a-4b52-a75e-a9898796c99b"}],"id":"7a4ebb71-694e-46ce-a078-d0aadf67de37","_postman_id":"7a4ebb71-694e-46ce-a078-d0aadf67de37","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"aliases","item":[{"name":"List geo aliases currently usable in routing rules — both built-in defaults and the user-configured ones.","id":"b69dd320-7bea-46da-9e46-dcc885a34944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/aliases","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","aliases"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a7620c30-fdc9-49d3-bb95-2ad834cd2d56","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/custom-geo/aliases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b69dd320-7bea-46da-9e46-dcc885a34944"}],"id":"c711dad9-6cb2-4734-b6f2-bfabb5a853af","_postman_id":"c711dad9-6cb2-4734-b6f2-bfabb5a853af","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"add","item":[{"name":"Register a custom geo source. Alias is auto-normalised; URL must point to a .dat / .json blob.","id":"ec9e842e-f4bc-41d4-a20b-0766a35f4a86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"geoip\",\n  \"alias\": \"myips\",\n  \"url\": \"https://example.com/geo/my.dat\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/custom-geo/add","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a8eb53cb-f40a-4f5a-915d-4ed18946efcd","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"geoip\",\n  \"alias\": \"myips\",\n  \"url\": \"https://example.com/geo/my.dat\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/custom-geo/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ec9e842e-f4bc-41d4-a20b-0766a35f4a86"}],"id":"db6d8087-c0f1-4b9c-9879-6e9a7e84eea4","_postman_id":"db6d8087-c0f1-4b9c-9879-6e9a7e84eea4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"{id}","item":[{"name":"Replace a custom geo source. Same body shape as /add.","id":"f35ed7dd-09e2-42ad-823b-77984a775d2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/update/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","update",":id"],"host":["/"],"query":[],"variable":[{"id":"4123d184-b816-4f6b-bc31-ef19670004f9","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"9986fd60-a718-43c7-bf6d-b1485cece735","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/custom-geo/update/:id","host":["/"],"path":["panel","api","custom-geo","update",":id"],"variable":[{"key":"id","value":"5362","description":"Custom geo source ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"f35ed7dd-09e2-42ad-823b-77984a775d2f"}],"id":"55a26dab-cc53-4cc4-a8b5-2ff957832bcd","_postman_id":"55a26dab-cc53-4cc4-a8b5-2ff957832bcd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"9c47731a-1a77-46fd-871a-bef97db3adfa","_postman_id":"9c47731a-1a77-46fd-871a-bef97db3adfa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"delete","item":[{"name":"{id}","item":[{"name":"Remove a custom geo source and its cached file.","id":"fbb9541d-e367-438c-adca-1be5eb8dc117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/delete/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","delete",":id"],"host":["/"],"query":[],"variable":[{"id":"5fd0d1e4-6e4b-4305-ac31-d72a6ae73f69","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"962727cd-21a1-4798-86c6-ab8db80cf40f","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/custom-geo/delete/:id","host":["/"],"path":["panel","api","custom-geo","delete",":id"],"variable":[{"key":"id","value":"5362","description":"Custom geo source ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"fbb9541d-e367-438c-adca-1be5eb8dc117"}],"id":"d0cdd706-cef4-4314-9648-fede1a6024ea","_postman_id":"d0cdd706-cef4-4314-9648-fede1a6024ea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"b41b0fb7-de85-47d5-a89c-44c19d8badc5","_postman_id":"b41b0fb7-de85-47d5-a89c-44c19d8badc5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"download","item":[{"name":"{id}","item":[{"name":"Re-download one custom geo source on demand.","id":"c1c4bf51-91d5-46ce-b15f-87d26afaeb28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/download/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","download",":id"],"host":["/"],"query":[],"variable":[{"id":"32be0e86-7d7d-454a-97e1-01853f1864dd","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"7c801c44-4add-4919-a5a9-9d53c86f14b6","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/api/custom-geo/download/:id","host":["/"],"path":["panel","api","custom-geo","download",":id"],"variable":[{"key":"id","value":"5362","description":"Custom geo source ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"c1c4bf51-91d5-46ce-b15f-87d26afaeb28"}],"id":"af4361e5-3451-4e14-9d43-2dbc7f87c73a","_postman_id":"af4361e5-3451-4e14-9d43-2dbc7f87c73a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"b2147555-d938-457a-bca2-d3dad865e4cb","_postman_id":"b2147555-d938-457a-bca2-d3dad865e4cb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update-all","item":[{"name":"Re-download every configured custom geo source. Errors are reported per-source in the response.","id":"b9347ee2-0179-4a8e-a461-4b23cd95d6db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/custom-geo/update-all","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","update-all"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3776124b-5423-493f-8c43-a0a07181179f","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/custom-geo/update-all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b9347ee2-0179-4a8e-a461-4b23cd95d6db"}],"id":"08b41a19-4341-4f58-962a-4332d9cb87b9","_postman_id":"08b41a19-4341-4f58-962a-4332d9cb87b9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"8e91d4e0-d908-4c05-8b66-809753d2b9dc","_postman_id":"8e91d4e0-d908-4c05-8b66-809753d2b9dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"backuptotgbot","item":[{"name":"Send a fresh DB backup to every Telegram chat configured as an admin recipient. No body, no params.","id":"65cfe651-88eb-4ee4-ac63-c29d5a483af1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/backuptotgbot","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","backuptotgbot"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"0fbd4379-5b88-4176-a110-8f97dfd7c761","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/api/backuptotgbot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"65cfe651-88eb-4ee4-ac63-c29d5a483af1"}],"id":"4f23aae4-07ef-4a97-8fe0-0d905f57281c","_postman_id":"4f23aae4-07ef-4a97-8fe0-0d905f57281c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"0d6948e3-061b-45aa-a2b8-0ca50adfbf92","_postman_id":"0d6948e3-061b-45aa-a2b8-0ca50adfbf92","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"setting","item":[{"name":"all","item":[{"name":"Return every panel setting: web server, Telegram bot, subscription, security, LDAP. The full JSON blob that the Settings page edits.","id":"09410343-eb5f-4986-8fb6-579bfdb33bce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/all","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","all"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"0dc27dfd-654e-4a76-a576-ff5d58367dbe","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/setting/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"09410343-eb5f-4986-8fb6-579bfdb33bce"}],"id":"b02eea74-aabb-4bd0-bc85-86ce61e9f623","_postman_id":"b02eea74-aabb-4bd0-bc85-86ce61e9f623","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"defaultSettings","item":[{"name":"Return the computed default settings based on the request host. Useful to preview what a fresh install would use.","id":"e8348e7d-ed41-49a9-a8ab-d78f21268d78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/defaultSettings","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","defaultSettings"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"885a4da9-e649-40f0-b7b1-9aba435057b0","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/setting/defaultSettings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e8348e7d-ed41-49a9-a8ab-d78f21268d78"}],"id":"db44efce-5383-4962-95c3-9610425aa1cc","_postman_id":"db44efce-5383-4962-95c3-9610425aa1cc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"Persist every setting at once. The body mirrors the shape returned by /all. Invalid values (bad ports, missing cert pairs, etc.) are rejected before write.","id":"01764ded-54fd-4164-8bc8-1b476cfb7422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","update"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3363cc0a-8328-4b3f-8151-98c011932580","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"01764ded-54fd-4164-8bc8-1b476cfb7422"}],"id":"9b828dcd-dfd8-4277-9472-084f9c5f2a30","_postman_id":"9b828dcd-dfd8-4277-9472-084f9c5f2a30","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"updateUser","item":[{"name":"Change the panel admin username and password. Requires the current credentials for verification. The session is refreshed with the new values on success.","id":"feceee75-b229-4a89-b30c-3e9aae43a55a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"oldUsername\": \"admin\",\n  \"oldPassword\": \"admin\",\n  \"newUsername\": \"newadmin\",\n  \"newPassword\": \"newpass\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/updateUser","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","updateUser"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4d5333f1-5e04-452e-8017-49c2b595bffe","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"oldUsername\": \"admin\",\n  \"oldPassword\": \"admin\",\n  \"newUsername\": \"newadmin\",\n  \"newPassword\": \"newpass\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/updateUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"feceee75-b229-4a89-b30c-3e9aae43a55a"}],"id":"ee9dec61-9163-4a1b-b980-f207e32e01eb","_postman_id":"ee9dec61-9163-4a1b-b980-f207e32e01eb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"restartPanel","item":[{"name":"Restart the entire 3x-ui process after a 3-second grace period. The connection drops immediately; the panel comes back online ~5-10 seconds later.","id":"b31b294d-4edf-4f8b-a8b0-017a9c6034b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/restartPanel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","restartPanel"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cf1f1979-5bc6-4215-9dec-97183436516d","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/setting/restartPanel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b31b294d-4edf-4f8b-a8b0-017a9c6034b0"}],"id":"7392bbfb-f33b-4a63-9236-d1bcfd564ac5","_postman_id":"7392bbfb-f33b-4a63-9236-d1bcfd564ac5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getDefaultJsonConfig","item":[{"name":"Return the built-in default Xray JSON config template that ships with this panel version.","id":"111a560e-2de2-4aff-abde-72d2e6e83988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/getDefaultJsonConfig","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","getDefaultJsonConfig"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"727857b9-f02a-41e3-b219-eab4a229c90a","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/setting/getDefaultJsonConfig"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"111a560e-2de2-4aff-abde-72d2e6e83988"}],"id":"1a7f2608-cf8e-4c0f-8953-5b18b48af3fd","_postman_id":"1a7f2608-cf8e-4c0f-8953-5b18b48af3fd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"apiTokens","item":[{"name":"create","item":[{"name":"Mint a new API token. Name must be unique and 1-64 characters; the token string is server-generated.","id":"50c7e5a2-8eca-4830-9cfa-88bfd9b12c2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"central-panel-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/apiTokens/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","create"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"82f43d99-b60c-450d-8b34-890a6b416d42","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"central-panel-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/apiTokens/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"id\": 2,\n    \"name\": \"central-panel-a\",\n    \"token\": \"new-token-string\",\n    \"enabled\": true,\n    \"createdAt\": 1736000000\n  }\n}"},{"id":"ba611aef-c388-46d9-a939-7833f9f06675","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"central-panel-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/apiTokens/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"a token with that name already exists\"\n}"}],"_postman_id":"50c7e5a2-8eca-4830-9cfa-88bfd9b12c2d"}],"id":"8a965836-10e0-44ff-b483-464188debbb4","_postman_id":"8a965836-10e0-44ff-b483-464188debbb4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"delete","item":[{"name":"{id}","item":[{"name":"Permanently delete a token. Any caller using it stops authenticating immediately.","id":"9a101461-c648-4f7d-837a-f9fb523f9ae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/apiTokens/delete/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","delete",":id"],"host":["/"],"query":[],"variable":[{"id":"41f613c3-512e-4f57-b286-8c36f67edca1","description":{"content":"<p>Token row ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"62c3dcce-8ca6-4cd0-b5e0-ae8a1e1ce052","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/setting/apiTokens/delete/:id","host":["/"],"path":["panel","setting","apiTokens","delete",":id"],"variable":[{"key":"id","value":"5362","description":"Token row ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"9a101461-c648-4f7d-837a-f9fb523f9ae8"}],"id":"205122c5-8307-475f-8131-f37f51aa3b06","_postman_id":"205122c5-8307-475f-8131-f37f51aa3b06","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"569ccf68-3244-4012-a034-0cf80398c96d","_postman_id":"569ccf68-3244-4012-a034-0cf80398c96d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"setEnabled","item":[{"name":"{id}","item":[{"name":"Toggle a token enabled/disabled without deleting it. Disabled tokens are rejected by checkAPIAuth on the next request.","id":"71bd31de-2cdf-43b7-88bf-6d28c207a92a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"enabled\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/setting/apiTokens/setEnabled/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","setEnabled",":id"],"host":["/"],"query":[],"variable":[{"id":"178a008c-4dfd-4976-9cba-9d377414d617","description":{"content":"<p>Token row ID.</p>\n","type":"text/plain"},"type":"any","value":"5362","key":"id"}]}},"response":[{"id":"1248f27e-853e-4d1d-908d-18635a4b4506","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"enabled\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//panel/setting/apiTokens/setEnabled/:id","host":["/"],"path":["panel","setting","apiTokens","setEnabled",":id"],"variable":[{"key":"id","value":"5362","description":"Token row ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true\n}"}],"_postman_id":"71bd31de-2cdf-43b7-88bf-6d28c207a92a"}],"id":"e3d606cb-838e-45e6-b493-f66fd65b965c","_postman_id":"e3d606cb-838e-45e6-b493-f66fd65b965c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"b7c05eed-e77e-43a0-867e-c712c6ef79d2","_postman_id":"b7c05eed-e77e-43a0-867e-c712c6ef79d2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"List every API token, enabled or not.","id":"f2e1c24c-8a1f-430a-ae34-286c53a4a946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/setting/apiTokens","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"585467a2-50ce-43b0-92c3-1c3940635959","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/setting/apiTokens"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    {\n      \"id\": 1,\n      \"name\": \"default\",\n      \"token\": \"abcdef-12345-...\",\n      \"enabled\": true,\n      \"createdAt\": 1736000000\n    }\n  ]\n}"}],"_postman_id":"f2e1c24c-8a1f-430a-ae34-286c53a4a946"}],"id":"8dbd9c16-10ad-4379-aaaf-1ce9de14a016","_postman_id":"8dbd9c16-10ad-4379-aaaf-1ce9de14a016","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"92c93c4e-d36f-4e5e-995f-cd8dc5c70f8d","_postman_id":"92c93c4e-d36f-4e5e-995f-cd8dc5c70f8d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"xray","item":[{"name":"getDefaultJsonConfig","item":[{"name":"Return the built-in default Xray config shipped with the panel (identical to /panel/setting/getDefaultJsonConfig).","id":"023e1417-7c5d-444a-92ee-e987ddf202fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/getDefaultJsonConfig","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getDefaultJsonConfig"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"350fe24f-61cd-441e-b665-f9cc370f160b","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/xray/getDefaultJsonConfig"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"023e1417-7c5d-444a-92ee-e987ddf202fe"}],"id":"f03efb3c-fa6f-4d49-b816-d26e354b29bf","_postman_id":"f03efb3c-fa6f-4d49-b816-d26e354b29bf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getOutboundsTraffic","item":[{"name":"Return traffic statistics for every outbound. Each outbound shows up/down/total counters.","id":"c5c9a37b-fca6-41ca-88eb-72e4012ff2a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/getOutboundsTraffic","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getOutboundsTraffic"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a22fcb0c-1215-4edb-a84e-73b822b6f3d5","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/xray/getOutboundsTraffic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"c5c9a37b-fca6-41ca-88eb-72e4012ff2a9"}],"id":"c12ec08f-c110-4ce3-9d17-2c6f2fd09cdf","_postman_id":"c12ec08f-c110-4ce3-9d17-2c6f2fd09cdf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"getXrayResult","item":[{"name":"Return the most recent Xray process stdout/stderr output. Useful to check for startup errors or runtime warnings.","id":"8b70ab3d-d84c-4603-b726-ef824967e8c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/getXrayResult","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getXrayResult"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c2a9efe2-eee8-4e89-8288-d5bcfc8ff52c","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/xray/getXrayResult"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8b70ab3d-d84c-4603-b726-ef824967e8c9"}],"id":"4385be37-4856-4aa8-978c-7492eb3ae059","_postman_id":"4385be37-4856-4aa8-978c-7492eb3ae059","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"update","item":[{"name":"Save the Xray JSON config template and optionally the outbound test URL. Both are sent as form fields.","id":"e08d8121-8a3a-47ba-8e90-46466eda2ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","update"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4642f6fd-dcb2-4afa-8034-f7fac1a2f560","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/xray/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e08d8121-8a3a-47ba-8e90-46466eda2ea2"}],"id":"ea73cfde-dff9-4ff0-949f-f038c5321852","_postman_id":"ea73cfde-dff9-4ff0-949f-f038c5321852","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"warp","item":[{"name":"{action}","item":[{"name":"Manage Cloudflare Warp integration. The action parameter selects the operation.","id":"08361c96-0720-45c2-a1fc-86bce35dfa82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/warp/:action","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","warp",":action"],"host":["/"],"query":[],"variable":[{"id":"13eebe53-94a0-4799-9ab5-69a0eda1a574","description":{"content":"<p>data — return Warp stats (quota, remaining). del — delete Warp data. config — return current Warp config. reg — register a new Warp endpoint (sends privateKey, publicKey). license — set a Warp+ license key (sends license).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"action"}]}},"response":[{"id":"7a9bcdd6-687c-41fa-a54c-c14eb95490da","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/xray/warp/:action","host":["/"],"path":["panel","xray","warp",":action"],"variable":[{"key":"action","value":"string","description":"data — return Warp stats (quota, remaining). del — delete Warp data. config — return current Warp config. reg — register a new Warp endpoint (sends privateKey, publicKey). license — set a Warp+ license key (sends license)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"08361c96-0720-45c2-a1fc-86bce35dfa82"}],"id":"b840a0a2-aafb-4ca9-b1db-9ef7ac1d474b","_postman_id":"b840a0a2-aafb-4ca9-b1db-9ef7ac1d474b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"3fe50be7-6097-428a-9127-f264f346bf0f","_postman_id":"3fe50be7-6097-428a-9127-f264f346bf0f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"nord","item":[{"name":"{action}","item":[{"name":"Manage NordVPN integration. The action parameter selects the operation.","id":"41fb5b31-83e0-4c58-9cfe-f4e147f15c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/nord/:action","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","nord",":action"],"host":["/"],"query":[],"variable":[{"id":"1d62889d-630a-4c91-9de2-058b902d31e4","description":{"content":"<p>countries — list available countries. servers — list servers in a country (sends countryId). reg — get NordVPN credentials (sends token). setKey — store NordVPN API key (sends key). data — return current NordVPN connection data. del — delete NordVPN data.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"action"}]}},"response":[{"id":"339af540-5639-4619-a6d7-949a808158fa","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//panel/xray/nord/:action","host":["/"],"path":["panel","xray","nord",":action"],"variable":[{"key":"action","value":"string","description":"countries — list available countries. servers — list servers in a country (sends countryId). reg — get NordVPN credentials (sends token). setKey — store NordVPN API key (sends key). data — return current NordVPN connection data. del — delete NordVPN data."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"41fb5b31-83e0-4c58-9cfe-f4e147f15c31"}],"id":"ee0394a6-27b0-4dea-929a-388de7469460","_postman_id":"ee0394a6-27b0-4dea-929a-388de7469460","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"7022f0f4-3a02-4b4e-b1c4-105e4ed85652","_postman_id":"7022f0f4-3a02-4b4e-b1c4-105e4ed85652","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetOutboundsTraffic","item":[{"name":"Reset traffic counters for a specific outbound by tag.","id":"673b09ff-2392-4202-9b29-6f4cec253c72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/xray/resetOutboundsTraffic","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","resetOutboundsTraffic"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cc142462-d13e-457c-9d7a-51b4af80ea57","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/xray/resetOutboundsTraffic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"673b09ff-2392-4202-9b29-6f4cec253c72"}],"id":"ffc643ef-1a93-4097-a5a1-fe245e10451e","_postman_id":"ffc643ef-1a93-4097-a5a1-fe245e10451e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"testOutbound","item":[{"name":"Test an outbound configuration. Sends the outbound JSON (required), optionally all outbounds (to resolve sockopt.dialerProxy dependencies), and a mode flag.","id":"86814e11-826f-4ccf-93a8-d8e1e50c7ab6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/xray/testOutbound","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","testOutbound"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f62b3a11-3be1-4ca3-b092-0686e747fbe7","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/xray/testOutbound"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"86814e11-826f-4ccf-93a8-d8e1e50c7ab6"}],"id":"050cf294-7f70-4f1e-940c-d6c5701fb1cb","_postman_id":"050cf294-7f70-4f1e-940c-d6c5701fb1cb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"Return the Xray config template (JSON string), available inbound tags, client reverse tags, and the configured outbound test URL in one response.","id":"fb24e595-b354-4e0b-98a9-7e3bd8db1830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/xray/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray",""],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"b6fcfe8f-a439-4983-a231-2efed98527aa","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//panel/xray/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"xraySetting\": \"{...raw xray config...}\",\n    \"inboundTags\": \"[\\\"inbound-443\\\"]\",\n    \"clientReverseTags\": \"[]\",\n    \"outboundTestUrl\": \"https://www.google.com/generate_204\"\n  }\n}"}],"_postman_id":"fb24e595-b354-4e0b-98a9-7e3bd8db1830"}],"id":"f2d666dd-a80a-477d-a876-99529ebc7c48","_postman_id":"f2d666dd-a80a-477d-a876-99529ebc7c48","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"id":"e7cdda99-bef9-4615-8545-6dbb6b161b83","_postman_id":"e7cdda99-bef9-4615-8545-6dbb6b161b83","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"{subPath}{subid}","item":[{"name":"Return base64-encoded subscription links for all enabled clients matching the subscription ID. When the request has an Accept: text/html header or ?html=1, renders a styled info page instead. Default path: /sub/:subid.","id":"05f6b98e-b462-43eb-a112-a6484374e379","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//stringstring","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"1082fe12-d5eb-47d7-b3a6-ade6885fe7ed","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//stringstring"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"05f6b98e-b462-43eb-a112-a6484374e379"}],"id":"f6a9b060-6716-4406-b099-50cc1ee0ab04","_postman_id":"f6a9b060-6716-4406-b099-50cc1ee0ab04","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"{jsonPath}{subid}","item":[{"name":"Return subscription as a JSON array of proxy configs (one per enabled client). Only when JSON subscription is enabled in settings. Default path: /json/:subid.","id":"55dc2032-c90b-4178-a415-86b0523de09b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//stringstring","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"95d27014-eeac-4938-be98-e5ec14ad68de","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//stringstring"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"55dc2032-c90b-4178-a415-86b0523de09b"}],"id":"26ead1c0-b7e0-4997-b446-46755fe835f6","_postman_id":"26ead1c0-b7e0-4997-b446-46755fe835f6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"{clashPath}{subid}","item":[{"name":"Return subscription as a Clash/Mihomo-compatible YAML config. Only when Clash subscription is enabled in settings. Default path: /clash/:subid.","id":"e29585b3-21d2-4990-a9da-d8b03b5a9efc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//stringstring","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4babebd4-24b9-4032-858b-396100031df4","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//stringstring"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e29585b3-21d2-4990-a9da-d8b03b5a9efc"}],"id":"07dcac08-55f6-459f-a7c5-f81a2afc8efd","_postman_id":"07dcac08-55f6-459f-a7c5-f81a2afc8efd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}},{"name":"ws","item":[{"name":"Upgrade an HTTP connection to a WebSocket. Requires an authenticated session cookie (Bearer token auth is not supported here). Returns 101 Switching Protocols on success. The server then pushes JSON messages described below.","id":"e043fa6a-4fdc-4509-8929-97796185f999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//ws","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["ws"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"7a1c6670-779e-4397-a1ce-087f110ebb24","name":"Successful response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//ws"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e043fa6a-4fdc-4509-8929-97796185f999"}],"id":"91fa15db-0ea5-4150-b871-62278a059b66","_postman_id":"91fa15db-0ea5-4150-b871-62278a059b66","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","id":"b2bf0f71-f84e-433c-8fb9-89efa7870704","name":"3X-UI Panel API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]}},"variable":[{"key":"baseUrl","value":"/"},{"key":"subid","value":"string"},{"key":"subPath","value":"string"},{"key":"jsonPath","value":"string"},{"key":"clashPath","value":"string"}]}