{"info":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","publishedId":"2sBXwnsBko","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-28T18:45:19.000Z"},"item":[{"name":"login","item":[{"name":"Authenticate with username + password and receive a session cookie. Required before any cookie-based API call.","id":"aad8247d-b23a-4a1e-9632-aad6e131f941","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["login"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6f32c202-4854-45cb-9d85-3a1f3b115a10","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":"ab0cc4bc-81e3-465a-8942-8bd941086e69","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":"aad8247d-b23a-4a1e-9632-aad6e131f941"}],"id":"2b50f687-2e22-48ce-9a1b-3674e2c2fc44","_postman_id":"2b50f687-2e22-48ce-9a1b-3674e2c2fc44","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"logout","item":[{"name":"Clear the session cookie. Requires the CSRF header for browser sessions.","id":"90cf93d2-1e4e-430c-84de-2bd3129d5306","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["logout"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9bd8af8f-b169-483d-b147-78b1f259ddd0","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":"90cf93d2-1e4e-430c-84de-2bd3129d5306"}],"id":"bfc249cf-c6f1-42a9-a018-e82b08a94046","_postman_id":"bfc249cf-c6f1-42a9-a018-e82b08a94046","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"bcdad17e-a8eb-4755-abb7-f24b31b0bf1d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["csrf-token"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"94c0ff47-62c7-43ae-81d9-20ef0c9b8983","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":"bcdad17e-a8eb-4755-abb7-f24b31b0bf1d"}],"id":"55677a3f-4900-407a-a24a-bb720adb73cf","_postman_id":"55677a3f-4900-407a-a24a-bb720adb73cf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"f9789205-946e-4513-a99c-35f0247fb4a2","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["getTwoFactorEnable"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"7455cbb8-52f6-4043-b004-dc5e2b2ea567","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":"f9789205-946e-4513-a99c-35f0247fb4a2"}],"id":"200b8cb3-ed48-4ee5-ad8e-ef464bd856cd","_postman_id":"200b8cb3-ed48-4ee5-ad8e-ef464bd856cd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"97b61fc3-97d2-4798-86b4-2fc921db260a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","list","slim"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a23feb21-f94d-42e2-9c72-8147cb619b80","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":"97b61fc3-97d2-4798-86b4-2fc921db260a"}],"id":"e708109b-f51a-42c0-834d-22e4ccab6202","_postman_id":"e708109b-f51a-42c0-834d-22e4ccab6202","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"897f4bd0-8c4b-4e05-99ef-7ab7c7464ace","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"42f22259-518f-42b8-bd7e-54b025886677","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":"897f4bd0-8c4b-4e05-99ef-7ab7c7464ace"}],"id":"d91c1ef2-47df-4026-b4bc-50dfae4b7bf1","_postman_id":"d91c1ef2-47df-4026-b4bc-50dfae4b7bf1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"94f11605-a5cf-4bdf-a780-76a7ca3e1ad6","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","options"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"b4e6b237-06f1-49a8-9f04-3702fd1ed348","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":"94f11605-a5cf-4bdf-a780-76a7ca3e1ad6"}],"id":"492e5836-7111-4e38-85a4-892a2cdcb315","_postman_id":"492e5836-7111-4e38-85a4-892a2cdcb315","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"get","item":[{"name":"{id}","item":[{"name":"Fetch a single inbound by numeric ID.","id":"bffe6978-fd5d-4f7d-bbfd-5eebe78c4bf0","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","get",":id"],"host":["/"],"query":[],"variable":[{"id":"51c1bb19-e116-48f5-b4b3-a725a202fd9d","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"1c22c53f-fe9e-49d4-a096-7670f682e0f0","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":"5404","description":"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\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"bffe6978-fd5d-4f7d-bbfd-5eebe78c4bf0"}],"id":"a9e473d6-30ff-4a0f-95d3-66bbf0c01c30","_postman_id":"a9e473d6-30ff-4a0f-95d3-66bbf0c01c30","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"6b8de9a1-66d4-42ce-b20c-ea4b2cba22a7","_postman_id":"6b8de9a1-66d4-42ce-b20c-ea4b2cba22a7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"4d9ade42-92a3-4593-84c3-a2c6ddf3031d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"29d98f7b-a6d8-435e-85f8-be8e63a1e940","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"13f64e9a-396b-4987-9126-02b59ded5581","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":"4d9ade42-92a3-4593-84c3-a2c6ddf3031d"}],"id":"a5ba4595-98cf-4f41-9601-f02383be4d6d","_postman_id":"a5ba4595-98cf-4f41-9601-f02383be4d6d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"e7fa31fe-1b94-4eed-b35b-4be47045dc62","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","del",":id"],"host":["/"],"query":[],"variable":[{"id":"c53646d4-a50e-45df-9c1a-e162b6a77039","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"8c82a59c-d63a-43ef-8e18-e799b0e304b7","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":"5404","description":"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\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"e7fa31fe-1b94-4eed-b35b-4be47045dc62"}],"id":"e04e8636-901f-4c94-8712-e8f570203928","_postman_id":"e04e8636-901f-4c94-8712-e8f570203928","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"596438fb-8478-4a79-bd1b-c7b690c673dd","_postman_id":"596438fb-8478-4a79-bd1b-c7b690c673dd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"a147439a-50ec-438e-888e-540011ed2542","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","update",":id"],"host":["/"],"query":[],"variable":[{"id":"a6a1c704-1361-4289-96b8-acbe85f2007e","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"527ec0b1-2833-40b5-bb10-c16430d085f7","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":"5404","description":"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\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"a147439a-50ec-438e-888e-540011ed2542"}],"id":"302033cd-46a5-4254-a279-e68e6cbbe51a","_postman_id":"302033cd-46a5-4254-a279-e68e6cbbe51a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"1e134566-27b3-4eb8-9ae2-1a3123dc7c26","_postman_id":"1e134566-27b3-4eb8-9ae2-1a3123dc7c26","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"ad5327e5-8e86-414f-a53a-77fce7744a68","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","setEnable",":id"],"host":["/"],"query":[],"variable":[{"id":"24f7caa6-b61f-4e5f-b86c-d0dd293cb960","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"2637e120-3cb7-454a-b574-3929d8acb8af","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":"5404","description":"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\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ad5327e5-8e86-414f-a53a-77fce7744a68"}],"id":"3e15a540-c8d3-4dfd-8e73-6ee01a93a583","_postman_id":"3e15a540-c8d3-4dfd-8e73-6ee01a93a583","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"3a809b70-27a1-491a-a1cf-4c46b6a9c716","_postman_id":"3a809b70-27a1-491a-a1cf-4c46b6a9c716","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"2a798660-6194-4537-9961-bd459858b1e7","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","resetTraffic"],"host":["/"],"query":[],"variable":[{"id":"38509d01-4b02-4ad7-ab80-6cb27c2b3bd6","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"760a98e2-8658-4640-8049-0ed9d4eca32d","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":"5404","description":"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\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"2a798660-6194-4537-9961-bd459858b1e7"}],"id":"f79fc54b-08a3-4ab1-b0d4-ca049dd17e10","_postman_id":"f79fc54b-08a3-4ab1-b0d4-ca049dd17e10","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"delAllClients","item":[{"name":"Remove every client attached to a single inbound while keeping the inbound itself. Collects emails from settings.clients[] and feeds them into the optimized bulk-delete path (runtime user removal + traffic-row cleanup + SyncInbound). Destructive and canno","id":"0eb20f61-b6f2-4f79-9b7c-f676f4d2b0b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/inbounds/:id/delAllClients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","delAllClients"],"host":["/"],"query":[],"variable":[{"id":"6becc55a-db4a-4afd-9369-49270e0ab3d8","description":{"content":"<p>Inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"3259fbce-8526-4ced-b1df-1aa869e1b322","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/delAllClients","host":["/"],"path":["panel","api","inbounds",":id","delAllClients"],"variable":[{"key":"id","value":"5404","description":"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    \"deleted\": 12\n  }\n}"}],"_postman_id":"0eb20f61-b6f2-4f79-9b7c-f676f4d2b0b3"}],"id":"7aafda90-9c1f-4d87-b1fa-3b2738906c6a","_postman_id":"7aafda90-9c1f-4d87-b1fa-3b2738906c6a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"045af328-8bc5-425e-8c0d-287d4d118658","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","fallbacks"],"host":["/"],"query":[],"variable":[{"id":"45c0ddb7-cf99-4002-a827-98f3ddc8366c","description":{"content":"<p>Master inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"5866207e-1f72-4f2b-8f6b-47d1e4f35918","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":"5404","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":"045af328-8bc5-425e-8c0d-287d4d118658"},{"name":"Replace the entire fallback list for a master inbound. Body is JSON. Triggers an Xray restart.","id":"860b0868-f24e-4bf8-ba4a-f5e802bf1cba","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds",":id","fallbacks"],"host":["/"],"query":[],"variable":[{"id":"b66496d1-2493-42a1-a612-a9f2fd75185b","description":{"content":"<p>Master inbound ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"362ebf98-205c-46e8-9873-31502865b22a","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":"5404","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":"860b0868-f24e-4bf8-ba4a-f5e802bf1cba"}],"id":"2a5c24b2-e60f-4da6-9d4e-813134368e62","_postman_id":"2a5c24b2-e60f-4da6-9d4e-813134368e62","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"d504b8f6-8251-4030-b751-ab713eccd02b","_postman_id":"d504b8f6-8251-4030-b751-ab713eccd02b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetAllTraffics","item":[{"name":"Reset upload + download counters on every inbound. Destructive — accounting history is lost.","id":"10cc8ed2-8aea-4440-b79b-e5ae425bc007","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","resetAllTraffics"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"7dfda5d6-88f0-441c-844c-ea277c26fc15","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"10cc8ed2-8aea-4440-b79b-e5ae425bc007"}],"id":"570d9094-d995-4cc3-9a2e-d0c3a0254d4c","_postman_id":"570d9094-d995-4cc3-9a2e-d0c3a0254d4c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"b60830d0-ff90-4b1d-a40f-1fe0982b9d33","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","inbounds","import"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"ec6da20f-1aaf-434e-ac03-48c4d3c58942","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"b60830d0-ff90-4b1d-a40f-1fe0982b9d33"}],"id":"2e36af77-0129-4519-a2dd-bf2f3817cf38","_postman_id":"2e36af77-0129-4519-a2dd-bf2f3817cf38","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"c4ea1c54-47e6-4853-8596-51c9659f0677","_postman_id":"c4ea1c54-47e6-4853-8596-51c9659f0677","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"bd00c1ca-2fdf-4a8a-b1ab-03fb4220c975","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","status"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3f02d310-f604-49ad-9332-f353c71d97d4","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":"bd00c1ca-2fdf-4a8a-b1ab-03fb4220c975"}],"id":"f074193b-4468-4750-be04-72d597c4b0e0","_postman_id":"f074193b-4468-4750-be04-72d597c4b0e0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"f76fe9c9-70f4-47db-b829-493b1e93bb16","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","cpuHistory",":bucket"],"host":["/"],"query":[],"variable":[{"id":"ef268623-10a6-4b33-ac7d-666ad01afc91","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"bucket"}]}},"response":[{"id":"2bf2d443-e775-44a0-83b9-c11a8fdeff8d","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":"5404","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  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"f76fe9c9-70f4-47db-b829-493b1e93bb16"}],"id":"8923689f-b0ab-4259-bd45-a9b4bb1e2dc6","_postman_id":"8923689f-b0ab-4259-bd45-a9b4bb1e2dc6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"6e47a39a-e0f0-4102-b0de-7a625f7c3291","_postman_id":"6e47a39a-e0f0-4102-b0de-7a625f7c3291","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"fc3d1d98-bb33-40ca-9021-68f02c0b4ff1","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","history",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"899ee301-342f-45d4-91da-9d1fad3975ae","description":{"content":"<p>cpu | mem | netUp | netDown | online | load1 | load5 | load15.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"8672bad5-c773-4631-a673-f8108ddb25b1","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"bucket"}]}},"response":[{"id":"d95f7447-0d6f-4842-aa1a-e11005232034","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":"5404","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":"fc3d1d98-bb33-40ca-9021-68f02c0b4ff1"}],"id":"4cc36ab9-2a70-4745-b999-60eb93e9832f","_postman_id":"4cc36ab9-2a70-4745-b999-60eb93e9832f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"afa3129a-5cfa-4503-ba28-1d54b5292ed2","_postman_id":"afa3129a-5cfa-4503-ba28-1d54b5292ed2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"b98dca43-97ce-4bd8-976c-faecb3356a5f","_postman_id":"b98dca43-97ce-4bd8-976c-faecb3356a5f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"5c010a3a-5d63-469c-9ee9-b3a3906f7e9e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayMetricsState"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"d49c1dad-f93c-4a85-bfc7-1d979c9803bc","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"5c010a3a-5d63-469c-9ee9-b3a3906f7e9e"}],"id":"0f44c9f4-42a8-48aa-8765-d227bc00f923","_postman_id":"0f44c9f4-42a8-48aa-8765-d227bc00f923","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"26791845-4f48-4968-99cf-ca9c5d96652d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayMetricsHistory",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"0b35effd-79b3-4a0f-a7fe-48f3d413ad06","description":{"content":"<p>xrAlloc | xrSys | xrHeapObjects | xrNumGC | xrPauseNs.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"38000e86-54ca-4343-9ecc-64a191983762","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"bucket"}]}},"response":[{"id":"c79f6e14-b3b2-4f62-8bbb-7796e8be68af","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":"5404","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  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"26791845-4f48-4968-99cf-ca9c5d96652d"}],"id":"70496575-1255-4994-bfd5-95c4b7cfa79c","_postman_id":"70496575-1255-4994-bfd5-95c4b7cfa79c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"95046403-77db-4208-8277-83c307a0b362","_postman_id":"95046403-77db-4208-8277-83c307a0b362","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"7de98cb9-bdc2-43fa-9773-f80da2c73afc","_postman_id":"7de98cb9-bdc2-43fa-9773-f80da2c73afc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3cf9a463-3468-44e7-b5cc-bb85f52e91cf","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayObservatory"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a0d8a1e9-8a16-4228-aabd-6771aad36587","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3cf9a463-3468-44e7-b5cc-bb85f52e91cf"}],"id":"9eb4ea11-d949-403f-aa74-4acc5c75fa0d","_postman_id":"9eb4ea11-d949-403f-aa74-4acc5c75fa0d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"127c0247-088b-48fc-9c50-7aa4652f6df8","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xrayObservatoryHistory",":tag",":bucket"],"host":["/"],"query":[],"variable":[{"id":"85c241f1-7f0e-4711-a383-50d570261282","description":{"content":"<p>Outbound tag from the observatory config.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"tag"},{"id":"f7c37249-ef90-4bc0-82a4-3ca5f6cabe3d","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"bucket"}]}},"response":[{"id":"7374768c-64da-47f5-84fc-5db269d43a8c","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":"5404","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  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"127c0247-088b-48fc-9c50-7aa4652f6df8"}],"id":"ce98b9e9-9e73-4ea1-aedf-94aa12258534","_postman_id":"ce98b9e9-9e73-4ea1-aedf-94aa12258534","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"26cffeec-c94a-469c-b9b3-d1a94f7f756a","_postman_id":"26cffeec-c94a-469c-b9b3-d1a94f7f756a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"70470cc3-c927-4214-aed3-5a29b61260ec","_postman_id":"70470cc3-c927-4214-aed3-5a29b61260ec","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"getXrayVersion","item":[{"name":"List Xray binary versions available for install on this host.","id":"d43a0c32-fbf7-404a-ac0f-29102d627d3b","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getXrayVersion"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"63c2a132-2137-410d-ada4-4ddb007c3056","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":"d43a0c32-fbf7-404a-ac0f-29102d627d3b"}],"id":"4c7a0d8e-db8d-4fa9-9b66-89a0b2de3194","_postman_id":"4c7a0d8e-db8d-4fa9-9b66-89a0b2de3194","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"getPanelUpdateInfo","item":[{"name":"Check whether a newer 3x-ui release is available on GitHub.","id":"59834bf4-b5a3-49c4-b9d3-35df2fafdda6","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getPanelUpdateInfo"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f39efde3-28e0-41ca-9493-ace5ffc23ed7","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"59834bf4-b5a3-49c4-b9d3-35df2fafdda6"}],"id":"0883e95a-265e-4aea-bd10-f81ad56005e0","_postman_id":"0883e95a-265e-4aea-bd10-f81ad56005e0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"getConfigJson","item":[{"name":"Return the assembled Xray config that’s currently running on this host.","id":"bd030a53-7200-474e-9c3b-d7965ea90617","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getConfigJson"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"7c4c1fc5-b89f-433b-acb8-fcf6c006f8d0","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"bd030a53-7200-474e-9c3b-d7965ea90617"}],"id":"7fdd118c-1b4e-4d9e-ae93-aa3ec587a826","_postman_id":"7fdd118c-1b4e-4d9e-ae93-aa3ec587a826","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"5c116035-aabf-4511-915f-f13bf3bd3e1a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getDb"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"1473efba-6df0-4202-b311-1c79dd9d81bf","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"5c116035-aabf-4511-915f-f13bf3bd3e1a"}],"id":"f8fc2d68-5856-43f3-8430-79c1735b3f64","_postman_id":"f8fc2d68-5856-43f3-8430-79c1735b3f64","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewUUID","item":[{"name":"Generate a fresh UUID v4. Convenience helper for client IDs.","id":"2c72aa4c-a036-4762-9ab0-613bd9b8a411","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewUUID"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3a31ca4e-a5a0-4aaa-bb6a-e1ee120602bd","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":"2c72aa4c-a036-4762-9ab0-613bd9b8a411"}],"id":"06b8d70d-3962-4ea8-a930-76f359e17c60","_postman_id":"06b8d70d-3962-4ea8-a930-76f359e17c60","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"getNewX25519Cert","item":[{"name":"Generate a new X25519 keypair for Reality.","id":"5055819b-a3f0-42c5-81fd-91d2561f9f63","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewX25519Cert"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"20ebb221-b9bd-49f4-ab56-e7a0d6773624","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":"5055819b-a3f0-42c5-81fd-91d2561f9f63"}],"id":"6c325192-f4a9-45e2-b0f7-30abc9732b5a","_postman_id":"6c325192-f4a9-45e2-b0f7-30abc9732b5a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"4b5718cd-3443-414e-96fd-bcd0ea13968a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewmldsa65"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a231bfd7-7f25-43fd-ab99-f0909af29555","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":"4b5718cd-3443-414e-96fd-bcd0ea13968a"}],"id":"7b3ab9ca-b983-46ca-baa9-5ee41f2ee009","_postman_id":"7b3ab9ca-b983-46ca-baa9-5ee41f2ee009","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"0b777fa4-1ca6-4a72-846a-8a886003bf33","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewmlkem768"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"21ced844-a466-402f-b8d2-2e69f77e5fcc","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":"0b777fa4-1ca6-4a72-846a-8a886003bf33"}],"id":"56db4bcc-5b51-45c3-b686-6635b6bba7a4","_postman_id":"56db4bcc-5b51-45c3-b686-6635b6bba7a4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"6dbd2552-e450-4144-92a9-82af80624cf1","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewVlessEnc"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a139ccc1-4db6-4b7d-b2d6-703b8a7f4458","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":"6dbd2552-e450-4144-92a9-82af80624cf1"}],"id":"af4caf07-d822-41c1-903c-412a0304cd30","_postman_id":"af4caf07-d822-41c1-903c-412a0304cd30","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"stopXrayService","item":[{"name":"Stop the Xray binary. All proxies go offline immediately.","id":"fc817eb4-ce73-492e-9b77-8cf3f7981177","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","stopXrayService"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9b869fd0-1e9e-4616-b8b1-056f3eaa01d1","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"eca51182-d9d7-4c99-8e4b-a04c820ccf7e","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":"fc817eb4-ce73-492e-9b77-8cf3f7981177"}],"id":"2651207f-33c7-41f4-94c4-896d3b3a04b1","_postman_id":"2651207f-33c7-41f4-94c4-896d3b3a04b1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"de514c3b-d35d-4888-874c-14d6d144b03d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","restartXrayService"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"24565a4d-c9fb-4460-b796-8a46ce351564","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"},{"id":"3b900c25-bf46-4865-89af-a899a170bb52","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":"de514c3b-d35d-4888-874c-14d6d144b03d"}],"id":"795b5a7c-c9f5-4a07-aea6-e87c176a391d","_postman_id":"795b5a7c-c9f5-4a07-aea6-e87c176a391d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"61b1c3c7-5aec-480b-9a44-214839a519d8","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","installXray",":version"],"host":["/"],"query":[],"variable":[{"id":"65e7a3a3-bc37-4800-b86c-3eccad4de672","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":"7da8ea1c-d81d-45c6-9cf1-4bda328257d8","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"61b1c3c7-5aec-480b-9a44-214839a519d8"}],"id":"982850ce-0fde-4573-a356-f8581d4ac743","_postman_id":"982850ce-0fde-4573-a356-f8581d4ac743","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"63bab42f-d607-452a-acc4-8a5e4c1ea9a2","_postman_id":"63bab42f-d607-452a-acc4-8a5e4c1ea9a2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"0b150276-8750-4e44-aa5f-21e112276e88","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updatePanel"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6e69a7fe-a60f-47e1-928b-b6a1f8e6fe86","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"0b150276-8750-4e44-aa5f-21e112276e88"}],"id":"9ac32e5c-ee5c-4db9-90f1-eb5628edc3e4","_postman_id":"9ac32e5c-ee5c-4db9-90f1-eb5628edc3e4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"f68ae658-c1f4-49f2-8063-51c93cbf19a2","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updateGeofile",":fileName"],"host":["/"],"query":[],"variable":[{"id":"1d2c3c87-ecf1-4b0e-b0e2-4b48afa9f331","description":{"content":"<p>Filename of the data file to refresh.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"fileName"}]}},"response":[{"id":"e4098797-a31e-497f-b7da-087f5efbb051","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"f68ae658-c1f4-49f2-8063-51c93cbf19a2"}],"id":"e0bc7aaa-717e-424c-b59e-a99a67c925f3","_postman_id":"e0bc7aaa-717e-424c-b59e-a99a67c925f3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"38a895bb-8742-4cc6-987e-b65e83e65bab","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","updateGeofile"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"05f167de-c7f6-4310-ac39-e4a27185cee4","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"38a895bb-8742-4cc6-987e-b65e83e65bab"}],"id":"c674c8fe-861a-4431-a433-99e75fa32448","_postman_id":"c674c8fe-861a-4431-a433-99e75fa32448","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3d209838-ee41-4119-a07a-880c84d01d59","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","logs",":count"],"host":["/"],"query":[],"variable":[{"id":"5c3f681f-58b1-4635-9fbf-c243309fd34d","description":{"content":"<p>Number of trailing log lines.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"count"}]}},"response":[{"id":"22d18545-a0ce-49e6-9455-b8150428a286","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":"5404","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":"3d209838-ee41-4119-a07a-880c84d01d59"}],"id":"f2bf1f8e-95d3-4687-a2b8-a929e0797a71","_postman_id":"f2bf1f8e-95d3-4687-a2b8-a929e0797a71","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"4e7a3a12-dc72-4ae9-a0a7-3ba207e31360","_postman_id":"4e7a3a12-dc72-4ae9-a0a7-3ba207e31360","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"23fa0921-d78d-4c8a-b742-d28bedca37ea","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","xraylogs",":count"],"host":["/"],"query":[],"variable":[{"id":"63563bb3-7fe5-48f9-8896-ac3e77940c07","description":{"content":"<p>Number of trailing log lines.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"count"}]}},"response":[{"id":"18324ded-9000-464d-a106-3f4994ba340e","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":"5404","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":"23fa0921-d78d-4c8a-b742-d28bedca37ea"}],"id":"b6f95762-d918-41f2-91d0-4ab337ae4f5a","_postman_id":"b6f95762-d918-41f2-91d0-4ab337ae4f5a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"1ee6cb7c-de20-474b-aebd-584acdbaea1b","_postman_id":"1ee6cb7c-de20-474b-aebd-584acdbaea1b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3cf025dd-1888-4510-b7ab-637333ea7e0c","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","importDB"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f104dd24-f83b-46f0-b9dd-ac41ca2e92a3","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3cf025dd-1888-4510-b7ab-637333ea7e0c"}],"id":"3f272608-b7e6-4c54-b77d-e0cc74005bb5","_postman_id":"3f272608-b7e6-4c54-b77d-e0cc74005bb5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"6b31a34f-74ef-44a4-bea1-418f118cdb2f","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","server","getNewEchCert"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"71ae4485-2593-4b3c-b41b-f1e921fc35ef","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"6b31a34f-74ef-44a4-bea1-418f118cdb2f"}],"id":"d0f4ae80-4bc4-4023-9895-09537ba06ecf","_postman_id":"d0f4ae80-4bc4-4023-9895-09537ba06ecf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"9ee57753-5ea9-4b73-b6d6-25100f5d6561","_postman_id":"9ee57753-5ea9-4b73-b6d6-25100f5d6561","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"7c361336-7d88-462d-821d-12f65ae530c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/list/paged?page=5404&pageSize=5404&search=string&filter=string&protocol=string&sort=string&order=string","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"5404"},{"description":{"content":"<p>Rows per page. Defaults to 25, capped at 200.</p>\n","type":"text/plain"},"key":"pageSize","value":"5404"},{"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":"dced6847-6551-4c41-8585-34d6ba2405bf","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=5404&pageSize=5404&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":"5404"},{"description":"Rows per page. Defaults to 25, capped at 200.","key":"pageSize","value":"5404"},{"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":"7c361336-7d88-462d-821d-12f65ae530c9"}],"id":"c3cc730c-9e3f-46b8-9936-0894099c19d6","_postman_id":"c3cc730c-9e3f-46b8-9936-0894099c19d6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"87d2b0d9-432f-46e2-8526-939e22b67cf2","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"fa3d4785-8305-4aa3-9760-7f6363a90569","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":"87d2b0d9-432f-46e2-8526-939e22b67cf2"}],"id":"a2584f34-f23d-42d4-8ac7-026f6a1f74c9","_postman_id":"a2584f34-f23d-42d4-8ac7-026f6a1f74c9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"375d522d-2c15-4b27-a110-5ea82113b5fc","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","get",":email"],"host":["/"],"query":[],"variable":[{"id":"8a478da7-c8b3-4bb6-9db0-1942d54e236c","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"c0117fae-9051-4be2-a010-18422763fb30","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"375d522d-2c15-4b27-a110-5ea82113b5fc"}],"id":"5e232de9-cb83-45da-bcec-046bb181618c","_postman_id":"5e232de9-cb83-45da-bcec-046bb181618c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"1fc38804-6a46-4086-8101-66b218fe66e3","_postman_id":"1fc38804-6a46-4086-8101-66b218fe66e3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"b101bc75-3fc0-4e4c-ac53-061b03c3892f","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4de5165d-b840-4883-b5e8-b1776f590e89","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":"b101bc75-3fc0-4e4c-ac53-061b03c3892f"}],"id":"7136b057-75a7-4ead-a418-dfc9d5bb57af","_postman_id":"7136b057-75a7-4ead-a418-dfc9d5bb57af","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3dbb0673-187c-495a-b778-5a5928bd7b01","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","update",":email"],"host":["/"],"query":[],"variable":[{"id":"4406e831-0d4f-4238-a5f3-84205182a634","description":{"content":"<p>Current client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"fb62023d-30c4-41bb-b088-b89f6fe6f777","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":"3dbb0673-187c-495a-b778-5a5928bd7b01"}],"id":"9a0ddf60-aba4-41d5-a012-ceabaac01a9a","_postman_id":"9a0ddf60-aba4-41d5-a012-ceabaac01a9a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"9bf72160-af0c-4092-8fa6-bac41c0c1fdd","_postman_id":"9bf72160-af0c-4092-8fa6-bac41c0c1fdd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"7d17d81e-c2ca-4dc7-a306-c310564fd922","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/del/:email?keepTraffic=5404","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"5404"}],"variable":[{"id":"ff38f16a-58df-4776-868e-3d90df22c99f","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"7a8c41ab-58d3-4941-93df-84b910d8eaa8","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=5404","host":["/"],"path":["panel","api","clients","del",":email"],"query":[{"description":"Pass 1 to retain the xray_client_traffic row after deletion.","key":"keepTraffic","value":"5404"}],"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":"7d17d81e-c2ca-4dc7-a306-c310564fd922"}],"id":"aa5769e4-3892-422d-8bbd-10c7b16e3054","_postman_id":"aa5769e4-3892-422d-8bbd-10c7b16e3054","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"ab5e1e87-b8ea-42c7-b891-ddb1251192de","_postman_id":"ab5e1e87-b8ea-42c7-b891-ddb1251192de","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"a50164fc-423e-4762-80d1-72f3c08ac113","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients",":email","attach"],"host":["/"],"query":[],"variable":[{"id":"69051c67-dfaf-48d1-b39f-eade20c65e89","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"dc5c728a-af6d-471f-a55a-f40e64b94ce0","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":"a50164fc-423e-4762-80d1-72f3c08ac113"}],"id":"0ecf354a-5e37-42a5-b95a-a8a34fa483ce","_postman_id":"0ecf354a-5e37-42a5-b95a-a8a34fa483ce","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"detach","item":[{"name":"Detach a client from one or more inbounds without deleting the client.","id":"fae2b85b-a30d-4ece-b775-84bc65c9c2aa","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients",":email","detach"],"host":["/"],"query":[],"variable":[{"id":"e9b92311-448b-476c-8b16-207e6babfa1e","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"e7c622a3-471e-49a5-a88c-08db15a6339d","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":"fae2b85b-a30d-4ece-b775-84bc65c9c2aa"}],"id":"8a8a6744-761b-40d2-b063-13873efc93e9","_postman_id":"8a8a6744-761b-40d2-b063-13873efc93e9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"88670e82-7139-49bc-aea5-b9352a46618c","_postman_id":"88670e82-7139-49bc-aea5-b9352a46618c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"8066ea02-759d-41a3-b9e1-cd0b82f224b4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","resetAllTraffics"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"28784959-4bf1-4936-ba00-254d734187a1","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":"8066ea02-759d-41a3-b9e1-cd0b82f224b4"}],"id":"36ab6441-f966-457b-be03-268c6c84ecaa","_postman_id":"36ab6441-f966-457b-be03-268c6c84ecaa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"0ca4919a-9970-4300-8f86-255656e8d8db","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","delDepleted"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"15a73126-1ed1-4d17-88bb-96be4857b664","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":"0ca4919a-9970-4300-8f86-255656e8d8db"}],"id":"b88db993-3386-48e4-9e7e-02f58c25f1f1","_postman_id":"b88db993-3386-48e4-9e7e-02f58c25f1f1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"dcc048e0-d3a2-4a83-b246-c0d94876d68e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkAdjust"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"ae1977d4-8712-40cb-9b7b-c876f178546f","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":"dcc048e0-d3a2-4a83-b246-c0d94876d68e"}],"id":"42e2a357-a299-4919-87d7-eeb853e8a20c","_postman_id":"42e2a357-a299-4919-87d7-eeb853e8a20c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkDel","item":[{"name":"Delete many clients in one call. The server processes the list sequentially so each delete sees the committed state of the previous one — avoids the race the per-email fan-out had on the panel side. Pass keepTraffic=true to retain the xray_client_traffic ","id":"53b37d2d-330a-4d7f-9fac-bf0e5aeb56d2","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  \"keepTraffic\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkDel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkDel"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"b990abb8-0da8-49b7-8038-459533909a2e","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  \"keepTraffic\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkDel"},"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\": 2,\n    \"skipped\": [\n      {\n        \"email\": \"carol\",\n        \"reason\": \"client not found\"\n      }\n    ]\n  }\n}"}],"_postman_id":"53b37d2d-330a-4d7f-9fac-bf0e5aeb56d2"}],"id":"781fdcf6-768e-4003-8502-a0a6895bb3d4","_postman_id":"781fdcf6-768e-4003-8502-a0a6895bb3d4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkCreate","item":[{"name":"Create many clients in one call. Body is a JSON array of {client, inboundIds} payloads — the same shape /add accepts. Items are processed sequentially; per-email skip reasons are returned for items that fail (e.g., duplicate email). Triggers a single Xray","id":"34f59d03-9ff3-402e-9e8a-1a280b10c69d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"client\": {\n      \"email\": \"alice@example.com\",\n      \"totalGB\": 53687091200,\n      \"expiryTime\": 0,\n      \"enable\": true\n    },\n    \"inboundIds\": [\n      7\n    ]\n  },\n  {\n    \"client\": {\n      \"email\": \"bob@example.com\",\n      \"totalGB\": 53687091200,\n      \"expiryTime\": 0,\n      \"enable\": true\n    },\n    \"inboundIds\": [\n      7,\n      9\n    ]\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkCreate","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkCreate"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"de7af7b1-2487-4e38-bd4f-9cd1645fd89e","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  {\n    \"client\": {\n      \"email\": \"alice@example.com\",\n      \"totalGB\": 53687091200,\n      \"expiryTime\": 0,\n      \"enable\": true\n    },\n    \"inboundIds\": [\n      7\n    ]\n  },\n  {\n    \"client\": {\n      \"email\": \"bob@example.com\",\n      \"totalGB\": 53687091200,\n      \"expiryTime\": 0,\n      \"enable\": true\n    },\n    \"inboundIds\": [\n      7,\n      9\n    ]\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkCreate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"created\": 2,\n    \"skipped\": [\n      {\n        \"email\": \"alice@example.com\",\n        \"reason\": \"email already in use\"\n      }\n    ]\n  }\n}"}],"_postman_id":"34f59d03-9ff3-402e-9e8a-1a280b10c69d"}],"id":"f6c32fc1-641d-4ff2-8a6d-acaeea89fe1c","_postman_id":"f6c32fc1-641d-4ff2-8a6d-acaeea89fe1c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"groups","item":[{"name":"bulkAdd","item":[{"name":"Add many clients to a group in one call. Updates clients.group_name and patches the matching client entry inside every owning inbound's settings JSON in a single transaction. If the group name does not yet exist (in client_groups or as a derived label), i","id":"70110207-bc01-450c-a363-44e430572d79","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  \"group\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/bulkAdd","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups","bulkAdd"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"62204b0c-8843-4dac-9426-f53f28b4bc63","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  \"group\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/bulkAdd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"affected\": 2\n  }\n}"}],"_postman_id":"70110207-bc01-450c-a363-44e430572d79"}],"id":"b311f586-fee5-47f3-bc1d-d84db774f67a","_postman_id":"b311f586-fee5-47f3-bc1d-d84db774f67a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkRemove","item":[{"name":"Clear the group label on many clients in one call. Inverse of /groups/bulkAdd. Clients themselves are kept — only the group label is cleared from clients.group_name and from each owning inbound's settings JSON. Groups become empty if all their members are","id":"0d3aa710-a6c3-40a2-a5df-6ddaf9a2b223","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}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/bulkRemove","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups","bulkRemove"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3041d4ff-c676-4830-a9c1-4e412faa1af1","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}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/bulkRemove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"affected\": 2\n  }\n}"}],"_postman_id":"0d3aa710-a6c3-40a2-a5df-6ddaf9a2b223"}],"id":"93ad318e-5d2f-4b66-887f-8b3f0fdd24be","_postman_id":"93ad318e-5d2f-4b66-887f-8b3f0fdd24be","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"{name}","item":[{"name":"emails","item":[{"name":"Return just the email list of clients that currently belong to the given group. Useful for fanning a single bulk action over an entire group without round-tripping the full client list.","id":"e3813f79-c7b0-45cf-8fbe-b66095e689ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/groups/:name/emails","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups",":name","emails"],"host":["/"],"query":[],"variable":[{"id":"7bc0e5dd-c7fa-4543-8f2f-3f72ae7dc4ab","description":{"content":"<p>Group name (URL-encoded).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"name"}]}},"response":[{"id":"d83f09f3-38a6-403d-b224-41d6e1341dbe","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/groups/:name/emails","host":["/"],"path":["panel","api","clients","groups",":name","emails"],"variable":[{"key":"name","value":"string","description":"Group name (URL-encoded)."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": [\n    \"alice\",\n    \"bob\",\n    \"carol\"\n  ]\n}"}],"_postman_id":"e3813f79-c7b0-45cf-8fbe-b66095e689ad"}],"id":"780ee996-a8f1-48ce-8daa-8e0efb59754c","_postman_id":"780ee996-a8f1-48ce-8daa-8e0efb59754c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"939d17b4-2799-4225-895c-8c4786dad6fa","_postman_id":"939d17b4-2799-4225-895c-8c4786dad6fa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"create","item":[{"name":"Create a new empty (placeholder) group. The group becomes selectable in client forms and the filter drawer even before any client is added to it. Errors if a group with the same name already exists.","id":"4f2ae15e-249a-45f5-8179-6be54ba53c0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/create","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups","create"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"135c2213-bcdb-4d5e-bcc0-1577f7ed99dd","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\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/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    \"name\": \"customer-a\"\n  }\n}"}],"_postman_id":"4f2ae15e-249a-45f5-8179-6be54ba53c0d"}],"id":"5d663d08-2bde-4fb6-850e-f271c721aa28","_postman_id":"5d663d08-2bde-4fb6-850e-f271c721aa28","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"rename","item":[{"name":"Rename a group. The new name is applied to the client_groups row AND propagated to every matching client (both clients.group_name and the client entry inside every owning inbound's settings JSON) in a single transaction. Returns the number of clients whos","id":"823721f8-bb97-4949-aca7-1ad5fd0a2f05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"oldName\": \"customer-a\",\n  \"newName\": \"tier-1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/rename","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups","rename"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"be713b21-8f35-40c0-b3f8-47d33b0b763e","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  \"oldName\": \"customer-a\",\n  \"newName\": \"tier-1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/rename"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"affected\": 5\n  }\n}"}],"_postman_id":"823721f8-bb97-4949-aca7-1ad5fd0a2f05"}],"id":"54246349-edf5-4cc2-9318-89238d59e412","_postman_id":"54246349-edf5-4cc2-9318-89238d59e412","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"delete","item":[{"name":"Remove a group. Deletes the client_groups row and clears the group label from every matching client (both clients.group_name and the inbound settings JSON). The clients themselves are NOT deleted — use /bulkDel after filtering by group for that. Returns t","id":"e554a08a-cc7c-4315-8c52-5de08302984e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups","delete"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3eb89d61-2653-45ce-8110-4e81fb056510","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\": \"customer-a\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/groups/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"affected\": 5\n  }\n}"}],"_postman_id":"e554a08a-cc7c-4315-8c52-5de08302984e"}],"id":"e0c4877f-6bb8-40b0-b2c4-e7e1396f1411","_postman_id":"e0c4877f-6bb8-40b0-b2c4-e7e1396f1411","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"List all client groups with their member counts. Merges persisted groups (rows in client_groups, including empty placeholders) with the distinct group_name values currently set on clients. Sorted alphabetically (case-insensitive).","id":"6d603239-951c-45e7-9cc6-bcab56c9d363","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//panel/api/clients/groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","groups"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"73ad8ca2-a8be-46d5-b4a9-59c897ae41b0","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/groups"},"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      \"name\": \"customer-a\",\n      \"clientCount\": 5\n    },\n    {\n      \"name\": \"internal\",\n      \"clientCount\": 0\n    }\n  ]\n}"}],"_postman_id":"6d603239-951c-45e7-9cc6-bcab56c9d363"}],"id":"cf9566c2-2b35-425f-beb4-b44f50a0066c","_postman_id":"cf9566c2-2b35-425f-beb4-b44f50a0066c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkAttach","item":[{"name":"Attach many existing clients to many inbounds in one call. Each client keeps its identity (email/UUID/password/subId) and a shared traffic row; all clients are added to a target inbound in a single AddInboundClient call. Clients already present on a targe","id":"4f397285-8d9a-4f7d-89d7-25a20cfff1fc","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  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkAttach","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkAttach"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"45e5c70b-9c24-4f0d-81f7-2e2eadf1b320","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  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkAttach"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"attached\": [\n      \"alice\",\n      \"bob\"\n    ],\n    \"skipped\": [\n      \"bob\"\n    ],\n    \"errors\": []\n  }\n}"}],"_postman_id":"4f397285-8d9a-4f7d-89d7-25a20cfff1fc"}],"id":"f54a8a96-e566-4e55-8040-6d4938172ece","_postman_id":"f54a8a96-e566-4e55-8040-6d4938172ece","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkDetach","item":[{"name":"Mirror of bulkAttach: detach many existing clients from many inbounds in one call. For each email, intersects the client's current inbounds with the requested set and detaches from those only; (email, inbound) pairs where the client is not currently attac","id":"bfe46cf0-4d1a-46ef-b827-3c48c96358f8","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  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkDetach","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkDetach"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"42c8e135-c3f8-448c-a06c-92aab285ec3d","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  \"inboundIds\": [\n    7,\n    9\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkDetach"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"detached\": [\n      \"alice\",\n      \"bob\"\n    ],\n    \"skipped\": [],\n    \"errors\": []\n  }\n}"}],"_postman_id":"bfe46cf0-4d1a-46ef-b827-3c48c96358f8"}],"id":"107f579d-66d3-423b-ba64-8e0e0b6c9bde","_postman_id":"107f579d-66d3-423b-ba64-8e0e0b6c9bde","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"bulkResetTraffic","item":[{"name":"Zero up/down counters for many clients in one call. Loops the single-reset path so each client is re-enabled across its attached inbounds and pushed to Xray/remote nodes. Returns the count of successfully reset clients.","id":"96db462f-391b-41b4-8424-0f68c3d08b2f","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}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkResetTraffic","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","bulkResetTraffic"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cfdcc1d7-32d1-41c3-b2f4-07f90e709e2c","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}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//panel/api/clients/bulkResetTraffic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"obj\": {\n    \"affected\": 2\n  }\n}"}],"_postman_id":"96db462f-391b-41b4-8424-0f68c3d08b2f"}],"id":"37e62db6-cef9-4288-9406-cf8c9cbf3cef","_postman_id":"37e62db6-cef9-4288-9406-cf8c9cbf3cef","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"c11d8ad2-bd20-4850-82e2-cc0a4160b552","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","resetTraffic",":email"],"host":["/"],"query":[],"variable":[{"id":"9973d7f2-f16b-4191-a25a-bef154957f29","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"b732468f-051b-4eef-91c0-46356785d627","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"c11d8ad2-bd20-4850-82e2-cc0a4160b552"}],"id":"a5335697-8d00-42f3-ad97-6fdc09288bf4","_postman_id":"a5335697-8d00-42f3-ad97-6fdc09288bf4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"649f7273-b4a7-4b24-a2bb-cde638642a50","_postman_id":"649f7273-b4a7-4b24-a2bb-cde638642a50","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"55cfd0c5-d477-4d2a-b0d9-259232876c2d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","updateTraffic",":email"],"host":["/"],"query":[],"variable":[{"id":"74ea1b65-859e-42f3-b993-00b96e7f61d4","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"f798f961-325d-4047-9f9b-c61e55adf2f5","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"55cfd0c5-d477-4d2a-b0d9-259232876c2d"}],"id":"d2255576-2a4e-4217-a977-986780d85627","_postman_id":"d2255576-2a4e-4217-a977-986780d85627","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"fcf47a73-036d-40fd-970f-c697641b58a3","_postman_id":"fcf47a73-036d-40fd-970f-c697641b58a3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3ac58b54-958a-4599-9246-5508318ef565","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","ips",":email"],"host":["/"],"query":[],"variable":[{"id":"ce9f9406-7ab7-4ac4-a94b-338484b1d858","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"88ce04e7-b832-4598-bcfe-22e9ca42cab5","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3ac58b54-958a-4599-9246-5508318ef565"}],"id":"9e18ab61-966e-4e48-9e7b-32cb8bbef26e","_postman_id":"9e18ab61-966e-4e48-9e7b-32cb8bbef26e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"f6901b6a-5795-4748-a3ad-5a2ecae54e19","_postman_id":"f6901b6a-5795-4748-a3ad-5a2ecae54e19","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"clearIps","item":[{"name":"{email}","item":[{"name":"Reset the recorded IP list for a client.","id":"83e1a952-83e1-4cbe-9a3a-e6d5e2ca1798","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","clearIps",":email"],"host":["/"],"query":[],"variable":[{"id":"c3925f06-bf30-4f51-bcf1-d49f9be3e67f","description":{"content":"<p>Client email.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"e34fe3d5-81a9-49d6-b18f-b98eaddeff6c","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"83e1a952-83e1-4cbe-9a3a-e6d5e2ca1798"}],"id":"e855f9a3-0b26-4856-a814-4765ecade97b","_postman_id":"e855f9a3-0b26-4856-a814-4765ecade97b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"3f0cc9a1-3d07-489e-a7ea-bcc923505fe4","_postman_id":"3f0cc9a1-3d07-489e-a7ea-bcc923505fe4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"025fb10e-5573-474d-8058-ca7c30d2be48","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","onlines"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3d6fae94-0b4f-4fb8-936a-0d67aa4b7b7d","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":"025fb10e-5573-474d-8058-ca7c30d2be48"}],"id":"b30d90ae-2628-4c09-a942-b88842d1bd7b","_postman_id":"b30d90ae-2628-4c09-a942-b88842d1bd7b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"lastOnline","item":[{"name":"Map of client email → last-seen unix timestamp.","id":"c146dc68-6c81-4d50-84b2-153179c27c2e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","lastOnline"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6113bbc4-5d79-49f2-9d30-6c261ca580e2","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":"c146dc68-6c81-4d50-84b2-153179c27c2e"}],"id":"51a6cc5f-c9e4-4093-ab15-c51ffd480255","_postman_id":"51a6cc5f-c9e4-4093-ab15-c51ffd480255","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"traffic","item":[{"name":"{email}","item":[{"name":"Traffic counters for a client identified by email.","id":"10b339b6-04db-4017-a504-c53d302092f0","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","traffic",":email"],"host":["/"],"query":[],"variable":[{"id":"96796ad9-e474-472f-b51f-3637d0baa99b","description":{"content":"<p>Client email (unique across the panel).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"cf7f0294-669a-41f8-8184-7b442f7eb093","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":"10b339b6-04db-4017-a504-c53d302092f0"}],"id":"fa74af00-db63-4407-ab34-dd8c3f00767f","_postman_id":"fa74af00-db63-4407-ab34-dd8c3f00767f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"4d9fa665-ebfb-4d62-8157-9353bd22cc4b","_postman_id":"4d9fa665-ebfb-4d62-8157-9353bd22cc4b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"2f8549e7-6bc8-40c4-b5ad-9a2ad1c5d2e1","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","subLinks",":subId"],"host":["/"],"query":[],"variable":[{"id":"9d137b9b-61f0-4ef8-827f-f771cd9f48c5","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":"29402932-c9c2-4246-bc2f-e1845efa670e","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":"2f8549e7-6bc8-40c4-b5ad-9a2ad1c5d2e1"}],"id":"2bfb9b18-2064-41d9-99d9-a9a9e4734b13","_postman_id":"2bfb9b18-2064-41d9-99d9-a9a9e4734b13","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"ac6d80ee-6d0e-4f44-a5fe-03a9f86ea5bf","_postman_id":"ac6d80ee-6d0e-4f44-a5fe-03a9f86ea5bf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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. If streamSettings.externalProxy is set, returns one URL per exter","id":"ee3ea23d-6b51-48d9-8e18-a2f69f98aa93","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","clients","links",":email"],"host":["/"],"query":[],"variable":[{"id":"998aa0cb-a5a2-46ef-888c-5eb932645e04","description":{"content":"<p>Client email (unique identifier).</p>\n","type":"text/plain"},"type":"any","value":"string","key":"email"}]}},"response":[{"id":"d1ad6c46-a7de-4efe-bd2b-968bb04d1886","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":"ee3ea23d-6b51-48d9-8e18-a2f69f98aa93"}],"id":"2c5b9bed-277b-4a89-91e3-b340ca225b33","_postman_id":"2c5b9bed-277b-4a89-91e3-b340ca225b33","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"171993cf-6637-46bc-a89f-08508fcb1d73","_postman_id":"171993cf-6637-46bc-a89f-08508fcb1d73","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"8a00b916-2685-40cb-9b4a-9fba5c48590d","_postman_id":"8a00b916-2685-40cb-9b4a-9fba5c48590d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"71722286-7a57-45a1-93d8-8dc43e235b55","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"00322ec6-3577-4ca8-88f6-a4d8a1e3f6d8","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":"71722286-7a57-45a1-93d8-8dc43e235b55"}],"id":"bc70ec1b-7c22-41a4-b08a-d35c23b91754","_postman_id":"bc70ec1b-7c22-41a4-b08a-d35c23b91754","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"get","item":[{"name":"{id}","item":[{"name":"Fetch a single node by ID.","id":"2246933e-cbba-4669-b098-bab8af25a83c","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","get",":id"],"host":["/"],"query":[],"variable":[{"id":"ce9bdd10-22b4-4a13-9abe-0334a1fead2c","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"14377580-a8d7-43c6-8a72-17d30f59d54d","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":"5404","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"2246933e-cbba-4669-b098-bab8af25a83c"}],"id":"8b03c13c-86c1-4de7-9ee3-546773f1b30a","_postman_id":"8b03c13c-86c1-4de7-9ee3-546773f1b30a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"00a22ae2-23da-47c5-8c16-17da972df0d4","_postman_id":"00a22ae2-23da-47c5-8c16-17da972df0d4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"f5f71bc6-e6b9-4f90-abe9-c1236320fbd4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2704a953-fa82-42d9-ae25-4f8d3231a54b","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"f5f71bc6-e6b9-4f90-abe9-c1236320fbd4"}],"id":"a75a7468-61a1-4ae9-aad7-bbee7fb35de1","_postman_id":"a75a7468-61a1-4ae9-aad7-bbee7fb35de1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"5ce7bb86-2714-4b61-8cb4-2570462e356a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","update",":id"],"host":["/"],"query":[],"variable":[{"id":"fef65b1d-1e10-4df7-bf53-ca48c4ee3569","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"d661c3f0-72c9-4af1-b7d0-2f6e86ee1f8b","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":"5404","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"5ce7bb86-2714-4b61-8cb4-2570462e356a"}],"id":"99d98580-09eb-428d-ad56-5a1dfc44ef9f","_postman_id":"99d98580-09eb-428d-ad56-5a1dfc44ef9f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"61f602b1-1feb-42f1-a5b7-49c40d01786f","_postman_id":"61f602b1-1feb-42f1-a5b7-49c40d01786f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"14419742-840c-4bc5-85f5-eb27dc9ac06e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","del",":id"],"host":["/"],"query":[],"variable":[{"id":"a1107351-9d25-41dd-901e-175c7e5d78dc","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"46752f46-5d98-4d43-be26-cff1e3c0e3eb","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":"5404","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"14419742-840c-4bc5-85f5-eb27dc9ac06e"}],"id":"7cf4e618-204d-454d-8923-6e8c8d4bd1f4","_postman_id":"7cf4e618-204d-454d-8923-6e8c8d4bd1f4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"52c0d721-b0d7-4dac-964c-c316d2c98d90","_postman_id":"52c0d721-b0d7-4dac-964c-c316d2c98d90","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"setEnable","item":[{"name":"{id}","item":[{"name":"Pause or resume traffic sync with this node.","id":"44f8186d-72d6-4e09-b972-1a057924dd3b","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","setEnable",":id"],"host":["/"],"query":[],"variable":[{"id":"975a6fbf-0a15-4488-ba79-09171bf786f1","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"335badf6-907f-4d9c-a823-877359fde844","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":"5404","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"44f8186d-72d6-4e09-b972-1a057924dd3b"}],"id":"721834f2-6caa-4052-b526-01694802f32f","_postman_id":"721834f2-6caa-4052-b526-01694802f32f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"044430d7-b971-4963-9cee-8d48e77ba8f8","_postman_id":"044430d7-b971-4963-9cee-8d48e77ba8f8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"4eea3e3b-0195-4657-90b1-c26d53b1d8c4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","test"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"0697c7a3-35fd-4780-8587-88b51a09b94f","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":"4eea3e3b-0195-4657-90b1-c26d53b1d8c4"}],"id":"737aa8c3-6175-4840-a8bf-d222e3c658f6","_postman_id":"737aa8c3-6175-4840-a8bf-d222e3c658f6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"probe","item":[{"name":"{id}","item":[{"name":"Probe an existing node, updating its cached health state.","id":"8a4d9e26-40d7-494b-b39e-186f5f78bf7e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","probe",":id"],"host":["/"],"query":[],"variable":[{"id":"7ecd2a4c-99d1-44cf-a6fe-65b1af5e2132","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"f4e4049e-d106-4f09-b277-2673138d73bc","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":"5404","description":"Node ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8a4d9e26-40d7-494b-b39e-186f5f78bf7e"}],"id":"eb578310-1df2-42bb-961d-2a18dde3a3d2","_postman_id":"eb578310-1df2-42bb-961d-2a18dde3a3d2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"9cb791a8-9c16-42fd-9b6d-2cb0f55b7c36","_postman_id":"9cb791a8-9c16-42fd-9b6d-2cb0f55b7c36","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"7ecafd3d-7471-47df-bb92-fe5f0f01b3c7","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","nodes","history",":id",":metric",":bucket"],"host":["/"],"query":[],"variable":[{"id":"44207ac6-39ac-46b5-9158-4070604ae55d","description":{"content":"<p>Node ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"},{"id":"e276fc92-720b-4e08-a3b3-f71dda5cd2a0","description":{"content":"<p>cpu | mem.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"metric"},{"id":"6471b2cc-a528-46f7-912a-5431909ebc16","description":{"content":"<p>Bucket size in seconds. Allowed: 2, 30, 60, 120, 180, 300.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"bucket"}]}},"response":[{"id":"6225aabc-6394-41f6-801f-4fb8549a5778","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":"5404","description":"Node ID."},{"key":"metric","value":"string","description":"cpu | mem."},{"key":"bucket","value":"5404","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  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"7ecafd3d-7471-47df-bb92-fe5f0f01b3c7"}],"id":"9fca1709-70cc-4640-8274-97c134b2403a","_postman_id":"9fca1709-70cc-4640-8274-97c134b2403a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"5b29620d-bf2f-42cb-8d3d-69f9498e28b6","_postman_id":"5b29620d-bf2f-42cb-8d3d-69f9498e28b6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"5cbc3183-5bb7-4e9b-8137-81c72cc577fa","_postman_id":"5cbc3183-5bb7-4e9b-8137-81c72cc577fa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"e47753cb-fbe6-4ebd-981a-cb4739741210","_postman_id":"e47753cb-fbe6-4ebd-981a-cb4739741210","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"23e83799-c97e-4038-a6d3-8498742058c5","_postman_id":"23e83799-c97e-4038-a6d3-8498742058c5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"6f58f56a-d0ab-4036-857e-ef4842f79824","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","list"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5aa32a75-0795-4142-b247-068070838b26","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"6f58f56a-d0ab-4036-857e-ef4842f79824"}],"id":"da4aa817-4198-46c0-9cbe-bb69356d7ef4","_postman_id":"da4aa817-4198-46c0-9cbe-bb69356d7ef4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"3f20f6e8-d690-436a-8802-4ebbd1ea1717","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","aliases"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"63c34bf3-832b-4354-9b10-bee82c6f3dca","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"3f20f6e8-d690-436a-8802-4ebbd1ea1717"}],"id":"93bd2dfd-5aa8-4d76-91ce-3b166849934a","_postman_id":"93bd2dfd-5aa8-4d76-91ce-3b166849934a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"8eb64d9a-a8e8-443e-9dc2-e1ea4a1fcbeb","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","add"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"578a81f1-b1f5-4775-83ce-c2b283d4bb97","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8eb64d9a-a8e8-443e-9dc2-e1ea4a1fcbeb"}],"id":"63bf35b6-f70c-4e91-934e-e215702f82e7","_postman_id":"63bf35b6-f70c-4e91-934e-e215702f82e7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"559e61f7-0ccb-4ce5-b3c2-e959158c0fc9","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","update",":id"],"host":["/"],"query":[],"variable":[{"id":"c8d0899b-700f-46ac-8316-455b07b330e4","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"939cedfc-951f-4ce6-bcd0-e97c1f2e2501","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":"5404","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"559e61f7-0ccb-4ce5-b3c2-e959158c0fc9"}],"id":"588ce838-22c0-476f-9f51-e99a332629cf","_postman_id":"588ce838-22c0-476f-9f51-e99a332629cf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"4649f2ac-c8d1-4a8d-aebf-56f04cd81964","_postman_id":"4649f2ac-c8d1-4a8d-aebf-56f04cd81964","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"delete","item":[{"name":"{id}","item":[{"name":"Remove a custom geo source and its cached file.","id":"62f31913-de5b-4a29-bed1-30ded61014ea","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","delete",":id"],"host":["/"],"query":[],"variable":[{"id":"f8442597-2113-44b5-8a28-859ed48b2ffe","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"d5bdf34a-8a55-4cfe-b50a-842bf0df606f","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":"5404","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"62f31913-de5b-4a29-bed1-30ded61014ea"}],"id":"76ee6d48-82b1-4289-864e-08a4e6c77bfa","_postman_id":"76ee6d48-82b1-4289-864e-08a4e6c77bfa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"a42c1373-c55d-4234-b714-56047363a784","_postman_id":"a42c1373-c55d-4234-b714-56047363a784","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"download","item":[{"name":"{id}","item":[{"name":"Re-download one custom geo source on demand.","id":"465606de-bc11-46b5-9301-a7e1a66c0345","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","download",":id"],"host":["/"],"query":[],"variable":[{"id":"c769b3c0-05a9-49d7-a261-49ba4900d8ba","description":{"content":"<p>Custom geo source ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"4c1eb197-fe68-4db3-9610-77e719129562","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":"5404","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"465606de-bc11-46b5-9301-a7e1a66c0345"}],"id":"8eac3fca-307e-4822-8d2c-ddf5a2c3c195","_postman_id":"8eac3fca-307e-4822-8d2c-ddf5a2c3c195","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"ac84412b-e43e-4db8-ba8d-423a6d3559fc","_postman_id":"ac84412b-e43e-4db8-ba8d-423a6d3559fc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"ca9d5fa7-6a09-4903-8f3d-9eb8b981b1b3","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","custom-geo","update-all"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"deac31be-b524-4234-ab1b-0554e5a06990","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ca9d5fa7-6a09-4903-8f3d-9eb8b981b1b3"}],"id":"4030de9c-033a-4357-b479-7cb20ac8c1c4","_postman_id":"4030de9c-033a-4357-b479-7cb20ac8c1c4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"6f30a0b1-1bfe-472f-afb5-ecfae2e9cf73","_postman_id":"6f30a0b1-1bfe-472f-afb5-ecfae2e9cf73","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"18977c8a-eea8-43ca-a11f-fd5ee0ed946f","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","api","backuptotgbot"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5ca6f4e5-cf70-4c0c-b5dc-6fedd20885e7","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"18977c8a-eea8-43ca-a11f-fd5ee0ed946f"}],"id":"b943b57b-2113-4664-8876-7851d5b0f039","_postman_id":"b943b57b-2113-4664-8876-7851d5b0f039","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"e7661023-ae69-41b8-8022-2dfd48d080ec","_postman_id":"e7661023-ae69-41b8-8022-2dfd48d080ec","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"917d55ef-7e14-46f2-b7b0-5eb4b165b822","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","all"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e6421926-5352-43f4-9e49-5f4c7ea75634","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"917d55ef-7e14-46f2-b7b0-5eb4b165b822"}],"id":"b8f7d403-2a38-4231-8258-2c132973c5d3","_postman_id":"b8f7d403-2a38-4231-8258-2c132973c5d3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"7a53c8b7-5d4e-402e-9228-948cb39393b2","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","defaultSettings"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"98dfb95a-ac09-48e4-85c3-5518b5f38ad6","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"7a53c8b7-5d4e-402e-9228-948cb39393b2"}],"id":"1b32632d-dc9e-4e12-96e0-c62e45203835","_postman_id":"1b32632d-dc9e-4e12-96e0-c62e45203835","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"85e026c6-1b69-4ffc-bfc1-8477c765ba00","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","update"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"677f4d76-ae3c-4800-a8d0-752c4d7ac4ea","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"85e026c6-1b69-4ffc-bfc1-8477c765ba00"}],"id":"fd9d5070-e114-44eb-b05d-138152f6b710","_postman_id":"fd9d5070-e114-44eb-b05d-138152f6b710","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"6a5dcad2-3ae2-4919-9675-63e0efebbd0e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","updateUser"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"48b9f7b5-5573-4655-97ff-4c10b823f2ee","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"6a5dcad2-3ae2-4919-9675-63e0efebbd0e"}],"id":"ebc6cf9a-0474-41a7-a18a-639364fe35c6","_postman_id":"ebc6cf9a-0474-41a7-a18a-639364fe35c6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"0b471038-9f2b-42c4-8842-775cbb4fdfa5","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","restartPanel"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"055e5ffb-ef8e-4ba9-90f8-33f9b18fb0f7","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"0b471038-9f2b-42c4-8842-775cbb4fdfa5"}],"id":"ee8e3649-b093-4319-91f7-113f80400de8","_postman_id":"ee8e3649-b093-4319-91f7-113f80400de8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"77f52c70-be81-4c23-9d94-a2f4bc3b0bc4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","getDefaultJsonConfig"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e4a14b97-c38f-41d6-8e3c-97ed472223ab","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"77f52c70-be81-4c23-9d94-a2f4bc3b0bc4"}],"id":"4d60b78a-f9c1-4d36-8f7b-fadb36a91ca6","_postman_id":"4d60b78a-f9c1-4d36-8f7b-fadb36a91ca6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"bcb25c6c-404d-4871-88f0-312e59e46c69","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","create"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"53edc7fa-317e-4bfb-a5eb-06d4ef89d29f","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":"38c42edf-995c-416c-88db-5f1a84698c0e","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":"bcb25c6c-404d-4871-88f0-312e59e46c69"}],"id":"b6c7799e-81da-47ff-81dd-ec46cdeebbf3","_postman_id":"b6c7799e-81da-47ff-81dd-ec46cdeebbf3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"55056227-7869-4412-809d-ebfc52138a8d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","delete",":id"],"host":["/"],"query":[],"variable":[{"id":"6174cffe-25ea-47aa-a7b2-b80ae75bfce5","description":{"content":"<p>Token row ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"0a1fa766-f1d8-4eba-a46d-99cde3b8021f","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":"5404","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":"55056227-7869-4412-809d-ebfc52138a8d"}],"id":"faf63d42-c52b-4dec-b5cf-4b6c73db863b","_postman_id":"faf63d42-c52b-4dec-b5cf-4b6c73db863b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"28ca62d0-e4f2-443a-ba89-ce4e8c22fc99","_postman_id":"28ca62d0-e4f2-443a-ba89-ce4e8c22fc99","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"e16bc37c-3bdf-4902-88f7-b76fb605415e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens","setEnabled",":id"],"host":["/"],"query":[],"variable":[{"id":"b7c5805b-cdb7-4e56-8e43-5daf77a466dc","description":{"content":"<p>Token row ID.</p>\n","type":"text/plain"},"type":"any","value":"5404","key":"id"}]}},"response":[{"id":"49647120-b523-490e-96d2-4d92b5cef03b","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":"5404","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":"e16bc37c-3bdf-4902-88f7-b76fb605415e"}],"id":"9c98b128-bdc9-4a51-b893-c8aaed215291","_postman_id":"9c98b128-bdc9-4a51-b893-c8aaed215291","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"39029e78-696d-4a45-99ed-775aa30814de","_postman_id":"39029e78-696d-4a45-99ed-775aa30814de","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"List every API token, enabled or not.","id":"bd239872-6c58-4f22-9dc2-1aa81fed1d6e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","setting","apiTokens"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a71c6d62-aa04-44d8-bd05-e6caf3782191","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":"bd239872-6c58-4f22-9dc2-1aa81fed1d6e"}],"id":"748d5d67-b4b5-4215-9655-df38aaceee9b","_postman_id":"748d5d67-b4b5-4215-9655-df38aaceee9b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"23618acf-5c86-43c8-a0ea-32bf5543f29a","_postman_id":"23618acf-5c86-43c8-a0ea-32bf5543f29a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"d1cddbfc-5d95-459e-9299-2c3cf421e0b4","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getDefaultJsonConfig"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"eaafafc7-33e8-4832-8f48-e2f87a60028d","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"d1cddbfc-5d95-459e-9299-2c3cf421e0b4"}],"id":"b758e460-de33-45ce-b12e-253460dfc372","_postman_id":"b758e460-de33-45ce-b12e-253460dfc372","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"ef1d639b-fd73-4934-b8cf-866d4d01b91d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getOutboundsTraffic"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6c7a1409-11b0-44c6-a6dd-455a2dcd5b0a","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"ef1d639b-fd73-4934-b8cf-866d4d01b91d"}],"id":"4e90ffb6-645b-406e-8e6f-3ce5e8e6dd9c","_postman_id":"4e90ffb6-645b-406e-8e6f-3ce5e8e6dd9c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"44ad3339-b0ec-4664-848e-2007c0bbf7ef","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","getXrayResult"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"69a2fb55-bef3-4beb-8570-d7d6262875fb","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"44ad3339-b0ec-4664-848e-2007c0bbf7ef"}],"id":"27b5a898-e096-4155-8c5f-283c19dbc69c","_postman_id":"27b5a898-e096-4155-8c5f-283c19dbc69c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"f56b2a6f-0920-4510-a314-0f0b0073187a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","update"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4444af55-7c6e-4c8e-badd-279541dd9b9b","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"f56b2a6f-0920-4510-a314-0f0b0073187a"}],"id":"1b59349d-d3c6-44a5-92c8-03cb62959ae1","_postman_id":"1b59349d-d3c6-44a5-92c8-03cb62959ae1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"91c3809c-0347-42e4-96da-95b31d8edeba","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","warp",":action"],"host":["/"],"query":[],"variable":[{"id":"a2e3aef0-8ffc-445d-99dd-08d17d29a862","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":"9609c827-7e27-4860-a542-1de4372a3fab","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"91c3809c-0347-42e4-96da-95b31d8edeba"}],"id":"04cc9909-7053-4def-8a60-37c37a4d75f0","_postman_id":"04cc9909-7053-4def-8a60-37c37a4d75f0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"ada588c0-ffd8-4845-a039-796fbc49be1c","_postman_id":"ada588c0-ffd8-4845-a039-796fbc49be1c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"nord","item":[{"name":"{action}","item":[{"name":"Manage NordVPN integration. The action parameter selects the operation.","id":"963c915c-0514-4c65-88d2-590a0725bb57","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","nord",":action"],"host":["/"],"query":[],"variable":[{"id":"fb08e163-e1d0-4faf-b59b-10600451248f","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":"7a6a3bca-6959-4643-b78a-81dc481976cf","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"963c915c-0514-4c65-88d2-590a0725bb57"}],"id":"4327f85a-37ed-493e-8d4f-6c2dbcbcda7f","_postman_id":"4327f85a-37ed-493e-8d4f-6c2dbcbcda7f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"43c157c0-2137-491b-8bb2-17a17d6148d8","_postman_id":"43c157c0-2137-491b-8bb2-17a17d6148d8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}},{"name":"resetOutboundsTraffic","item":[{"name":"Reset traffic counters for a specific outbound by tag.","id":"1ef30bb7-81e3-4818-a0eb-71fd31aa207d","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","resetOutboundsTraffic"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cf680ac4-7fa4-4ada-9435-0280898a1822","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"1ef30bb7-81e3-4818-a0eb-71fd31aa207d"}],"id":"158d9496-6e82-4805-a6af-fa5db31d73e2","_postman_id":"158d9496-6e82-4805-a6af-fa5db31d73e2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"0522732e-3761-4c6f-9682-e35c4faa5e55","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray","testOutbound"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"67a46598-36db-4322-aa33-86b8e4b73872","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"0522732e-3761-4c6f-9682-e35c4faa5e55"}],"id":"786f072b-e87a-4f58-b491-f8c6278fc150","_postman_id":"786f072b-e87a-4f58-b491-f8c6278fc150","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"22b30932-c57d-4a73-a655-5e0fe4996516","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["panel","xray",""],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cfa3ce27-ed45-4b66-a06b-9db3fdead3a4","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":"22b30932-c57d-4a73-a655-5e0fe4996516"}],"id":"3a85767b-5df4-4ffd-8d09-2affb0afa6c2","_postman_id":"3a85767b-5df4-4ffd-8d09-2affb0afa6c2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}}}],"id":"c9685ab5-badc-4389-86c5-2f0927bb5676","_postman_id":"c9685ab5-badc-4389-86c5-2f0927bb5676","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"80903c77-a4f9-452a-9005-2c5043585c6a","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"55984d15-0e45-4e8c-966e-934a92dbae88","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"80903c77-a4f9-452a-9005-2c5043585c6a"}],"id":"c7a03abe-8efb-492e-8edb-bc53be154bca","_postman_id":"c7a03abe-8efb-492e-8edb-bc53be154bca","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"7bb8a5f8-5a4e-4e8e-a543-4f7ddd90cd5f","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"d82ef386-dbd5-4c55-bbc0-d55f4d121734","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"7bb8a5f8-5a4e-4e8e-a543-4f7ddd90cd5f"}],"id":"3ee0da27-5e4c-4c38-88e9-d4dd36f94c21","_postman_id":"3ee0da27-5e4c-4c38-88e9-d4dd36f94c21","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"58a98623-a374-4c45-ab4b-1f3fe65ab3de","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["stringstring"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3d57d7ee-88ba-45a8-87df-8a8e2626d23a","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"58a98623-a374-4c45-ab4b-1f3fe65ab3de"}],"id":"3a6f60bb-2040-42e8-a8cb-7399b0826ae5","_postman_id":"3a6f60bb-2040-42e8-a8cb-7399b0826ae5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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":"8049b278-afb6-4c6d-bafe-12e391e3199e","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":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","name":"3X-UI Panel API","type":"collection"}},"urlObject":{"path":["ws"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e5c18e40-020d-48f3-845d-b1983d19f2be","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\": true,\n  \"msg\": \"string\",\n  \"obj\": \"\"\n}"}],"_postman_id":"8049b278-afb6-4c6d-bafe-12e391e3199e"}],"id":"1f219b0e-f066-4fff-a491-b414def7dee4","_postman_id":"1f219b0e-f066-4fff-a491-b414def7dee4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":true,"source":{"_postman_id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","id":"ff4a16de-c973-4a83-9b01-519aa18c1ae4","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"}]}