{"info":{"_postman_id":"dda3cab3-0e33-485f-96f9-d4262f437ac5","name":"3X-UI","description":"<html><head></head><body><p>3X-UI API collection</p>\n<p>Purpose &amp; Scope</p>\n<ul>\n<li>Manage 3X-UI server status/utilities, inbound management, and client operations for local panels and remote deployments.</li>\n</ul>\n<p>Getting Started</p>\n<ol>\n<li>Create or select an environment with variables: HOST, PORT, WEBBASEPATH, username, password, twoFactorCode (if applicable).</li>\n<li>In Collection Authorization, choose Bearer Token and set token to {{bearerToken}} if your deployment needs it; otherwise rely on session cookies from Login.</li>\n<li>Set base variables:<ul>\n<li>localhost: e.g., localhost or your.domain.tld</li>\n<li>2053: e.g., 2053</li>\n<li>/randompath: base path prefix (starts with /), e.g., / or /panel</li>\n</ul>\n</li>\n<li>Open Login and send with valid credentials to capture cookies or token.</li>\n<li>Send a safe GET (e.g., status or Inbounds) to validate connectivity (expect HTTP 200–299).</li>\n</ol>\n<p>Auth</p>\n<ul>\n<li>Bearer: Use Authorization type Bearer Token with token {{bearerToken}} when your API requires it.</li>\n<li>Cookie session: Many endpoints work after a successful Login; Postman will retain cookies for the domain.</li>\n<li>Optional API key: If your deployment requires an apiKey header, add it at the collection level.</li>\n</ul>\n<p>Environment Variables</p>\n<ul>\n<li>localhost: hostname of your 3X-UI panel (no protocol). Example: localhost or example.com</li>\n<li>2053: port the panel listens on. Example: 2053</li>\n<li>/randompath: leading-path for your panel. Example: / or /panel</li>\n<li> /  / : used for Login when applicable.</li>\n<li>You can define additional variables (bearerToken, apiKey) if your deployment needs them.</li>\n</ul>\n<p>Running Tests and Monitors</p>\n<ul>\n<li>Requests contain lightweight tests: 2xx status, &lt;3s response, JSON content-type where applicable.</li>\n<li>Use Collection Runner to execute folders or the whole collection and view results.</li>\n<li>Create a Monitor to schedule runs and get alerts on failures.</li>\n</ul>\n<p>Notes</p>\n<ul>\n<li>Most unsafe operations (POST/PUT/PATCH/DELETE) include mock/example payloads—adjust to your deployment.</li>\n<li>Safe methods (GET/HEAD/OPTIONS) may have saved examples from live responses.</li>\n<li>Replace path variables (e.g., {inboundId}, {uuid}, {email}, {count}, {bucket}) before sending.</li>\n<li>Some endpoints are hardcoded with localhost in this collection; adapt HOST/PORT/WEBBASEPATH for your environment.</li>\n<li>Expected success responses are typically 200 OK or 201 Created unless otherwise documented.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5146551","collectionId":"dda3cab3-0e33-485f-96f9-d4262f437ac5","publishedId":"2sB3QCTuB6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-25T10:19:49.000Z"},"item":[{"name":"Login","event":[{"listen":"test","script":{"id":"2b432512-a952-4305-b81b-efd6f879589e","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e19c588a-1378-42bf-a925-29852d779351","protocolProfileBehavior":{"protocolVersion":"auto","disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"","type":"text","uuid":"d4c70460-81c2-46d9-9477-9e666f36c2b5"},{"key":"password","value":"","type":"text","uuid":"1108e54b-a2f9-4c7c-9f5a-d1b08f47ba43"},{"key":"twoFactorCode","value":"","type":"text","uuid":"43cadfc8-52c1-427e-92a2-5d6fbfc8d549"}]},"url":"http://localhost:2053/randompath/login/","description":"<p>Purpose: Authenticate a user and create a session/token.</p>\n<p>Path: /login/\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: none</li>\n<li>Body: username, password (required, in body as JSON or form; follow your API’s expected schema)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Usually no auth; returns auth cookie/token on success.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/login/\" <br />  -H \"Content-Type: application/json\" <br />  -d '{\"username\":\"\",\"password\":\"\"}'</p>\n<p>Success: 200 OK (login successful)\nErrors: 400/422 (validation), 401 (invalid creds), 429, 500.\nIdempotency: Not idempotent (may create new session). Side effects: starts an authenticated session and may set cookies.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["login",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"55b8d926-0ab6-4c73-a972-16a274d19b5c","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"","type":"text","uuid":"d4c70460-81c2-46d9-9477-9e666f36c2b5"},{"key":"password","value":"","type":"text","uuid":"1108e54b-a2f9-4c7c-9f5a-d1b08f47ba43"},{"key":"twoFactorCode","value":"","type":"text","uuid":"43cadfc8-52c1-427e-92a2-5d6fbfc8d549"}]},"url":"http://localhost:2053/randompath/login/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Set-Cookie","value":"3x-ui=MTc1ODgwMDA0OHxEWDhFQVFMX2dBQUJFQUVRQUFCOV80QUFBUVp6ZEhKcGJtY01EQUFLVEU5SFNVNWZWVk5GVWpCbmFYUm9kV0l1WTI5dEwyMW9jMkZ1WVdWcEx6TjRMWFZwTDNZeUwyUmhkR0ZpWVhObEwyMXZaR1ZzTGxWelpYTF9nUU1CQVFSVmMyVnlBZi1DQUFFREFRSkpaQUVFQUFFSVZYTmxjbTVoYldVQkRBQUJDRkJoYzNOM2IzSmtBUXdBQUFCTF80SklBUUlCQldGa2JXbHVBVHdrTW1Fa01UQWtTa05VVlRKWVZGRlllbTQyTnk5cFFUSnpOVWx0VDBKT2IySlhSMWN3WVVWUFZHSkJUbk4xWlhwRGJYWm5RM2d6TW5SblIwY0F8YWaXytYmy5DT_IZkX_xRb8tq4RTo_z_wy-L7kmoBjlc=; Path=/; Expires=Thu, 25 Sep 2025 17:34:08 GMT; Max-Age=21600; HttpOnly; SameSite=Lax"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 25 Sep 2025 11:34:08 GMT"},{"key":"Content-Length","value":"100"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \" You have successfully logged into your account.\",\n    \"obj\": null\n}"},{"id":"c7c6cee0-9e95-4a58-9b06-ab6d3935a915","name":"failed","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"","type":"text","uuid":"d4c70460-81c2-46d9-9477-9e666f36c2b5"},{"key":"password","value":"","type":"text","uuid":"1108e54b-a2f9-4c7c-9f5a-d1b08f47ba43"},{"key":"twoFactorCode","value":"","type":"text","uuid":"43cadfc8-52c1-427e-92a2-5d6fbfc8d549"}]},"url":"http://localhost:2053/randompath/login/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 25 Sep 2025 11:34:49 GMT"},{"key":"Content-Length","value":"103"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Invalid username or password or two-factor code.\",\n    \"obj\": null\n}"}],"_postman_id":"e19c588a-1378-42bf-a925-29852d779351"},{"name":"Inbounds","id":"d3dd1629-ea3e-4c9f-ba5c-cc9200b26461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/list","description":"<p>Purpose: List all inbounds visible to the current user.</p>\n<p>Path: /panel/api/inbounds/list\nQuery: optional filters may be supported by server (not specified).</p>\n<p>Params: none.</p>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires prior login/session or token.</p>\n<p>Example:\ncurl \"http://localhost:2053/randompath/panel/api/inbounds/list\" -H \"Cookie: \"</p>\n<p>Success: 200 OK (array of inbounds)\nErrors: 401 (unauthorized), 403 (forbidden), 429, 500.\nIdempotency: Safe and idempotent (read-only).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","list"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1800c3fc-07ec-4b26-a14b-6a790e03f676","name":"success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 23 Sep 2025 09:51:10 GMT"},{"key":"Content-Length","value":"1981"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        {\n            \"id\": 1,\n            \"up\": 0,\n            \"down\": 0,\n            \"total\": 0,\n            \"allTime\": 0,\n            \"remark\": \"\",\n            \"enable\": true,\n            \"expiryTime\": 0,\n            \"trafficReset\": \"never\",\n            \"lastTrafficResetTime\": 0,\n            \"clientStats\": [\n                {\n                    \"id\": 1,\n                    \"inboundId\": 1,\n                    \"enable\": false,\n                    \"email\": \"aadsykn0\",\n                    \"uuid\": \"1c6079e6-5342-47fa-a9f0-1188bf4e2ef6\",\n                    \"subId\": \"dff4pajow34ymeiv\",\n                    \"up\": 0,\n                    \"down\": 0,\n                    \"allTime\": 0,\n                    \"expiryTime\": 0,\n                    \"total\": 0,\n                    \"reset\": 0,\n                    \"lastOnline\": 0\n                },\n                {\n                    \"id\": 2,\n                    \"inboundId\": 1,\n                    \"enable\": true,\n                    \"email\": \"cle5b4n7\",\n                    \"uuid\": \"c29c95e2-9c76-44c3-ba3d-ad57eba215b0\",\n                    \"subId\": \"zx95rirylinj93e4\",\n                    \"up\": 0,\n                    \"down\": 0,\n                    \"allTime\": 0,\n                    \"expiryTime\": 0,\n                    \"total\": 0,\n                    \"reset\": 0,\n                    \"lastOnline\": 0\n                }\n            ],\n            \"listen\": \"\",\n            \"port\": 30886,\n            \"protocol\": \"vless\",\n            \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"created_at\\\": 1758532912000,\\n      \\\"email\\\": \\\"aadsykn0\\\",\\n      \\\"enable\\\": false,\\n      \\\"expiryTime\\\": 0,\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"id\\\": \\\"1c6079e6-5342-47fa-a9f0-1188bf4e2ef6\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"reset\\\": 0,\\n      \\\"subId\\\": \\\"dff4pajow34ymeiv\\\",\\n      \\\"tgId\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"updated_at\\\": 1758620508000\\n    },\\n    {\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"created_at\\\": 1758620950000,\\n      \\\"email\\\": \\\"cle5b4n7\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 0,\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"id\\\": \\\"c29c95e2-9c76-44c3-ba3d-ad57eba215b0\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"reset\\\": 0,\\n      \\\"subId\\\": \\\"zx95rirylinj93e4\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 0,\\n      \\\"updated_at\\\": 1758620950000\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"encryption\\\": \\\"none\\\"\\n}\",\n            \"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\n            \"tag\": \"inbound-30886\",\n            \"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\n        }\n    ]\n}"},{"id":"d4620c0c-23e0-4bfe-817d-b842119e7674","name":"No Inbounds","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 13:46:23 GMT"},{"key":"Content-Length","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": []\n}"}],"_postman_id":"d3dd1629-ea3e-4c9f-ba5c-cc9200b26461"},{"name":"Inbound","id":"e2739935-ac1a-4697-a1a3-062442a7ceef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/get/{inboundId}","description":"<p>Purpose: Get details of a specific inbound by ID.</p>\n<p>Path: /panel/api/inbounds/get/{inboundId}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required) — Inbound identifier.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated session/token.</p>\n<p>Example:\ncurl \"http://localhost:2053/randompath/panel/api/inbounds/get/{inboundId}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400 (bad id), 401, 404 (not found), 429, 500.\nIdempotency: Safe and idempotent (read-only).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","get","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ecb8833e-63fe-4577-808a-0f2799e97559","name":"Successful","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/get/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 23 Sep 2025 09:51:29 GMT"},{"key":"Content-Length","value":"1567"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"id\": 1,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"allTime\": 0,\n        \"remark\": \"\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"trafficReset\": \"never\",\n        \"lastTrafficResetTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 30886,\n        \"protocol\": \"vless\",\n        \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"created_at\\\": 1758532912000,\\n      \\\"email\\\": \\\"aadsykn0\\\",\\n      \\\"enable\\\": false,\\n      \\\"expiryTime\\\": 0,\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"id\\\": \\\"1c6079e6-5342-47fa-a9f0-1188bf4e2ef6\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"reset\\\": 0,\\n      \\\"subId\\\": \\\"dff4pajow34ymeiv\\\",\\n      \\\"tgId\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"updated_at\\\": 1758620508000\\n    },\\n    {\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"created_at\\\": 1758620950000,\\n      \\\"email\\\": \\\"cle5b4n7\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 0,\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"id\\\": \\\"c29c95e2-9c76-44c3-ba3d-ad57eba215b0\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"reset\\\": 0,\\n      \\\"subId\\\": \\\"zx95rirylinj93e4\\\",\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"totalGB\\\": 0,\\n      \\\"updated_at\\\": 1758620950000\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"encryption\\\": \\\"none\\\"\\n}\",\n        \"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\n        \"tag\": \"inbound-30886\",\n        \"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\n    }\n}"},{"id":"7b0c9a26-904a-4006-b284-969898d763fa","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/get/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 13:45:50 GMT"},{"key":"Content-Length","value":"90"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Obtain Failed: record not found\",\n    \"obj\": null\n}"}],"_postman_id":"e2739935-ac1a-4697-a1a3-062442a7ceef"},{"name":"Client Traffics with email","id":"15870a79-5479-4155-9806-965c597ef327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTraffics/{email}","description":"<p>Purpose: Fetch client traffic usage by email.</p>\n<p>Path: /panel/api/inbounds/getClientTraffics/{email}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: email (required) — Client email.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated session/token.</p>\n<p>Example:\ncurl \"http://localhost:2053/randompath/panel/api/inbounds/getClientTraffics/{email}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400 (invalid email), 401, 404, 429, 500.\nIdempotency: Safe and idempotent (read-only).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","getClientTraffics","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3e2665e8-dad3-441c-9540-892b85a7d546","name":"Successful","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTraffics/cycd2pj6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 21 Sep 2025 20:21:07 GMT"},{"key":"Content-Length","value":"238"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"id\": 1,\n        \"inboundId\": 1,\n        \"enable\": true,\n        \"email\": \"cycd2pj6\",\n        \"uuid\": \"113e88fd-749a-48af-a358-e642b581e6cb\",\n        \"subId\": \"5fm4zt28zq31pf1v\",\n        \"up\": 0,\n        \"down\": 0,\n        \"allTime\": 0,\n        \"expiryTime\": 0,\n        \"total\": 0,\n        \"reset\": 0,\n        \"lastOnline\": 0\n    }\n}"},{"id":"7d74e41f-ac77-449d-8578-9904e9d7204a","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTraffics/s729v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 13:49:06 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": null\n}"}],"_postman_id":"15870a79-5479-4155-9806-965c597ef327"},{"name":"Client Traffics with ID","id":"758fe7b5-8023-4267-a554-9b1d58ad45e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTrafficsById/{uuid}","description":"<p>Purpose: Fetch client traffic usage by client UUID.</p>\n<p>Path: /panel/api/inbounds/getClientTrafficsById/{uuid}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: uuid (required) — Client UUID.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated session/token.</p>\n<p>Example:\ncurl \"http://localhost:2053/randompath/panel/api/inbounds/getClientTrafficsById/{uuid}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400 (invalid UUID), 401, 404, 429, 500.\nIdempotency: Safe (read-only).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","getClientTrafficsById","{uuid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dfcfef07-f038-4d3b-8dae-bc48c86e6079","name":"Successful","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTrafficsById/411d895d-5d18-4524-b507-2a186039d6cb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 16 Sep 2025 12:48:42 GMT"},{"key":"Content-Length","value":"170"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        {\n            \"id\": 26,\n            \"inboundId\": 24,\n            \"enable\": false,\n            \"email\": \"r8zrgmdu\",\n            \"up\": 0,\n            \"down\": 0,\n            \"allTime\": 0,\n            \"expiryTime\": 0,\n            \"total\": 0,\n            \"reset\": 0,\n            \"lastOnline\": 0\n        }\n    ]\n}"},{"id":"58232bdb-da20-47db-a828-761dd1fbcdb4","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/getClientTrafficsById/a39c9655-bcbb-43c4-9b3b-ebd8b7ae9111"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 13:51:10 GMT"},{"key":"Content-Length","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": []\n}"}],"_postman_id":"758fe7b5-8023-4267-a554-9b1d58ad45e9"},{"name":"tgbot - sends backup to admins","id":"4ff6440c-53af-4846-9934-144ecd5029ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/backuptotgbot","description":"<p>Purpose: Trigger sending a backup to Telegram bot admins.</p>\n<p>Path: /panel/api/backuptotgbot\nQuery: none</p>\n<p>Params: none.</p>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires admin session/token.</p>\n<p>Example:\ncurl \"http://localhost:2053/randompath/panel/api/backuptotgbot\" -H \"Cookie: \"</p>\n<p>Success: 200 OK (trigger accepted)\nErrors: 401/403, 429, 500.\nIdempotency: Not guaranteed; repeated calls may send multiple backups. Side effects: Initiates backup send.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","backuptotgbot"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ff6440c-53af-4846-9934-144ecd5029ef"},{"name":"Client Ip address","id":"843db4c1-a844-4d1f-85db-e7afc7330c5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/clientIps/{email}","description":"<p>Purpose: Retrieve client IP address history by email.</p>\n<p>Path: /panel/api/inbounds/clientIps/{email}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: email (required) — Client email.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/clientIps/{email}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400 (invalid email), 401, 404, 429, 500.\nIdempotency: Read-like but uses POST; no side effects expected.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","clientIps","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"be8fcb22-1706-41de-a55f-107f948bcb83","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/clientIps/s729v2km"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 23:37:10 GMT"},{"key":"Content-Length","value":"46"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": \"No IP Record\"\n}"}],"_postman_id":"843db4c1-a844-4d1f-85db-e7afc7330c5c"},{"name":"Add Inbound","id":"1315bbf2-f8e2-4c35-bf50-adf10cd8c752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"up\": 0,\r\n\"down\": 0,\r\n\"total\": 0,\r\n\"remark\": \"New\",\r\n\"enable\": true,\r\n\"expiryTime\": 0,\r\n\"listen\": \"\",\r\n\"port\": 55421,\r\n\"protocol\": \"vless\",\r\n\"settings\": \"{\\\"clients\\\": [{\\\"id\\\": \\\"b86c0cdc-8a02-4da4-8693-72ba27005587\\\",\\\"flow\\\": \\\"\\\",\\\"email\\\": \\\"nt3wz904\\\",\\\"limitIp\\\": 0,\\\"totalGB\\\": 0,\\\"expiryTime\\\": 0,\\\"enable\\\": true,\\\"tgId\\\": \\\"\\\",\\\"subId\\\": \\\"rqv5zw1ydutamcp0\\\",\\\"reset\\\": 0}],\\\"decryption\\\": \\\"none\\\",\\\"fallbacks\\\": []}\",\r\n\"streamSettings\": \"{\\\"network\\\": \\\"tcp\\\",\\\"security\\\": \\\"reality\\\",\\\"externalProxy\\\": [],\\\"realitySettings\\\": {\\\"show\\\": false,\\\"xver\\\": 0,\\\"dest\\\": \\\"yahoo.com:443\\\",\\\"serverNames\\\": [\\\"yahoo.com\\\",\\\"www.yahoo.com\\\"],\\\"privateKey\\\": \\\"wIc7zBUiTXBGxM7S7wl0nCZ663OAvzTDNqS7-bsxV3A\\\",\\\"minClient\\\": \\\"\\\",\\\"maxClient\\\": \\\"\\\",\\\"maxTimediff\\\": 0,\\\"shortIds\\\": [\\\"47595474\\\",\\\"7a5e30\\\",\\\"810c1efd750030e8\\\",\\\"99\\\",\\\"9c19c134b8\\\",\\\"35fd\\\",\\\"2409c639a707b4\\\",\\\"c98fc6b39f45\\\"],\\\"settings\\\": {\\\"publicKey\\\": \\\"2UqLjQFhlvLcY7VzaKRotIDQFOgAJe1dYD1njigp9wk\\\",\\\"fingerprint\\\": \\\"random\\\",\\\"serverName\\\": \\\"\\\",\\\"spiderX\\\": \\\"/\\\"}},\\\"tcpSettings\\\": {\\\"acceptProxyProtocol\\\": false,\\\"header\\\": {\\\"type\\\": \\\"none\\\"}}}\",\r\n\"sniffing\": \"{\\\"enabled\\\": true,\\\"destOverride\\\": [\\\"http\\\",\\\"tls\\\",\\\"quic\\\",\\\"fakedns\\\"],\\\"metadataOnly\\\": false,\\\"routeOnly\\\": false}\",\r\n\"allocate\": \"{\\\"strategy\\\": \\\"always\\\",\\\"refresh\\\": 5,\\\"concurrency\\\": 3}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/add","description":"<p>Purpose: Create a new inbound.</p>\n<p>Path: /panel/api/inbounds/add\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Body: inbound configuration (required) — JSON payload per server schema.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/add\" <br />  -H \"Content-Type: application/json\" -H \"Cookie: \" <br />  -d '{\"\": \"...\"}'</p>\n<p>Success: 201 Created or 200 OK\nErrors: 400/422 (validation), 401/403, 429, 500.\nIdempotency: Not idempotent; creates a new resource.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2399c67c-53d2-4857-a1b5-b13977c8283f","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"up\": 0,\r\n\t\"down\": 0,\r\n\t\"total\": 0,\r\n\t\"remark\": \"\",\r\n\t\"enable\": true,\r\n\t\"expiryTime\": 0,\r\n\t\"listen\": \"\",\r\n\t\"port\": 26139,\r\n\t\"protocol\": \"vless\",\r\n\t\"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"20714ae1-db48-4202-9639-58237500127d\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"ajrzqcf9\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"subId\\\": \\\"rzkhldokbw9ij6za\\\",\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"reset\\\": 0\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"mlkem768x25519plus.native.600s.gGl-2HWuULvg_dyRSiZ8DjUJeE-PDFqJYoaiLirWG0o\\\",\\n  \\\"encryption\\\": \\\"mlkem768x25519plus.native.0rtt.DgrUVBkM9R_Kl2Pr29tytuic7pXLw75uGhKYVWNZ5mw\\\",\\n  \\\"selectedAuth\\\": \\\"X25519, not Post-Quantum\\\"\\n}\",\r\n\t\"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\r\n\t\"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 09 Sep 2025 10:35:45 GMT"},{"key":"Content-Length","value":"1392"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Inbound has been successfully created.\",\n    \"obj\": {\n        \"id\": 6,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"allTime\": 0,\n        \"remark\": \"\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 26139,\n        \"protocol\": \"vless\",\n        \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"20714ae1-db48-4202-9639-58237500127d\\\",\\n      \\\"security\\\": \\\"\\\",\\n      \\\"password\\\": \\\"\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"ajrzqcf9\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": 0,\\n      \\\"subId\\\": \\\"rzkhldokbw9ij6za\\\",\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"reset\\\": 0,\\n      \\\"created_at\\\": 1757414145000,\\n      \\\"updated_at\\\": 1757414145000\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"mlkem768x25519plus.native.600s.gGl-2HWuULvg_dyRSiZ8DjUJeE-PDFqJYoaiLirWG0o\\\",\\n  \\\"encryption\\\": \\\"mlkem768x25519plus.native.0rtt.DgrUVBkM9R_Kl2Pr29tytuic7pXLw75uGhKYVWNZ5mw\\\",\\n  \\\"selectedAuth\\\": \\\"X25519, not Post-Quantum\\\"\\n}\",\n        \"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\n        \"tag\": \"inbound-26139\",\n        \"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\n    }\n}"},{"id":"2173812d-6807-4f51-affd-e02b205dff71","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"up\": 0,\r\n\"down\": 0,\r\n\"total\": 0,\r\n\"remark\": \"New\",\r\n\"enable\": true,\r\n\"expiryTime\": 0,\r\n\"listen\": \"\",\r\n\"port\": 55421,\r\n\"protocol\": \"vless\",\r\n\"settings\": \"{\\\"clients\\\": [{\\\"id\\\": \\\"b86c0cdc-8a02-4da4-8693-72ba27005587\\\",\\\"flow\\\": \\\"\\\",\\\"email\\\": \\\"nt3wz904\\\",\\\"limitIp\\\": 0,\\\"totalGB\\\": 0,\\\"expiryTime\\\": 0,\\\"enable\\\": true,\\\"tgId\\\": \\\"\\\",\\\"subId\\\": \\\"rqv5zw1ydutamcp0\\\",\\\"reset\\\": 0}],\\\"decryption\\\": \\\"none\\\",\\\"fallbacks\\\": []}\",\r\n\"streamSettings\": \"{\\\"network\\\": \\\"tcp\\\",\\\"security\\\": \\\"reality\\\",\\\"externalProxy\\\": [],\\\"realitySettings\\\": {\\\"show\\\": false,\\\"xver\\\": 0,\\\"dest\\\": \\\"yahoo.com:443\\\",\\\"serverNames\\\": [\\\"yahoo.com\\\",\\\"www.yahoo.com\\\"],\\\"privateKey\\\": \\\"wIc7zBUiTXBGxM7S7wl0nCZ663OAvzTDNqS7-bsxV3A\\\",\\\"minClient\\\": \\\"\\\",\\\"maxClient\\\": \\\"\\\",\\\"maxTimediff\\\": 0,\\\"shortIds\\\": [\\\"47595474\\\",\\\"7a5e30\\\",\\\"810c1efd750030e8\\\",\\\"99\\\",\\\"9c19c134b8\\\",\\\"35fd\\\",\\\"2409c639a707b4\\\",\\\"c98fc6b39f45\\\"],\\\"settings\\\": {\\\"publicKey\\\": \\\"2UqLjQFhlvLcY7VzaKRotIDQFOgAJe1dYD1njigp9wk\\\",\\\"fingerprint\\\": \\\"random\\\",\\\"serverName\\\": \\\"\\\",\\\"spiderX\\\": \\\"/\\\"}},\\\"tcpSettings\\\": {\\\"acceptProxyProtocol\\\": false,\\\"header\\\": {\\\"type\\\": \\\"none\\\"}}}\",\r\n\"sniffing\": \"{\\\"enabled\\\": true,\\\"destOverride\\\": [\\\"http\\\",\\\"tls\\\",\\\"quic\\\",\\\"fakedns\\\"],\\\"metadataOnly\\\": false,\\\"routeOnly\\\": false}\",\r\n\"allocate\": \"{\\\"strategy\\\": \\\"always\\\",\\\"refresh\\\": 5,\\\"concurrency\\\": 3}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/add"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 13:54:54 GMT"},{"key":"Content-Length","value":"809"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Create Failed: Port already exists: 55421\\n\",\n    \"obj\": {\n        \"id\": 0,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"New\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 55421,\n        \"protocol\": \"vless\",\n        \"settings\": \"{\\\"clients\\\": [{\\\"id\\\": \\\"b86c0cdc-8a02-4da4-8693-72ba27005587\\\",\\\"flow\\\": \\\"\\\",\\\"email\\\": \\\"nt3wz904\\\",\\\"limitIp\\\": 0,\\\"totalGB\\\": 0,\\\"expiryTime\\\": 0,\\\"enable\\\": true,\\\"tgId\\\": \\\"\\\",\\\"subId\\\": \\\"rqv5zw1ydutamcp0\\\",\\\"reset\\\": 0}],\\\"decryption\\\": \\\"none\\\",\\\"fallbacks\\\": []}\",\n        \"streamSettings\": \"{\\\"network\\\": \\\"tcp\\\",\\\"security\\\": \\\"reality\\\",\\\"externalProxy\\\": [],\\\"realitySettings\\\": {\\\"show\\\": false,\\\"xver\\\": 0,\\\"dest\\\": \\\"yahoo.com:443\\\",\\\"serverNames\\\": [\\\"yahoo.com\\\",\\\"www.yahoo.com\\\"],\\\"privateKey\\\": \\\"wIc7zBUiTXBGxM7S7wl0nCZ663OAvzTDNqS7-bsxV3A\\\",\\\"minClient\\\": \\\"\\\",\\\"maxClient\\\": \\\"\\\",\\\"maxTimediff\\\": 0,\\\"shortIds\\\": [\\\"47595474\\\",\\\"7a5e30\\\",\\\"810c1efd750030e8\\\",\\\"99\\\",\\\"9c19c134b8\\\",\\\"35fd\\\",\\\"2409c639a707b4\\\",\\\"c98fc6b39f45\\\"],\\\"settings\\\": {\\\"publicKey\\\": \\\"2UqLjQFhlvLcY7VzaKRotIDQFOgAJe1dYD1njigp9wk\\\",\\\"fingerprint\\\": \\\"random\\\",\\\"serverName\\\": \\\"\\\",\\\"spiderX\\\": \\\"/\\\"}},\\\"tcpSettings\\\": {\\\"acceptProxyProtocol\\\": false,\\\"header\\\": {\\\"type\\\": \\\"none\\\"}}}\",\n        \"tag\": \"inbound-55421\",\n        \"sniffing\": \"{\\\"enabled\\\": true,\\\"destOverride\\\": [\\\"http\\\",\\\"tls\\\",\\\"quic\\\",\\\"fakedns\\\"],\\\"metadataOnly\\\": false,\\\"routeOnly\\\": false}\",\n        \"allocate\": \"{\\\"strategy\\\": \\\"always\\\",\\\"refresh\\\": 5,\\\"concurrency\\\": 3}\"\n    }\n}"}],"_postman_id":"1315bbf2-f8e2-4c35-bf50-adf10cd8c752"},{"name":"Add Client to inbound","id":"ac2573ee-4360-4a3c-9041-16c4671a525a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"6","type":"text"},{"key":"settings","value":"{\"clients\": [{\n  \"id\": \"06c3c327-c619-4998-9bb3-adaced38c68b\",\n  \"flow\": \"\",\n  \"email\": \"5atat4da\",\n  \"limitIp\": 0,\n  \"totalGB\": 0,\n  \"expiryTime\": 0,\n  \"enable\": true,\n  \"tgId\": \"\",\n  \"subId\": \"86xi6py5uwsgokh1\",\n  \"comment\": \"\",\n  \"reset\": 0\n}]}","type":"text","uuid":"ae2fbde2-65bb-4160-8c11-6b8e0a4fb6e7"}]},"url":"http://localhost:2053/randompath/panel/api/inbounds/addClient","description":"<p>Purpose: Add a client to an inbound.</p>\n<p>Path: /panel/api/inbounds/addClient\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Body: inboundId, client details (required) — JSON per server schema.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/addClient\" <br />  -H \"Content-Type: application/json\" -H \"Cookie: \" <br />  -d '{\"inboundId\":\"\",\"client\":{...}}'</p>\n<p>Success: 200 OK or 201 Created\nErrors: 400/422 (validation), 401/403, 404 (inbound not found), 429, 500.\nIdempotency: Not idempotent; creates or mutates client list.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","addClient"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"95c2698b-8cc2-4d7b-947d-646408104c79","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"6","type":"text"},{"key":"settings","value":"{\"clients\": [{\n  \"id\": \"06c3c327-c619-4998-9bb3-adaced38c68b\",\n  \"flow\": \"\",\n  \"email\": \"5atat4da\",\n  \"limitIp\": 0,\n  \"totalGB\": 0,\n  \"expiryTime\": 0,\n  \"enable\": true,\n  \"tgId\": \"\",\n  \"subId\": \"86xi6py5uwsgokh1\",\n  \"comment\": \"\",\n  \"reset\": 0\n}]}","type":"text","uuid":"ae2fbde2-65bb-4160-8c11-6b8e0a4fb6e7"}],"options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/addClient"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 11:05:15 GMT"},{"key":"Content-Length","value":"70"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Inbound client(s) have been added.\",\n    \"obj\": null\n}"},{"id":"87325db5-e9ba-4de4-b1eb-1da8aa69452d","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"id\": 5,\r\n\t\"settings\": \"{\\\"clients\\\": [{\\\"id\\\": \\\"bbfad557-28f2-47e5-9f3d-e3c7f532fbda\\\",\\\"flow\\\": \\\"\\\",\\\"email\\\": \\\"dp1plmlt8\\\",\\\"limitIp\\\": 0,\\\"totalGB\\\": 0,\\\"expiryTime\\\": 0,\\\"enable\\\": true,\\\"tgId\\\": \\\"\\\",\\\"subId\\\": \\\"2rv0gb458kbfl532\\\",\\\"reset\\\": 0}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/addClient"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:03:18 GMT"},{"key":"Content-Length","value":"112"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong! Failed: Duplicate email: dp1plmlt8\\n\",\n    \"obj\": null\n}"}],"_postman_id":"ac2573ee-4360-4a3c-9041-16c4671a525a"},{"name":"Update Inbound","id":"fd9c69da-8617-4fd0-8deb-e5beb7cc7319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"up\": 0,\r\n\t\"down\": 0,\r\n\t\"total\": 0,\r\n\t\"remark\": \"\",\r\n\t\"enable\": true,\r\n\t\"expiryTime\": 0,\r\n\t\"listen\": \"\",\r\n\t\"port\": 44360,\r\n\t\"protocol\": \"vless\",\r\n\t\"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"a39c9655-bcbb-43c4-9b3b-ebd8b7ae9e1e\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"s729v2km\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"subId\\\": \\\"n2b9ubaioe06cak8\\\",\\n      \\\"reset\\\": 0\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"fallbacks\\\": []\\n}\",\r\n\t\"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\r\n\t\"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\",\r\n\t\"allocate\": \"{\\n  \\\"strategy\\\": \\\"always\\\",\\n  \\\"refresh\\\": 5,\\n  \\\"concurrency\\\": 3\\n}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/update/{inboundId}","description":"<p>Purpose: Update an existing inbound by ID.</p>\n<p>Path: /panel/api/inbounds/update/{inboundId}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n<li>Body: inbound fields to update (required) — JSON per server schema.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/update/{inboundId}\" <br />  -H \"Content-Type: application/json\" -H \"Cookie: \" <br />  -d '{\"\": \"\"}'</p>\n<p>Success: 200 OK\nErrors: 400/422, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; mutates resource.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","update","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3f563703-2fca-4a8e-b028-d9b9fa2a68aa","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"up\": 0,\r\n\t\"down\": 0,\r\n\t\"total\": 0,\r\n\t\"remark\": \"\",\r\n\t\"enable\": true,\r\n\t\"expiryTime\": 0,\r\n\t\"listen\": \"\",\r\n\t\"port\": 26139,\r\n\t\"protocol\": \"vless\",\r\n\t\"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"20714ae1-db48-4202-9639-58237500127d\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"ajrzqcf9\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": 0,\\n      \\\"subId\\\": \\\"rzkhldokbw9ij6za\\\",\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"reset\\\": 0,\\n      \\\"created_at\\\": 1757414145000,\\n      \\\"updated_at\\\": 1757414145000\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"mlkem768x25519plus.native.600s.gGl-2HWuULvg_dyRSiZ8DjUJeE-PDFqJYoaiLirWG0o\\\",\\n  \\\"encryption\\\": \\\"mlkem768x25519plus.native.0rtt.DgrUVBkM9R_Kl2Pr29tytuic7pXLw75uGhKYVWNZ5mw\\\",\\n  \\\"selectedAuth\\\": \\\"X25519, not Post-Quantum\\\"\\n}\",\r\n\t\"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\r\n\t\"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/update/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 09 Sep 2025 10:38:00 GMT"},{"key":"Content-Length","value":"1325"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Inbound has been successfully updated.\",\n    \"obj\": {\n        \"id\": 6,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"allTime\": 0,\n        \"remark\": \"\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 26139,\n        \"protocol\": \"vless\",\n        \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"comment\\\": \\\"\\\",\\n      \\\"created_at\\\": 1757414145000,\\n      \\\"email\\\": \\\"ajrzqcf9\\\",\\n      \\\"enable\\\": true,\\n      \\\"expiryTime\\\": 0,\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"id\\\": \\\"20714ae1-db48-4202-9639-58237500127d\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"reset\\\": 0,\\n      \\\"subId\\\": \\\"rzkhldokbw9ij6za\\\",\\n      \\\"tgId\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"updated_at\\\": 1757414145000\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"mlkem768x25519plus.native.600s.gGl-2HWuULvg_dyRSiZ8DjUJeE-PDFqJYoaiLirWG0o\\\",\\n  \\\"encryption\\\": \\\"mlkem768x25519plus.native.0rtt.DgrUVBkM9R_Kl2Pr29tytuic7pXLw75uGhKYVWNZ5mw\\\",\\n  \\\"selectedAuth\\\": \\\"X25519, not Post-Quantum\\\"\\n}\",\n        \"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\n        \"tag\": \"\",\n        \"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\"\n    }\n}"},{"id":"006e97bd-1841-47a3-9347-5f39064d2a7f","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"up\": 0,\r\n\t\"down\": 0,\r\n\t\"total\": 0,\r\n\t\"remark\": \"\",\r\n\t\"enable\": true,\r\n\t\"expiryTime\": 0,\r\n\t\"listen\": \"\",\r\n\t\"port\": 44322,\r\n\t\"protocol\": \"vless\",\r\n\t\"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"a39c9655-bcbb-43c4-9b3b-ebd8b7ae9e1e\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"s729v2km\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"subId\\\": \\\"n2b9ubaioe06cak8\\\",\\n      \\\"reset\\\": 0\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"fallbacks\\\": []\\n}\",\r\n\t\"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\r\n\t\"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\",\r\n\t\"allocate\": \"{\\n  \\\"strategy\\\": \\\"always\\\",\\n  \\\"refresh\\\": 5,\\n  \\\"concurrency\\\": 3\\n}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/update/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:12:37 GMT"},{"key":"Content-Length","value":"542"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Update Failed: record not found\",\n    \"obj\": {\n        \"id\": 6,\n        \"up\": 0,\n        \"down\": 0,\n        \"total\": 0,\n        \"remark\": \"\",\n        \"enable\": true,\n        \"expiryTime\": 0,\n        \"clientStats\": null,\n        \"listen\": \"\",\n        \"port\": 44322,\n        \"protocol\": \"vless\",\n        \"settings\": \"{\\n  \\\"clients\\\": [\\n    {\\n      \\\"id\\\": \\\"a39c9655-bcbb-43c4-9b3b-ebd8b7ae9e1e\\\",\\n      \\\"flow\\\": \\\"\\\",\\n      \\\"email\\\": \\\"s729v2km\\\",\\n      \\\"limitIp\\\": 0,\\n      \\\"totalGB\\\": 0,\\n      \\\"expiryTime\\\": 0,\\n      \\\"enable\\\": true,\\n      \\\"tgId\\\": \\\"\\\",\\n      \\\"subId\\\": \\\"n2b9ubaioe06cak8\\\",\\n      \\\"reset\\\": 0\\n    }\\n  ],\\n  \\\"decryption\\\": \\\"none\\\",\\n  \\\"fallbacks\\\": []\\n}\",\n        \"streamSettings\": \"{\\n  \\\"network\\\": \\\"tcp\\\",\\n  \\\"security\\\": \\\"none\\\",\\n  \\\"externalProxy\\\": [],\\n  \\\"tcpSettings\\\": {\\n    \\\"acceptProxyProtocol\\\": false,\\n    \\\"header\\\": {\\n      \\\"type\\\": \\\"none\\\"\\n    }\\n  }\\n}\",\n        \"tag\": \"\",\n        \"sniffing\": \"{\\n  \\\"enabled\\\": false,\\n  \\\"destOverride\\\": [\\n    \\\"http\\\",\\n    \\\"tls\\\",\\n    \\\"quic\\\",\\n    \\\"fakedns\\\"\\n  ],\\n  \\\"metadataOnly\\\": false,\\n  \\\"routeOnly\\\": false\\n}\",\n        \"allocate\": \"{\\n  \\\"strategy\\\": \\\"always\\\",\\n  \\\"refresh\\\": 5,\\n  \\\"concurrency\\\": 3\\n}\"\n    }\n}"}],"_postman_id":"fd9c69da-8617-4fd0-8deb-e5beb7cc7319"},{"name":"Update Client","id":"fa89923a-7e84-4723-98ba-f737dde67144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"id\": 20,\r\n\t\"settings\": \"{\\\"clients\\\": [{\\\"id\\\": \\\"6046007d-f4e5-4384-a545-2848165001da\\\",\\\"flow\\\": \\\"\\\",\\\"email\\\": \\\"sbhmrsmz\\\",\\\"limitIp\\\": 0,\\\"totalGB\\\": 10737418240,\\\"expiryTime\\\": 1729073736270,\\\"enable\\\": true,\\\"tgId\\\": \\\"\\\",\\\"subId\\\": \\\"z70791vpexfxw57h\\\",\\\"reset\\\": 0}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/updateClient/{uuid}","description":"<p>Purpose: Update an existing client by UUID.</p>\n<p>Path: /panel/api/inbounds/updateClient/{uuid}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: uuid (required) — Client UUID.</li>\n<li>Body: fields to update (required) — JSON per server schema.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/updateClient/{uuid}\" <br />  -H \"Content-Type: application/json\" -H \"Cookie: \" <br />  -d '{\"\": \"\"}'</p>\n<p>Success: 200 OK\nErrors: 400/422, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; mutates resource.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","updateClient","{uuid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"187f59c6-f56c-41df-8aa1-2ca2c04edeb5","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"id\": 6,\r\n\t\"settings\": \"{\\\"clients\\\": [{\\n  \\\"id\\\": \\\"20714ae1-db48-4202-9639-58237500127d\\\",\\n  \\\"flow\\\": \\\"\\\",\\n  \\\"email\\\": \\\"ajrzqcf9\\\",\\n  \\\"limitIp\\\": 0,\\n  \\\"totalGB\\\": 0,\\n  \\\"expiryTime\\\": 0,\\n  \\\"enable\\\": true,\\n  \\\"tgId\\\": 0,\\n  \\\"subId\\\": \\\"rzkhldokbw9ij6za\\\",\\n  \\\"comment\\\": \\\"\\\",\\n  \\\"reset\\\": 0,\\n  \\\"created_at\\\": 1757414145000,\\n  \\\"updated_at\\\": 1757414342000\\n}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/updateClient/20714ae1-db48-4202-9639-58237500127d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 09 Sep 2025 10:40:16 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Inbound client has been updated.\",\n    \"obj\": null\n}"},{"id":"50ec25d2-d2eb-4105-bc51-eb06a17b399d","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 3,\r\n    \"settings\": \"{\\\"clients\\\":[{\\\"id\\\":\\\"95e4e7bb-7796-47e7-e8a7-f4055194f776\\\",\\\"alterId\\\":0,\\\"email\\\":\\\"test123\\\",\\\"limitIp\\\":2,\\\"totalGB\\\":42949672960,\\\"expiryTime\\\":1682864675944,\\\"enable\\\":true,\\\"tgId\\\":\\\"\\\",\\\"subId\\\":\\\"\\\"}]}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/updateClient/fake uuid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:15:08 GMT"},{"key":"Content-Length","value":"106"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong! Failed: empty client ID\\n\",\n    \"obj\": null\n}"}],"_postman_id":"fa89923a-7e84-4723-98ba-f737dde67144"},{"name":"Clear Client Ip address","id":"6d16599f-916e-45d7-ac71-aad4ed1cb439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/clearClientIps/{email}","description":"<p>Purpose: Clear stored client IP addresses by email.</p>\n<p>Path: /panel/api/inbounds/clearClientIps/{email}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: email (required)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/clearClientIps/{email}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; deletes stored IPs (destructive).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","clearClientIps","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fc3ecfa9-5359-47c4-99fc-1b2e27f58fcc","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/clearClientIps/27225ost"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:16:28 GMT"},{"key":"Content-Length","value":"80"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Log Cleared Successfully\",\n    \"obj\": null\n}"}],"_postman_id":"6d16599f-916e-45d7-ac71-aad4ed1cb439"},{"name":"Reset traffics of all inbounds","id":"0475fe17-9c8b-4638-b704-2c17ab780121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/resetAllTraffics","description":"<p>Purpose: Reset traffic counters for all inbounds.</p>\n<p>Path: /panel/api/inbounds/resetAllTraffics\nQuery: none</p>\n<p>Params: none</p>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/resetAllTraffics\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 401/403, 429, 500.\nIdempotency: Not idempotent; resets counters globally.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","resetAllTraffics"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"44cc96a5-7136-48f3-9655-e23c50bfd622","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/resetAllTraffics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:17:07 GMT"},{"key":"Content-Length","value":"93"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"all traffic has been reset Successfully\",\n    \"obj\": null\n}"}],"_postman_id":"0475fe17-9c8b-4638-b704-2c17ab780121"},{"name":"Reset traffics of all clients in an inbound","id":"6746a441-d6c5-4bf9-a1c5-d1cf177c2c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/resetAllClientTraffics/{inboundId}","description":"<p>Purpose: Reset traffic counters for all clients in a specific inbound.</p>\n<p>Path: /panel/api/inbounds/resetAllClientTraffics/{inboundId}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/resetAllClientTraffics/{inboundId}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 401/403, 404, 429, 500.\nIdempotency: Not idempotent; resets counters for clients under the inbound.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","resetAllClientTraffics","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d9566ab3-f7e6-40ec-9263-61361f263015","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/resetAllClientTraffics/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:17:39 GMT"},{"key":"Content-Length","value":"107"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"All traffic from the client has been reset. Successfully\",\n    \"obj\": null\n}"}],"_postman_id":"6746a441-d6c5-4bf9-a1c5-d1cf177c2c1c"},{"name":"Reset Client Traffic","id":"0e6e3654-7bb3-4008-9c95-ccc2591be1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/inbounds/{inboundId}/resetClientTraffic/{email}","description":"<p>Purpose: Reset a single client’s traffic in a specific inbound by email.</p>\n<p>Path: /panel/api/inbounds/{inboundId}/resetClientTraffic/{email}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n<li>Path: email (required)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/{inboundId}/resetClientTraffic/{email}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; resets client’s counters.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","{inboundId}","resetClientTraffic","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1f71e13d-08ae-44db-9af0-2c2a1c5fe0d0","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/inbounds/3/resetClientTraffic/27225ost"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:18:46 GMT"},{"key":"Content-Length","value":"91"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Traffic has been reset Successfully\",\n    \"obj\": null\n}"}],"_postman_id":"0e6e3654-7bb3-4008-9c95-ccc2591be1a1"},{"name":"Delete Client","id":"131b13f8-e332-452c-9328-881ec3ae661a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/{inboundId}/delClient/{uuid}","description":"<p>Purpose: Delete a client from an inbound by UUID.</p>\n<p>Path: /panel/api/inbounds/{inboundId}/delClient/{uuid}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n<li>Path: uuid (required) — Client UUID.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/{inboundId}/delClient/{uuid}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; deletes client (destructive).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","{inboundId}","delClient","{uuid}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"33a4376c-6e8b-44b7-b994-695cbff0515b","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/3/delClient/bf036995-a81d-41b3-8e06-8e233418c96a"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:20:24 GMT"},{"key":"Content-Length","value":"83"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Client deleted Successfully\",\n    \"obj\": null\n}"},{"id":"1aacfd8d-b41a-408a-b742-c41abd398571","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/2/delClient/95e2b7bb-7796-47e7-e8a7-f4055194f433"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:20:48 GMT"},{"key":"Content-Length","value":"101"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Something went wrong! Failed: record not found\",\n    \"obj\": null\n}"}],"_postman_id":"131b13f8-e332-452c-9328-881ec3ae661a"},{"name":"Delete Inbound","id":"b35612e3-a3bd-4aec-9cca-162427ef2a33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/del/{inboundId}","description":"<p>Purpose: Delete an inbound by ID.</p>\n<p>Path: /panel/api/inbounds/del/{inboundId}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/del/{inboundId}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; deletes resource (destructive).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","del","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"99695e45-a9d0-4358-87d0-7be5118e3340","name":"Successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/del/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:21:26 GMT"},{"key":"Content-Length","value":"72"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Delete Successfully\",\n    \"obj\": 3\n}"},{"id":"72de855e-d1a0-4100-b818-26ec600b9835","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/del/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:21:34 GMT"},{"key":"Content-Length","value":"89"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"msg\": \"Delete Failed: record not found\",\n    \"obj\": 3\n}"}],"_postman_id":"b35612e3-a3bd-4aec-9cca-162427ef2a33"},{"name":"Delete Depleted Clients","id":"ac7083c9-9719-4562-859c-01c690a5d08d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/randompath/panel/api/inbounds/delDepletedClients/{inboundId}","description":"<p>Purpose: Delete all depleted clients under an inbound.</p>\n<p>Path: /panel/api/inbounds/delDepletedClients/{inboundId}\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Path: inboundId (required)</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/delDepletedClients/{inboundId}\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 400, 401/403, 404, 429, 500.\nIdempotency: Not idempotent; bulk deletion (destructive).</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","delDepletedClients","{inboundId}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"39d6169a-0536-4467-87ab-285aaa0752b9","name":"success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:2053/panel/api/inbounds/delDepletedClients/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:22:23 GMT"},{"key":"Content-Length","value":"97"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"All depleted clients are deleted Successfully\",\n    \"obj\": null\n}"}],"_postman_id":"ac7083c9-9719-4562-859c-01c690a5d08d"},{"name":"Online Clients","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"bef33936-3edd-451b-840c-e391e8018084"}}],"id":"5ff2f31f-6ee6-4093-9e65-e2f0420b06ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:2053/randompath/panel/api/inbounds/onlines","description":"<p>Purpose: Get list of online clients across inbounds.</p>\n<p>Path: /panel/api/inbounds/onlines\nQuery: none</p>\n<p>Params: none</p>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/onlines\" -H \"Cookie: \"</p>\n<p>Success: 200 OK\nErrors: 401/403, 429, 500.\nIdempotency: Read-like but uses POST; no side effects expected.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","onlines"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1e63f528-9d79-48f7-a414-a0ecb0d8300b","name":"Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:2053/randompath/panel/api/inbounds/onlines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 17 Oct 2024 14:26:49 GMT"},{"key":"Content-Length","value":"68"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        \"88vzckui\"\n    ]\n}"}],"_postman_id":"5ff2f31f-6ee6-4093-9e65-e2f0420b06ec"},{"name":"import inbound","id":"dd184c01-28b9-403f-9430-2c8ad26405b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:2053/randompath/panel/api/inbounds/import","description":"<p>Purpose: Import an inbound configuration from payload.</p>\n<p>Path: /panel/api/inbounds/import\nQuery: none</p>\n<p>Params:</p>\n<ul>\n<li>Body: import data (required) — JSON per server schema.</li>\n</ul>\n<p>Environment variables: localhost, 2053, /randompath\nAuth: Requires authenticated admin session/token.</p>\n<p>Example:\ncurl -X POST \"http://localhost:2053/randompath/panel/api/inbounds/import\" <br />  -H \"Content-Type: application/json\" -H \"Cookie: \" <br />  -d '{\"data\": \"...\"}'</p>\n<p>Success: 200 OK or 201 Created\nErrors: 400/422, 401/403, 429, 500.\nIdempotency: Not idempotent; creates or mutates resources.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","import"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd184c01-28b9-403f-9430-2c8ad26405b9"},{"name":"last Online","id":"4b6f40df-39cb-4cd1-abce-6d0b952928dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/panel/api/inbounds/lastOnline","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This API endpoint retrieves the last online status of inbound connections. It is useful for monitoring the availability and performance of various inbound services within the system.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/panel/api/inbounds/lastOnline</code></p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request does not require any input parameters in the body.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response will be in JSON format and includes the following structure:</p>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong>: A string that may contain a message related to the request (usually empty).</p>\n</li>\n<li><p><strong>obj</strong>: This field can have different structures based on the context:</p>\n<ul>\n<li><p>If the last online status is available, it will contain an object with the identifier of the inbound connection and its last online status (e.g., <code>{\"lb0n0jx2\":0}</code>).</p>\n</li>\n<li><p>If there are no inbound connections or the status is not available, it may return <code>null</code>.</p>\n</li>\n<li><p>In related responses, the <code>obj</code> can also contain an array of objects with detailed statistics about each inbound connection, including metrics such as <code>up</code>, <code>down</code>, <code>total</code>, <code>allTime</code>, and <code>lastOnline</code> timestamps.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"lb0n0jx2\": 0\n  }\n}\n\n</code></pre>\n<h3 id=\"status-codes\">Status Codes</h3>\n<ul>\n<li><strong>200 OK</strong>: Indicates that the request was processed successfully.</li>\n</ul>\n<p>This endpoint is essential for tracking the operational status of inbound connections and can be used in conjunction with other API endpoints that provide detailed statistics about connection performance.</p>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","inbounds","lastOnline"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"828a4768-ea65-456a-b103-94185454e72b","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/inbounds/lastOnline"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 13 Sep 2025 21:07:33 GMT"},{"key":"Content-Length","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"lb0n0jx2\": 1757797563004\n    }\n}"}],"_postman_id":"4b6f40df-39cb-4cd1-abce-6d0b952928dd"},{"name":"del Client By Email","id":"0015b58f-9153-43f8-be32-0c35478f0570","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/inbounds/{id}/delClientByEmail/{email}","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint allows you to delete a client by their email address from a specified inbound configuration. It is useful for managing client access and ensuring that only authorized users are retained within the system.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"request-url\">Request URL</h3>\n<p><code>http://localhost:2053/panel/api/inbounds/{id}/delClientByEmail/{email}</code></p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><p><strong>id</strong> (string): The unique identifier of the inbound configuration from which the client will be deleted.</p>\n</li>\n<li><p><strong>email</strong> (string): The email address of the client to be deleted.</p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This endpoint does not require a request body.</p>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response will be in JSON format and will contain the following fields:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the operation was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the operation (can be empty).</p>\n</li>\n<li><p><strong>obj</strong> (object or null): Contains the details of the operation. It may return <code>null</code> if there are no additional details.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": null\n}\n\n</code></pre>\n<h3 id=\"related-responses\">Related Responses</h3>\n<p>The structure of the response is consistent with other endpoints in the API, which may return similar success messages and object structures. For example:</p>\n<ul>\n<li>A successful operation may return an object with client statistics or an empty response indicating that the action was completed without errors.</li>\n</ul>\n<h3 id=\"usage-notes\">Usage Notes</h3>\n<ul>\n<li><p>Ensure that the provided email corresponds to an existing client associated with the specified inbound configuration.</p>\n</li>\n<li><p>A successful response does not guarantee that the client was found; it only indicates that the request was processed without errors.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","inbounds","{id}","delClientByEmail","{email}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"26088ec9-de06-488a-a0f2-f4b8f1687bd9","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/inbounds/14/delClientByEmail/h45vyj2i"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 10 Sep 2025 14:37:46 GMT"},{"key":"Content-Length","value":"63"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Client deleted successfully\",\n    \"obj\": null\n}"}],"_postman_id":"0015b58f-9153-43f8-be32-0c35478f0570"},{"name":"status","id":"4bd715b6-d7fa-4181-b417-99af73bfc514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/status","description":"<h3 id=\"api-endpoint-server-status\">API Endpoint: Server Status</h3>\n<p>This endpoint retrieves the current status of the server, providing various metrics related to CPU, memory, disk usage, network traffic, and application statistics.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/status</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object containing the following fields:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request status.</p>\n</li>\n<li><p><strong>obj</strong> (object): An object containing detailed server metrics:</p>\n<ul>\n<li><p><strong>cpu</strong> (integer): The current CPU usage percentage.</p>\n</li>\n<li><p><strong>cpuCores</strong> (integer): The number of CPU cores available.</p>\n</li>\n<li><p><strong>logicalPro</strong> (integer): The number of logical processors.</p>\n</li>\n<li><p><strong>cpuSpeedMhz</strong> (integer): The speed of the CPU in MHz.</p>\n</li>\n<li><p><strong>mem</strong> (object): Memory usage details:</p>\n<ul>\n<li><p><strong>current</strong> (integer): Current memory usage in bytes.</p>\n</li>\n<li><p><strong>total</strong> (integer): Total memory available in bytes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>swap</strong> (object): Swap memory details:</p>\n<ul>\n<li><p><strong>current</strong> (integer): Current swap usage in bytes.</p>\n</li>\n<li><p><strong>total</strong> (integer): Total swap available in bytes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>disk</strong> (object): Disk usage details:</p>\n<ul>\n<li><p><strong>current</strong> (integer): Current disk usage in bytes.</p>\n</li>\n<li><p><strong>total</strong> (integer): Total disk space available in bytes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>xray</strong> (object): X-ray service status:</p>\n<ul>\n<li><p><strong>state</strong> (string): Current state of the X-ray service.</p>\n</li>\n<li><p><strong>errorMsg</strong> (string): Error message if applicable.</p>\n</li>\n<li><p><strong>version</strong> (string): Version of the X-ray service.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>uptime</strong> (integer): Server uptime in seconds.</p>\n</li>\n<li><p><strong>loads</strong> (array): Current load averages.</p>\n</li>\n<li><p><strong>tcpCount</strong> (integer): Number of active TCP connections.</p>\n</li>\n<li><p><strong>udpCount</strong> (integer): Number of active UDP connections.</p>\n</li>\n<li><p><strong>netIO</strong> (object): Network I/O statistics:</p>\n<ul>\n<li><p><strong>up</strong> (integer): Data sent in bytes.</p>\n</li>\n<li><p><strong>down</strong> (integer): Data received in bytes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>netTraffic</strong> (object): Network traffic statistics:</p>\n<ul>\n<li><p><strong>sent</strong> (integer): Total data sent in bytes.</p>\n</li>\n<li><p><strong>recv</strong> (integer): Total data received in bytes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>publicIP</strong> (object): Public IP addresses:</p>\n<ul>\n<li><p><strong>ipv4</strong> (string): IPv4 address.</p>\n</li>\n<li><p><strong>ipv6</strong> (string): IPv6 address.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>appStats</strong> (object): Application statistics:</p>\n<ul>\n<li><p><strong>threads</strong> (integer): Number of active threads.</p>\n</li>\n<li><p><strong>mem</strong> (integer): Memory used by the application in bytes.</p>\n</li>\n<li><p><strong>uptime</strong> (integer): Application uptime in seconds.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>A successful response will return a 200 status code.</p>\n</li>\n<li><p>The structure of the response may vary, as some calls to other endpoints may return <code>null</code> or an array in the <code>obj</code> field, but the <code>success</code> and <code>msg</code> fields will remain consistent.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","status"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bd715b6-d7fa-4181-b417-99af73bfc514"},{"name":"get Db","id":"a9bf1662-c1f4-4d85-91c7-3a367b142841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getDb","description":"<h2 id=\"api-endpoint-get-database-information\">API Endpoint: Get Database Information</h2>\n<h3 id=\"method\">Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>http://localhost:2053/randompath/panel/api/server/getDb</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves the current database status and server metrics. It provides insights into the server's CPU, memory, disk usage, network statistics, and application statistics. The response will include various metrics that can be used to monitor the health and performance of the server.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>There are no request parameters required for this endpoint.</p>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>The response will be in JSON format and will include the following structure:</p>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating the success of the request.</p>\n</li>\n<li><p><strong>msg</strong>: A message string that may contain additional information (usually empty).</p>\n</li>\n<li><p><strong>obj</strong>: An object containing server metrics or null if no data is available. The metrics include:</p>\n<ul>\n<li><p><strong>cpu</strong>: Current CPU usage.</p>\n</li>\n<li><p><strong>cpuCores</strong>: Number of CPU cores.</p>\n</li>\n<li><p><strong>logicalPro</strong>: Number of logical processors.</p>\n</li>\n<li><p><strong>cpuSpeedMhz</strong>: CPU speed in MHz.</p>\n</li>\n<li><p><strong>mem</strong>: Memory usage details:</p>\n<ul>\n<li><p><strong>current</strong>: Current memory usage.</p>\n</li>\n<li><p><strong>total</strong>: Total memory available.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>swap</strong>: Swap memory details:</p>\n<ul>\n<li><p><strong>current</strong>: Current swap usage.</p>\n</li>\n<li><p><strong>total</strong>: Total swap available.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>disk</strong>: Disk usage details:</p>\n<ul>\n<li><p><strong>current</strong>: Current disk usage.</p>\n</li>\n<li><p><strong>total</strong>: Total disk space available.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>xray</strong>: Xray service status:</p>\n<ul>\n<li><p><strong>state</strong>: Current state of the Xray service.</p>\n</li>\n<li><p><strong>errorMsg</strong>: Any error message related to Xray.</p>\n</li>\n<li><p><strong>version</strong>: Version of the Xray service.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>uptime</strong>: Server uptime in seconds.</p>\n</li>\n<li><p><strong>loads</strong>: Array of load averages.</p>\n</li>\n<li><p><strong>tcpCount</strong>: Number of active TCP connections.</p>\n</li>\n<li><p><strong>udpCount</strong>: Number of active UDP connections.</p>\n</li>\n<li><p><strong>netIO</strong>: Network I/O statistics:</p>\n<ul>\n<li><p><strong>up</strong>: Data sent.</p>\n</li>\n<li><p><strong>down</strong>: Data received.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>netTraffic</strong>: Network traffic statistics:</p>\n<ul>\n<li><p><strong>sent</strong>: Total data sent.</p>\n</li>\n<li><p><strong>recv</strong>: Total data received.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>publicIP</strong>: Public IP addresses:</p>\n<ul>\n<li><p><strong>ipv4</strong>: IPv4 address.</p>\n</li>\n<li><p><strong>ipv6</strong>: IPv6 address.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>appStats</strong>: Application statistics:</p>\n<ul>\n<li><p><strong>threads</strong>: Number of threads used by the application.</p>\n</li>\n<li><p><strong>mem</strong>: Memory usage by the application.</p>\n</li>\n<li><p><strong>uptime</strong>: Uptime of the application.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"cpu\": 0,\n    \"cpuCores\": 0,\n    \"logicalPro\": 0,\n    \"cpuSpeedMhz\": 0,\n    \"mem\": {\n      \"current\": 0,\n      \"total\": 0\n    },\n    \"swap\": {\n      \"current\": 0,\n      \"total\": 0\n    },\n    \"disk\": {\n      \"current\": 0,\n      \"total\": 0\n    },\n    \"xray\": {\n      \"state\": \"\",\n      \"errorMsg\": \"\",\n      \"version\": \"\"\n    },\n    \"uptime\": 0,\n    \"loads\": [0],\n    \"tcpCount\": 0,\n    \"udpCount\": 0,\n    \"netIO\": {\n      \"up\": 0,\n      \"down\": 0\n    },\n    \"netTraffic\": {\n      \"sent\": 0,\n      \"recv\": 0\n    },\n    \"publicIP\": {\n      \"ipv4\": \"\",\n      \"ipv6\": \"\"\n    },\n    \"appStats\": {\n      \"threads\": 0,\n      \"mem\": 0,\n      \"uptime\": 0\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getDb"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9bf1662-c1f4-4d85-91c7-3a367b142841"},{"name":"get Xray Version","id":"f3755c17-ebe7-4dff-9152-393ad24c1556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getXrayVersion","description":"<h3 id=\"get-xray-version\">Get Xray Version</h3>\n<p>This endpoint retrieves the current version of the Xray service running on the server. It is a simple HTTP GET request that does not require any parameters.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/getXrayVersion</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be in JSON format and will contain the following fields:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request.</p>\n</li>\n<li><p><strong>obj</strong> (array or null): Contains the version information of Xray. If the version is not available, this field may return null.</p>\n</li>\n</ul>\n<h5 id=\"example-response\">Example Response</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": [\"\"]\n}\n\n</code></pre>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>A successful response will return a 200 HTTP status code.</p>\n</li>\n<li><p>The <code>obj</code> field may contain an array with version details or may be null depending on the availability of the information.</p>\n</li>\n<li><p>This endpoint is related to other server status endpoints which may return similar response structures, such as CPU, memory, and network statistics.</p>\n</li>\n</ul>\n<p>This endpoint is useful for monitoring and managing the Xray service version on the server.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getXrayVersion"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"90114a56-e115-42b1-86e4-82b772d905f0","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getXrayVersion"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:15:38 GMT"},{"key":"Content-Length","value":"75"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        \"v25.9.5\",\n        \"v25.8.31\",\n        \"v25.8.29\",\n        \"v25.8.3\"\n    ]\n}"}],"_postman_id":"f3755c17-ebe7-4dff-9152-393ad24c1556"},{"name":"get Config Json","id":"c2c28056-df81-4bc5-814f-441c116a7dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getConfigJson","description":"<h2 id=\"api-endpoint-get-configuration-json\">API Endpoint: Get Configuration JSON</h2>\n<h3 id=\"purpose\">Purpose</h3>\n<p>This endpoint retrieves the configuration settings of the server in JSON format. It provides detailed information about various server parameters, including API services, inbounds, outbounds, logging settings, metrics, and routing rules.</p>\n<h3 id=\"request-format\">Request Format</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/getConfigJson</code></p>\n</li>\n<li><p><strong>Request Body</strong>: None (This is a GET request)</p>\n</li>\n</ul>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response is a JSON object containing the following fields:</p>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating the success of the request.</p>\n</li>\n<li><p><strong>msg</strong>: A string that may contain a message related to the request (usually empty).</p>\n</li>\n<li><p><strong>obj</strong>: An object containing the configuration details, structured as follows:</p>\n<ul>\n<li><p><strong>api</strong>: Contains information about API services.</p>\n<ul>\n<li><p><strong>services</strong>: An array of service names.</p>\n</li>\n<li><p><strong>tag</strong>: A string representing the tag.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>burstObservatory</strong>: Can be null or contain observatory details.</p>\n</li>\n<li><p><strong>dns</strong>: Can be null or contain DNS settings.</p>\n</li>\n<li><p><strong>fakedns</strong>: Can be null or contain fake DNS settings.</p>\n</li>\n<li><p><strong>inbounds</strong>: An array of inbound configurations, each including:</p>\n<ul>\n<li><p><strong>listen</strong>: The address to listen on.</p>\n</li>\n<li><p><strong>port</strong>: The port number.</p>\n</li>\n<li><p><strong>protocol</strong>: The protocol used.</p>\n</li>\n<li><p><strong>settings</strong>: An object with additional settings, such as address.</p>\n</li>\n<li><p><strong>sniffing</strong>: Can be null or contain sniffing settings.</p>\n</li>\n<li><p><strong>streamSettings</strong>: Can be null or contain stream settings.</p>\n</li>\n<li><p><strong>tag</strong>: A string representing the tag.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>log</strong>: An object containing logging settings.</p>\n<ul>\n<li><p><strong>access</strong>: The access log setting.</p>\n</li>\n<li><p><strong>dnsLog</strong>: A boolean indicating if DNS logging is enabled.</p>\n</li>\n<li><p><strong>error</strong>: The error log setting.</p>\n</li>\n<li><p><strong>loglevel</strong>: The log level setting.</p>\n</li>\n<li><p><strong>maskAddress</strong>: The address masking setting.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>metrics</strong>: Contains metrics configuration.</p>\n<ul>\n<li><p><strong>listen</strong>: The address to listen for metrics.</p>\n</li>\n<li><p><strong>tag</strong>: A string representing the tag.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>observatory</strong>: Can be null or contain observatory settings.</p>\n</li>\n<li><p><strong>outbounds</strong>: An array of outbound configurations, each including:</p>\n<ul>\n<li><p><strong>protocol</strong>: The protocol used.</p>\n</li>\n<li><p><strong>settings</strong>: An object with additional settings, such as domain strategy.</p>\n</li>\n<li><p><strong>tag</strong>: A string representing the tag.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>policy</strong>: Contains policy settings, including:</p>\n<ul>\n<li><strong>levels</strong>: An object with user and system statistics settings.</li>\n</ul>\n</li>\n<li><p><strong>reverse</strong>: Can be null or contain reverse proxy settings.</p>\n</li>\n<li><p><strong>routing</strong>: Contains routing configurations.</p>\n<ul>\n<li><p><strong>domainStrategy</strong>: The strategy for domain routing.</p>\n</li>\n<li><p><strong>rules</strong>: An array of routing rules.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>stats</strong>: An object containing statistics.</p>\n</li>\n<li><p><strong>transport</strong>: Can be null or contain transport settings.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"api\": {\n      \"services\": [\"\"],\n      \"tag\": \"\"\n    },\n    \"burstObservatory\": null,\n    \"dns\": null,\n    \"fakedns\": null,\n    \"inbounds\": [\n      {\n        \"listen\": \"\",\n        \"port\": 0,\n        \"protocol\": \"\",\n        \"settings\": {\n          \"address\": \"\"\n        },\n        \"sniffing\": null,\n        \"streamSettings\": null,\n        \"tag\": \"\"\n      }\n    ],\n    \"log\": {\n      \"access\": \"\",\n      \"dnsLog\": true,\n      \"error\": \"\",\n      \"loglevel\": \"\",\n      \"maskAddress\": \"\"\n    },\n    \"metrics\": {\n      \"listen\": \"\",\n      \"tag\": \"\"\n    },\n    \"observatory\": null,\n    \"outbounds\": [\n      {\n        \"protocol\": \"\",\n        \"settings\": {\n          \"domainStrategy\": \"\",\n          \"noises\": [],\n          \"redirect\": \"\"\n        },\n        \"tag\": \"\"\n      }\n    ],\n    \"policy\": {\n      \"levels\": {\n        \"0\": {\n          \"statsUserDownlink\": true,\n          \"statsUserUplink\": true\n        }\n      },\n      \"system\": {\n        \"statsInboundDownlink\": true,\n        \"statsInboundUplink\": true,\n        \"statsOutboundDownlink\": true,\n        \"statsOutboundUplink\": true\n      }\n    },\n    \"reverse\": null,\n    \"routing\": {\n      \"domainStrategy\": \"\",\n      \"rules\": [\n        {\n          \"inboundTag\": [\"\"],\n          \"outboundTag\": \"\",\n          \"type\": \"\"\n        }\n      ]\n    },\n    \"stats\": {},\n    \"transport\": null\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getConfigJson"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e0de1e19-2569-46d2-9e0b-bef1c507bfd5","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getConfigJson"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:16:41 GMT"},{"key":"Content-Length","value":"1607"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"api\": {\n            \"services\": [\n                \"HandlerService\",\n                \"LoggerService\",\n                \"StatsService\"\n            ],\n            \"tag\": \"api\"\n        },\n        \"burstObservatory\": null,\n        \"dns\": null,\n        \"fakedns\": null,\n        \"inbounds\": [\n            {\n                \"listen\": \"127.0.0.1\",\n                \"port\": 62789,\n                \"protocol\": \"dokodemo-door\",\n                \"settings\": {\n                    \"address\": \"127.0.0.1\"\n                },\n                \"sniffing\": null,\n                \"streamSettings\": null,\n                \"tag\": \"api\"\n            },\n            {\n                \"listen\": null,\n                \"port\": 38756,\n                \"protocol\": \"vless\",\n                \"settings\": {\n                    \"clients\": [\n                        {\n                            \"email\": \"g8odxwnc\",\n                            \"flow\": \"\",\n                            \"id\": \"215254e8-48e1-4c80-904b-7788cda1274c\",\n                            \"password\": \"\"\n                        }\n                    ],\n                    \"decryption\": \"none\",\n                    \"encryption\": \"none\"\n                },\n                \"sniffing\": {\n                    \"destOverride\": [\n                        \"http\",\n                        \"tls\",\n                        \"quic\",\n                        \"fakedns\"\n                    ],\n                    \"enabled\": false,\n                    \"metadataOnly\": false,\n                    \"routeOnly\": false\n                },\n                \"streamSettings\": {\n                    \"network\": \"tcp\",\n                    \"security\": \"none\",\n                    \"tcpSettings\": {\n                        \"acceptProxyProtocol\": false,\n                        \"header\": {\n                            \"type\": \"none\"\n                        }\n                    }\n                },\n                \"tag\": \"inbound-38756\"\n            }\n        ],\n        \"log\": {\n            \"access\": \"./access.log\",\n            \"dnsLog\": false,\n            \"error\": \"\",\n            \"loglevel\": \"warning\",\n            \"maskAddress\": \"\"\n        },\n        \"metrics\": {\n            \"listen\": \"127.0.0.1:11111\",\n            \"tag\": \"metrics_out\"\n        },\n        \"observatory\": null,\n        \"outbounds\": [\n            {\n                \"protocol\": \"freedom\",\n                \"settings\": {\n                    \"domainStrategy\": \"AsIs\",\n                    \"noises\": [],\n                    \"redirect\": \"\"\n                },\n                \"tag\": \"direct\"\n            },\n            {\n                \"protocol\": \"blackhole\",\n                \"settings\": {},\n                \"tag\": \"blocked\"\n            }\n        ],\n        \"policy\": {\n            \"levels\": {\n                \"0\": {\n                    \"statsUserDownlink\": true,\n                    \"statsUserUplink\": true\n                }\n            },\n            \"system\": {\n                \"statsInboundDownlink\": true,\n                \"statsInboundUplink\": true,\n                \"statsOutboundDownlink\": false,\n                \"statsOutboundUplink\": false\n            }\n        },\n        \"reverse\": null,\n        \"routing\": {\n            \"domainStrategy\": \"AsIs\",\n            \"rules\": [\n                {\n                    \"inboundTag\": [\n                        \"api\"\n                    ],\n                    \"outboundTag\": \"api\",\n                    \"type\": \"field\"\n                },\n                {\n                    \"ip\": [\n                        \"geoip:private\"\n                    ],\n                    \"outboundTag\": \"blocked\",\n                    \"type\": \"field\"\n                },\n                {\n                    \"outboundTag\": \"blocked\",\n                    \"protocol\": [\n                        \"bittorrent\"\n                    ],\n                    \"type\": \"field\"\n                }\n            ]\n        },\n        \"stats\": {},\n        \"transport\": null\n    }\n}"}],"_postman_id":"c2c28056-df81-4bc5-814f-441c116a7dc3"},{"name":"cpuHistory/:bucket","id":"a2542209-6d03-4b9c-aba2-7934a9ba015a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/panel/api/server/cpuHistory/{bucket}","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint retrieves the CPU history data for a specified time bucket from the server. It provides insights into CPU usage over time, which can be useful for monitoring and performance analysis.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/panel/api/server/cpuHistory/{bucket}</code></p>\n</li>\n<li><p><strong>Path Parameter</strong>:</p>\n<ul>\n<li><code>bucket</code> (string): This parameter specifies the time bucket for which the CPU history is requested. The format and acceptable values for this parameter should be defined based on the API's requirements.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p><strong>Status Code</strong>: 200 OK</p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json</p>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li><p><code>success</code> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><code>msg</code> (string): A message providing additional information about the request. This may be empty if there are no issues.</p>\n</li>\n<li><p><code>obj</code> (array or null): Contains the CPU history data. Each entry in the array has the following structure:</p>\n<ul>\n<li><p><code>cpu</code> (integer): Represents the CPU usage value.</p>\n</li>\n<li><p><code>t</code> (integer): Represents the timestamp associated with the CPU usage value.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-responses\">Example Responses</h3>\n<ol>\n<li><p>{ \"success\": true, \"msg\": \"\", \"obj\": [ { \"cpu\": 0, \"t\": 0 } ]}</p>\n</li>\n<li><p>{ \"success\": true, \"msg\": \"\", \"obj\": null }</p>\n</li>\n</ol>\n<h3 id=\"notes\">Notes</h3>\n<p>This endpoint is essential for obtaining real-time CPU usage statistics, which can help in diagnosing performance issues and understanding system load over specified periods. It is important to note that the <code>obj</code> field may return either an array of CPU usage records or null, depending on the availability of data for the requested time bucket. Ensure to handle both scenarios in your application logic.</p>\n","urlObject":{"protocol":"http","port":"2053","path":["panel","api","server","cpuHistory","{bucket}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f287be6a-d141-47c7-bb8c-12a27aaeaba0","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/cpuHistory/30"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 09:45:37 GMT"},{"key":"Content-Length","value":"283"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        {\n            \"cpu\": 17.291145865138006,\n            \"t\": 1758793380\n        },\n        {\n            \"cpu\": 14.006730599906719,\n            \"t\": 1758793410\n        },\n        {\n            \"cpu\": 10.055294573878642,\n            \"t\": 1758793440\n        },\n        {\n            \"cpu\": 10.2679041077746,\n            \"t\": 1758793470\n        },\n        {\n            \"cpu\": 11.869218431909065,\n            \"t\": 1758793500\n        },\n        {\n            \"cpu\": 10.870493278632468,\n            \"t\": 1758793530\n        }\n    ]\n}"}],"_postman_id":"a2542209-6d03-4b9c-aba2-7934a9ba015a"},{"name":"get New UUID","id":"749ca293-1b74-4dca-bc0b-f9727f060369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewUUID","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint retrieves a new universally unique identifier (UUID) from the server. It is typically used to generate a unique identifier for various purposes within the application, such as session management or resource identification.</p>\n<h3 id=\"request-method\">Request Method</h3>\n<ul>\n<li><strong>GET</strong></li>\n</ul>\n<h3 id=\"request-url\">Request URL</h3>\n<ul>\n<li><code>http://localhost:2053/randompath/panel/api/server/getNewUUID</code></li>\n</ul>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response from this endpoint will be in JSON format and includes the following structure:</p>\n<ul>\n<li><p><strong>success</strong>: (boolean) Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong>: (string) A message providing additional information about the request status.</p>\n</li>\n<li><p><strong>obj</strong>: (object or null) Contains the UUID if the request was successful. The structure of the object is as follows:</p>\n<ul>\n<li><strong>uuid</strong>: (string) The newly generated UUID.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"uuid\": \"generated-uuid-value\"\n  }\n}\n\n</code></pre>\n<h3 id=\"status-codes\">Status Codes</h3>\n<ul>\n<li><strong>200 OK</strong>: The request was successful, and the server returned the expected response.</li>\n</ul>\n<p>This endpoint is essential for generating unique identifiers required for various operations within the application.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewUUID"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e9eca173-8945-4ca1-8ef3-6898f90c1de1","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewUUID"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 23:17:30 GMT"},{"key":"Content-Length","value":"79"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"uuid\": \"0b8ca9c6-9f47-42d5-971f-af595efd842b\"\n    }\n}"}],"_postman_id":"749ca293-1b74-4dca-bc0b-f9727f060369"},{"name":"get New X25519 Cert","id":"484d7d37-ff32-424d-b518-8b44d04d179f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewX25519Cert","description":"<h3 id=\"api-endpoint-get-new-x25519-certificate\">API Endpoint: Get New X25519 Certificate</h3>\n<p>This endpoint retrieves a new X25519 certificate, which includes both a private key and a public key. This certificate is essential for secure communication and cryptographic operations.</p>\n<h4 id=\"request-method\">Request Method</h4>\n<ul>\n<li><strong>GET</strong></li>\n</ul>\n<h4 id=\"request-url\">Request URL</h4>\n<ul>\n<li><code>http://localhost:2053/randompath/panel/api/server/getNewX25519Cert</code></li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>The response from this endpoint will be in JSON format and will contain the following fields:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request status.</p>\n</li>\n<li><p><strong>obj</strong> (object): Contains the certificate details:</p>\n<ul>\n<li><p><strong>privateKey</strong> (string): The generated private key.</p>\n</li>\n<li><p><strong>publicKey</strong> (string): The generated public key.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"privateKey\": \"\",\n    \"publicKey\": \"\"\n  }\n}\n\n</code></pre>\n<p>This endpoint is expected to return a 200 HTTP status code upon successful execution.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewX25519Cert"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fd2365f4-ed87-41dd-bb5d-cb7a69966c36","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewX25519Cert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 23:08:11 GMT"},{"key":"Content-Length","value":"150"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"privateKey\": \"aHa5WREV94uI9LYFFzxoBVjXnfTXVNpewvzIrkXtp3w\",\n        \"publicKey\": \"3L7iv-NlexMtONKoHqnqTcirRoaVgb7dqvRbbtuOplM\"\n    }\n}"}],"_postman_id":"484d7d37-ff32-424d-b518-8b44d04d179f"},{"name":"get New mldsa65","id":"f64c71ae-ae06-494a-bd2b-9512cdc1b487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewmldsa65","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint retrieves the status of the server by making an HTTP GET request to <code>http://localhost:2053/randompath/panel/api/server/getNewmldsa65</code>. It is designed to provide information about the server's current state and performance metrics.</p>\n<h3 id=\"request-format\">Request Format</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/getNewmldsa65</code></p>\n</li>\n</ul>\n<p>No request body is required for this endpoint.</p>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response from this endpoint will be in JSON format and will contain the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"seed\": \"\",\n    \"verify\": \"\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response-fields\">Response Fields</h4>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong>: A string that may contain additional information or error messages.</p>\n</li>\n<li><p><strong>obj</strong>: An object that may contain various properties depending on the server's status.</p>\n</li>\n</ul>\n<h3 id=\"status-codes\">Status Codes</h3>\n<ul>\n<li><strong>200 OK</strong>: Indicates that the request was processed successfully.</li>\n</ul>\n<p>This endpoint is useful for monitoring server health and performance metrics, providing essential data for system administrators and developers.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewmldsa65"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d44aed18-f4fa-405e-9074-8c68fdf793bd","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewmldsa65"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:36:47 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"seed\": \"RG5tF_0mZMdGCniZyMfdF-TQCaIU-74qsiLxR_ls_IA\",\n        \"verify\": \"XZKpy8CwZp2dYNBJUwIbG8I7RFOZUtpBCNdraVRTQY0GSHlMpcjDzjX_rSxKr8JBlohfablGY6LNsPtLBg19SZfGOlrkhJLLNv7SL7hXCwhOPvdXt-0R0sarO9AYUmHvMk4ClrCGBi4dP68fudsNbALuVlYFxcTSG68MWhSFJSYoaN4p-n2QYH1BwBsLcZy9H4uLsdGMDxevRiL13ujLphc1XfFvNIL2thT1BtCSjex7gBA1v-vKPU0_Djskm09PLJjPbv1ol40C6Q7p-tmg8hTGpP_8PPXJmVVimud53jjlkrB7EUgA-xgkrAgnfp-rfWc77LMHDn7_-QmS6Weu9GKzI0wIMJpcaRv-OBOfqaYw-kSA3jq1qhD0yDBflqZeWNc7b_XvWsxRio0CUKD8gPUlyG_ipuq5dzlfL3PGzGTCxDdtE9CLjiy2hA7k-dM6FhwFaFXDJH1zPGoz7sec3yTiacwfGEoa1vjT5k8xFuAqZ-xyHdqGQfu09LsBMWQ_O_a129tCHhV1oo9J5x9VKk_YM2i_VsK3sMM868_kBM3L0hVz34D2kSFSryjDTxc7lY0vY0SlANYoykKjhwtF8BC-GS61KSu-aXRyWfzcA9BlBXWoOSVEh47jzs1Z_8QcZvcBrYPZyq0oi--aKNYBi19FbvEqRkb92mX4G1kahXYluEy80uLkbA5jFsLKzdZEZ9EBUAmDW1Vti0LcKRoZpd-GE01bZacAr_gVShv-lKqhJTp8y8CZ3Ss5Q-Ct26tY8cnX3eTN1D9e-svfBLKqBIpeP0eJW0Bh4IuSz_r5t1HAzyqyigwX--u4vhGMiTq1kwXy_XcXaWNjnswcze-7oT6vHl7mFJ8Kv6OC_n9ukdR5qcFbckshoUzWGrmo5pIl2Q-1lFXO5rIcZQ7zFr1qdSKT-zPBj3UayrMc6GC5weOXDhg4IiyPUCvZ8ScB5UF6YepL3jsJ3mWG2IxO7SE7DONlS8vTffox6zPjxotzKNKudmH5fPxmmumRl-nQmYy-hyA5hvl8f2brRWxs_e8OOXIpHrrRtfAnVzbwTwfxbRT4tnCxxWiSD2R_uZ81j2LkP_SDS014i0dFBDRLiyQE4vkkaQlKAsn2ZDP9jQ1JlrwLUY_bGTrRhYG4bRBtSB6w3BYe3ttP0DlX5RY5nmOxHciHYUmkyhbYo7p7AiQURGEszDtWE4wK0FW83iQINlTqF1vW6WQJZXOwWQbKHT7iw29nsYtueyoc1FsAnfEAqoGIZda1Fy5CiaCoviUln6HjcF5_Pl-XXXljc0Viw0jR6YMnAiOkItaOGGMxWLuPpCZfV1NzASU7AiMpzFgbvM-3hNjkRXxxNr_GFjcg-kU4SX3oxRVWQlLZ6_2oyKXT0dOEymQdXS6qyQ4FGfEJytGZa-xbLBAwPcmaMEtAYeCww-1cpebQhfhAvuBEYn22NXrlOWy5g_gVuGyC9fr4a44hkrWjkq_nYA8thoycrzbrOXJDeWZk_ULF1_cnKm9FiS8dxZA74xgUXvZrB_oiHcujG22pZBFjq1qS_rAEGzt0fupgS0TFDSqIU3CDE35cHzJNg8FAMmOycSS2xR7Aah0B3-jIt9lRXm-ci9717eIPqTIlhwX_IVgQgOVSv3rqSfMdHbJ75yajVc05qjJvjNk2sZbL9Dt3O9Ydm6_4x7HBxQOXYma23hyTBp5pphF1WEKUTlalNUkCa2JtwPoWOSsG3fmhxyz_zLQb2ig6YgweNzsH1mlr1OQquPPG7yEdxgNyyVu-WXLdsiiiNfuSL3I12nblBFOpCok900-Vbb9_sQGZy5GT1FqkM22QdqREAcOvk7_PO_c3RNZRreO7rejOkuWAQukvaZUEdmAtjonCz_n50cTQPIrjwKBeyaIlwOif4sukyxJeYRVEPnBalr9OU6neaN-WJr4IScXhRgln-A4CgNxP7Fj25CsdxO_bU4Hu0LSsvTNzQpPQhR3NzkZ5v6clLbx8trUm1WspU6cJ8xuWk7aTqbCpTr-iwns4bZVeaUSy0M9dqh7fyoYH5SeXEInS-c32Ksby6hsQa4VJGLv_-xg6FIFcDU-Fx4QAmFix4Y6VL9SDQW5tcDnleFY_wewXgekorA0WVbklOjw1rBwOAgecXXA50ZNpv_-4heoVrhi80yb1u1h2mbBhod32sZXjegpXBSdHOvzfuuK49u0yX75IL6vs9uiRUozYttpKQlUc2Uqup5TeW_kYy7YrFAorDSpp7eLgJiOkrQYDfBw9bjHjqtJrW1HE0QwgXukWY8Dn5p8UgA4XxFaQLnhbJyyESReVRrsFaj1APg3XkPN-BlxPCVc5G6nmz6nq_b4z7hn6vmHjtyWuR14QML3k7ArNkdSTQp1Yg_85vnE4GnUKdinWYyWdTJEs7Eh0NvNW-KiDqbvjN1mk50TJnoMaorKbhIr6CbKlvL5waRJC8wCOAW9Pp33BCiG0GrBShvJkNCYUhl_aQWLAJStwJI9C9BhNhmWTvoxf_16v06jBOVJ-jPt9rbwKuZtHpkAUPesZNr4CrzxcnIq6oKnGIDzbJIjKE-JJas0XwIwRoypOMRdkUqf_dhbkapxfj6P2iEA\"\n    }\n}"}],"_postman_id":"f64c71ae-ae06-494a-bd2b-9512cdc1b487"},{"name":"get New mlkem768","id":"67ef25cf-f636-45be-9e9e-7fd014e071d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewmlkem768","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint retrieves the status and configuration details of the server associated with the specified identifier. It is particularly useful for monitoring server performance and obtaining essential metrics.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/getNewmlkem768</code></p>\n</li>\n</ul>\n<h3 id=\"functionality\">Functionality</h3>\n<p>This request fetches the current status of the server, including various performance metrics such as CPU usage, memory usage, and network statistics. It is essential for administrators to monitor server health and performance in real-time.</p>\n<h3 id=\"important-notes\">Important Notes</h3>\n<ul>\n<li><p>Ensure that the server is running and accessible before making the request.</p>\n</li>\n<li><p>The response may vary based on the server state and configuration.</p>\n</li>\n</ul>\n<h3 id=\"status-codes\">Status Codes</h3>\n<ul>\n<li><strong>200 OK</strong>: The request was successful, and the server returned the expected response.</li>\n</ul>\n<p>This endpoint is integral for obtaining real-time data about the server's performance, allowing for effective monitoring and management.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewmlkem768"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1a85be9a-7b35-4712-9fbf-ce6d19438f40","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewmlkem768"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 23:10:50 GMT"},{"key":"Content-Length","value":"1720"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"client\": \"dpxpe7U-UNeHgHmf57JGmcrLgTyOFdefywxds_xIPOJAQ2gztXgxWJebtvNJgCQ3jOGuD0FHUQJBNvEs13FBbAw8-MlgIXWQrgQqoOJPjahc6BUNyIpj_5NCOLKlLTui6yK4uWRvxoOoBSshkYGVwXAiRqoF8jW9vDl1DIuAnlQPHTOnrRCRHkSWewQF9NM1ntFdr-sPOpENT4UrNjRB1dfB1FUxu1iDnYUQFMgFP4jJ4CYbpaCqhbgV4KTHSVrF69uN2oxMyLCDLHKfJqNwgGIjJZhQ9vYk0qPBRaHBSVsphtpQIyM-7mEw7HZ9CTJdkjqQFLuHPWJhrreijLCKD-seURYFxEDOS-qYTshvT3RnOigb-WqZ38hxDZF1YDgWF3pjW0U6o3qAfydLdzfACLixR9JpONEyCpuRTfK9RbzA5ZZ_kKBRtMlBk_OhBjFe9uM8UMVNyuRqrMi9ZRIjluhuYitW6-cOrklLPUzAu2Cogrk0VEUntoxdJci0B0TDIbBZFSgJXPwDLjqmgfNFVeUbo2zAG4B0w7ax-yCarkk4KLU9QpGQpug0YsykrHRnL7KYWeirD4NIZvhVFzPE0lzGq-rDyEVNanaBg6ZzeSVB_PF8u2TDuecNINGjvBKWwpF3C3a4p2ot1XjE0XFPgCCXiNgZnpxxhTptifoDdpeISRmwYFcZrMe9ktJpRWUThkIphjB9cBIHg9Cd6Fa5-kSw06NehjF4McG7jLenMsiOqlqK0hNek_QPnLBUqcWYvgFYmXmXonW_wVELQPEl3ucb11OhK2NTp3s08wtSK5RyXbQSdApt-_pTbfEMLBYOq2mZxTkzbVKeRpVOFxfOlCd8cMuLBtOApGtsX8VwFzlPhcCm8PQ46tY1VBJOlkEMoThMZNagz9AfulqF0WS9FLwS1ABF9Vt0PSJDnTa17_QrZYAEbzPIo2EbXmMhp_ltxUZUtqapLfSCAFdi2LUTq_sxLRQLNNZYAqVUXwGq0FQkIuJQDeA2zayLHMYM5bgSqUdJklIqcPobyLkDOMSk9TktYXCnVBIn4lMdaBcZUouEpUgrKDmeQRG8BlULbNIynvyRgHXH13gYP0PO7We0QTWSDDVY3-zH8IUrXKcbeLLB1nhzzglqKphtNXaE5IVW3kNsOxfEHvoxndE1SokMjOwWYsw4faCxNoY5e2RRhXF0MhKNCRALX5TO8oiJAtISNkix_shIoXpkjYtF3zs9oLlf-kuCG3ZVPLC3EEdq6YMjFTkHztGUZlpj9vJ2DxtT9NWiwdWPeuRk5Phd2CUoO3AVwonI4Iwtd3ZDz3mDQlOIw6q-KLhfQctW_Lx4K-I-aTAHZ2KDxMudw9aI2XqyQwKhfPEfc1xZ-pOAVOgzgkceI6ySP2IBzBy09ZESVGcSEZgPFXVBSgeOBbq4lbLN6RdD2Bk_LUJZY_KcFgIOKVMwykUBkDlonqZsavEpEFRVvoXAujRsMeFmN6gJxSpxKaMWqtrPihcSNyOhhEmiEUc4tLMLvYdkyglxD9AWI0gWD0YNr1zLsIx1TK25PmDZiL7V_nvl53WVwi3ukRf8w-c\",\n        \"seed\": \"VzJj9F1rvKXVDTJwyvmCvTKYX9ABiydklvOESw_OQQsl3hMpOVFOBp7v_-s8DWYNG9gFVHiOJ1KXw5yvoFIw2w\"\n    }\n}"}],"_postman_id":"67ef25cf-f636-45be-9e9e-7fd014e071d3"},{"name":"get New Vless Enc","id":"b7f5378e-ab7c-428d-849d-7fa37bf70487","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewVlessEnc","description":"<h3 id=\"endpoint-description\">Endpoint Description</h3>\n<p>This endpoint retrieves the current configuration for the VLESS encryption method used by the server. It is designed to provide information about the available authentication methods, including their decryption and encryption settings.</p>\n<h3 id=\"request-method\">Request Method</h3>\n<ul>\n<li><strong>GET</strong></li>\n</ul>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>The response will return a JSON object containing the following structure:</p>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong>: A string that may contain additional information or error messages (if applicable).</p>\n</li>\n<li><p><strong>obj</strong>: An object containing an array of authentication methods. Each authentication method includes:</p>\n<ul>\n<li><p><strong>decryption</strong>: A string representing the decryption method.</p>\n</li>\n<li><p><strong>encryption</strong>: A string representing the encryption method.</p>\n</li>\n<li><p><strong>label</strong>: A string that serves as a label for the authentication method.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"auths\": [\n      {\n        \"decryption\": \"\",\n        \"encryption\": \"\",\n        \"label\": \"\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<h3 id=\"related-responses\">Related Responses</h3>\n<p>Responses from other endpoints in this API may return similar structures, often with a <code>success</code> field and an <code>obj</code> that can be either an object, array, or null, depending on the specific endpoint being called.</p>\n<p>This endpoint retrieves the latest VLESS encryption configurations from the server. It is primarily used to obtain the current encryption settings that can be utilized for secure communication.</p>\n<h3 id=\"request-format\">Request Format</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/getNewVlessEnc</code></p>\n</li>\n</ul>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response from this endpoint is in JSON format and includes the following fields:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request's outcome.</p>\n</li>\n<li><p><strong>obj</strong> (object): Contains the details of the VLESS encryption configurations. This field can have the following structure:</p>\n<ul>\n<li><p><strong>auths</strong> (array): An array of authentication objects, each containing:</p>\n<ul>\n<li><p><strong>decryption</strong> (string): The decryption method used.</p>\n</li>\n<li><p><strong>encryption</strong> (string): The encryption method used.</p>\n</li>\n<li><p><strong>label</strong> (string): A label associated with the authentication method.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response-1\">Example Response</h3>\n<p>A successful response may look like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": {\n    \"auths\": [\n      {\n        \"decryption\": \"\",\n        \"encryption\": \"\",\n        \"label\": \"\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<h3 id=\"related-responses-1\">Related Responses</h3>\n<p>Responses from other endpoints in this API may return similar structures, often with a <code>success</code> field indicating the result of the request and an <code>obj</code> field that can either contain relevant data or be <code>null</code>.</p>\n<p>This endpoint is critical for applications that rely on VLESS for secure data transmission, ensuring that the latest encryption methods are always in use.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewVlessEnc"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bafc4529-3f86-4f71-a020-1f1509c5c41f","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewVlessEnc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 23:16:52 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"auths\": [\n            {\n                \"decryption\": \"mlkem768x25519plus.native.600s.YFTcWrEulaPORRccLD0QH95NOCo4hlUzaGPq_5mMmEk\",\n                \"encryption\": \"mlkem768x25519plus.native.0rtt.5gdj5V4eNShGBvaWOLX3RtokDD0uSy9LtcvDfvPN1HU\",\n                \"label\": \"X25519, not Post-Quantum\"\n            },\n            {\n                \"decryption\": \"mlkem768x25519plus.native.600s.PrL1bfe6dgdksMT3E5oAEr-la6h7KZTqu9679F-inkbcSSCkwmExCONLvfgkDvuMSFluuPj0hJNKeVuzfckyEA\",\n                \"encryption\": \"mlkem768x25519plus.native.0rtt.N-gYHVAmMTQskecls5vJJ2TBMqp0mmKuM8S5WDqbdUCbSQwwcQwf1TMHq8t2aoc2O1opo-hyzCMV5ycf_bSXAmxK3vionBVIAuV6alLH44iM1XGDfYdJcVBgcbNqCDJJaLZKQAh4obyASbqi02ZqcnBLwYwV1qK0GlJ1-rJGI6yU_nkaKxxJf8wwsoc_WvluBzapiqoAaqCOkQRy8DUi_FO9HPGC32yVRGgEdynJt1HGsTAC_XTJhXEYyZc8ORhWQpdKEYk3LSp0wgcGJFm9uDFDR3JyM_SH2zeWQyuEZpNgkeUkyeGmr2asb-hU8btzqVtKjvoZTCAQfAiTFmkLittsXhZNPmZO49W3ozcm9KFB0sPHj-AjKDjIT6EB7ForHxWq59VMOvMPCNUefeC_WaPFgGaClsVVrugm6DVXnQqL-FnELGesJDkLWAuLGdIo_scfzapAEhBqaTO-0FF6PgOpfaqsdNggPZdDNBlqAdhxrCMxh_d1wfpSB6OhUjs1jTe363BiqNF3rhq5LmlcGMMZZ7N46jgVsDa8N7hRxUkJ8jp2bjQGg9W4aQae45AWuqQ7_FLNP_u3jNTMY6nMpalOM9JRqbmVU_OynNwla-IBjkalsonH_Jy3sHCofJe4nAl5PecjmTa2kjInLaNu07hoAnNVQvoD9BJIoXzNcvWZqNeTrfE2Awkm4cZ1UCCh58wjQ1NPiACZMtGII5hUlcCnPcMCJoO_S6Q1vlmfJcZ4fxyQzot1wWGI09K66SoBh9Riz5oSOYy-OKfMpPyxJZM4CvauxbsWE8oYJ5U0axuN_vxP_XcTDyHCe4B4qnmRnAUO7cZ0v7VM8jUUM1FMeqFcoARv1yFxBPsb9TFSNOhIGCIdSpdZ1tg4VmwDX-VSASuwUTQ6l8YQ60YXNNvHBoEuyahhjeleWTHN_fBKTVysElzGHrmzZEfLBDOrqRmlG_WEBVcynKelQ5Odf0BeG9BotlRyKfc_dTwHWQEQYiAxVcwHkXMv3TG4xlezG4Uw0HHHF3tvt1umwoIWNzGc7EpM73dohkc-4yiZGcxcgBmvjwKvt2daPvIHKGCLTbOKyKqicCJqNAheZYtIctoVfOaq3AYHfIxaFlHMKrxxDuFXi-Fw-rILtMshOvutrHm9_EzDp0xwBQNKKNVxHfBf16FU3ny54fu95CjLhHGUvDgSucwqZJkgmHyyXmwiRNGSGqnKTDaEd3ts5GiQope7jbNIDdYW-AcYfrwq7WUy9rhOMHuDNDgcp6s2ZWU6IpkDQ8diFAw9ozRsauGJ3eWiFRkjZfYU6LIatkVbEpG_IgcPzUeOGBjKYZqiniisuQtjTHOy0oMCFjp8qrvP00dFdsJzkgeGiidx-TcHjoc_I-gSDaUpGekeAIROlkJOmSsO6RgfhKJlWySx02CwbPlTXiQOVvUDwwMiqGMZOHATAmkmHOdg6viuW1lbWYlsa9iAU9ETUycJe9in1EOtCkgTr8kCRJx1Jhij9jiPltKCovmOpUW01aenqMloTsUrK1NHCW-RoCUKkMJxSWLgrg3kLKe2Uz5lCwiODk-24phElXQ\",\n                \"label\": \"ML-KEM-768, Post-Quantum\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b7f5378e-ab7c-428d-849d-7fa37bf70487"},{"name":"stop Xray Service","id":"c61a8905-8cbe-4f9d-8148-e4b53bbb2668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/stopXrayService","description":"<h3 id=\"stop-xray-service-api\">Stop Xray Service API</h3>\n<p>This endpoint is used to stop the Xray service on the server. It is a POST request that does not require any body parameters.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/stopXrayService</code></p>\n</li>\n</ul>\n<h4 id=\"expected-response\">Expected Response</h4>\n<p>Upon a successful request, the API will return a JSON object with the following structure:</p>\n<ul>\n<li><p><strong>success</strong>: A boolean indicating the success of the operation.</p>\n</li>\n<li><p><strong>msg</strong>: A message string that may contain additional information about the operation.</p>\n</li>\n<li><p><strong>obj</strong>: This can be <code>null</code> or may contain other relevant data based on the context of the request.</p>\n</li>\n</ul>\n<h5 id=\"example-response\">Example Response</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": null\n}\n\n</code></pre>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>The response will always return a 200 status code indicating that the request was processed successfully.</p>\n</li>\n<li><p>Similar endpoints return responses with the same structure, which may include more detailed information about the server's state or statistics.</p>\n</li>\n<li><p>Ensure that you have the necessary permissions to stop the Xray service before making this request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","stopXrayService"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0943c067-1436-48c0-92cd-87e33138d555","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/stopXrayService"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:18:36 GMT"},{"key":"Content-Length","value":"71"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Xray has been successfully stopped.\",\n    \"obj\": null\n}"}],"_postman_id":"c61a8905-8cbe-4f9d-8148-e4b53bbb2668"},{"name":"restart Xray Service","id":"b7561751-a6e8-476d-965b-ddb584f397c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/restartXrayService","description":"<h3 id=\"restart-xray-service-api-endpoint\">Restart Xray Service API Endpoint</h3>\n<p>This endpoint is used to restart the Xray service on the server. It is a crucial operation that may be required for maintenance or troubleshooting purposes.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/restartXrayService</code></p>\n</li>\n<li><p><strong>Request Body</strong>: The request does not require any specific parameters in the body.</p>\n</li>\n</ul>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>The endpoint is expected to return a <code>200</code> status code for successful operations.</p>\n</li>\n<li><p>Ensure that the Xray service is not already running before sending this request to avoid unnecessary restarts.</p>\n</li>\n<li><p>Monitor the response for any error messages that may indicate issues with the restart process.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","restartXrayService"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f7f94596-e7a8-4e38-ae6d-f2e4e0ddf30b","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/restartXrayService"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:19:30 GMT"},{"key":"Content-Length","value":"74"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Xray has been successfully relaunched.\",\n    \"obj\": null\n}"}],"_postman_id":"b7561751-a6e8-476d-965b-ddb584f397c0"},{"name":"install Xray version","id":"e4584d26-2796-4c58-aff4-cf676b74d3d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/installXray/v25.9.11","description":"<h3 id=\"endpoint-description\">Endpoint Description</h3>\n<p>This endpoint is used to install Xray on the server. It accepts a version parameter in the URL path to specify the version of Xray to be installed.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><strong>version</strong> (path parameter): The version of Xray that you want to install. This should be provided in the URL.</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The endpoint will return a <code>200 OK</code> status code on successful installation, along with the response structure outlined above.</p>\n</li>\n<li><p>Ensure that the correct version parameter is provided to avoid any installation issues.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","installXray","v25.9.11"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1e80b8fd-cb01-4428-a6e0-719a12187ba3","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/installXray/v25.9.11"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 10:52:43 GMT"},{"key":"Content-Length","value":"61"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Xray updated successfully\",\n    \"obj\": null\n}"}],"_postman_id":"e4584d26-2796-4c58-aff4-cf676b74d3d8"},{"name":"update Geofile","id":"85a6498b-f106-445d-90e6-677b9efc259b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/updateGeofile","description":"<h3 id=\"update-geofile-api-endpoint\">Update Geofile API Endpoint</h3>\n<p>This endpoint is used to update the geofile on the server. It processes the provided data and returns the status of the update operation.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/updateGeofile</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","updateGeofile"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0ee27863-6d0d-4f37-b282-cc66450d1dd2","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/updateGeofile"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 10:53:34 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Geofile updated successfully\",\n    \"obj\": null\n}"}],"_postman_id":"85a6498b-f106-445d-90e6-677b9efc259b"},{"name":"updateGeofile/{fileName}","id":"7323bef8-a022-4a20-aba3-769dcac5a13f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/updateGeofile/geosite.dat","description":"<h2 id=\"update-geofile\">Update Geofile</h2>\n<p>This endpoint allows you to update a geofile on the server by providing a specific filename. It is a POST request that targets the URL <code>http://localhost:2053/randompath/panel/api/server/updateGeofile/{fileName}</code>, where <code>{fileName}</code> should be replaced with the actual name of the file you wish to update.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><strong>fileName</strong> (path parameter): The name of the geofile you want to update. This is a required parameter.</li>\n</ul>\n<h3 id=\"status-codes\">Status Codes</h3>\n<ul>\n<li><strong>200 OK</strong>: Indicates that the request was successfully processed, and the response body will contain the relevant information as described above.</li>\n</ul>\n<p>This endpoint is crucial for maintaining and updating geofile data on the server, ensuring that the latest information is available for processing and analysis.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","updateGeofile","geosite.dat"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a4ad8998-6f43-417a-97f8-b8d405b4d7ea","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/updateGeofile/geosite.dat"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 10:54:29 GMT"},{"key":"Content-Length","value":"64"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"Geofile updated successfully\",\n    \"obj\": null\n}"}],"_postman_id":"7323bef8-a022-4a20-aba3-769dcac5a13f"},{"name":"logs/{count}","id":"2a11f57a-15dc-4766-8e90-c47cc3e213bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"level","value":"debug","type":"text","uuid":"23fd920d-da26-4d0a-93a9-79f0b01f920f"},{"key":"syslog","value":"false","type":"text","uuid":"62d2e1ee-25b7-495b-8891-779d32ca48ef"}]},"url":"http://localhost:2053/randompath/panel/api/server/logs/{count}","description":"<h2 id=\"api-endpoint-log-server-events\">API Endpoint: Log Server Events</h2>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint allows you to log server events by sending a POST request. It accepts specific parameters related to the log level and the syslog message.</p>\n<h3 id=\"request-method\">Request Method</h3>\n<p><strong>POST</strong></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>http://localhost:2053/randompath/panel/api/server/logs/logs/{count}\n\n</code></pre><h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body should be sent as <code>form-data</code> with the following parameters:</p>\n<ul>\n<li><p><strong>level</strong> (type: text): Specifies the severity level of the log (e.g., INFO, ERROR, WARN).</p>\n</li>\n<li><p><strong>syslog</strong> (type: text): Contains the actual log message to be recorded.</p>\n</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the server will return a JSON response with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"msg\": \"\",\n  \"obj\": [\"\"]\n}\n\n</code></pre>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates if the logging was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request (usually empty).</p>\n</li>\n<li><p><strong>obj</strong> (array): An array that may contain additional data related to the log operation. It can be an empty array or <code>null</code>.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The endpoint is designed to handle logging operations efficiently, ensuring that server events are recorded correctly.</p>\n</li>\n<li><p>The response will always return a status code of 200 for successful operations, regardless of the content of the <code>obj</code> field.</p>\n</li>\n<li><p>Similar endpoints may return responses with similar structures, providing a consistent API experience.</p>\n</li>\n</ul>\n<p>Ensure to replace <code>localhost</code>, <code>2053</code>, and <code>/randompath</code> with the appropriate values when making requests.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","logs","{count}"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dd57af81-fe5f-410e-9782-587cc16bee31","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"level","value":"debug","type":"text","uuid":"23fd920d-da26-4d0a-93a9-79f0b01f920f"},{"key":"syslog","value":"false","type":"text","uuid":"62d2e1ee-25b7-495b-8891-779d32ca48ef"}]},"url":"http://localhost:2053/randompath/panel/api/server/logs/{count}"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 10:41:31 GMT"},{"key":"Content-Length","value":"645"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        \"2025/09/25 12:41:28 WARNING - XRAY: core: Xray 25.9.11 started\",\n        \"2025/09/25 12:41:28 INFO - Sub server running HTTP on[::]:2096\",\n        \"2025/09/25 12:41:28 DEBUG - sub: Setting base_path to:/sub/\",\n        \"2025/09/25 12:41:28 INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}\",\n        \"2025/09/25 12:41:28 DEBUG - XRAY: A unified platform for anti-censorship.\",\n        \"2025/09/25 12:41:28 DEBUG - XRAY: Xray 25.9.11 (Xray, Penetrates Everything.) 3edfb0e (go1.25.1 windows/amd64)\",\n        \"2025/09/25 12:41:28 DEBUG - restart Xray, force:true\",\n        \"2025/09/25 12:41:28 INFO - Web server running HTTP on[::]:2053\"\n    ]\n}"}],"_postman_id":"2a11f57a-15dc-4766-8e90-c47cc3e213bf"},{"name":"xraylogs/{count}","id":"391b82b4-f7cb-49a3-982a-f3463c2ed379","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"showDirect","value":"true","type":"text","uuid":"3f216cb4-1559-4425-bad3-f13fe0048727"},{"key":"showBlocked","value":"true","type":"text","uuid":"034393f1-61fd-4dbe-a82a-74e35e0d96d7"},{"key":"showProxy","value":"true","type":"text","uuid":"9384c0ee-1d94-447e-a2ef-b59168912093"}]},"url":"http://localhost:2053/randompath/panel/api/server/xraylogs/20","description":"<h3 id=\"api-endpoint-retrieve-x-ray-logs\">API Endpoint: Retrieve X-Ray Logs</h3>\n<p>This endpoint is designed to retrieve X-ray logs from the server. It allows users to specify the number of log entries to be returned through the <code>{count}</code> parameter in the URL. This is essential for monitoring the server's performance and for analyzing log data.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>http://localhost:2053/randompath/panel/api/server/xraylogs/{count}</code></p>\n</li>\n</ul>\n<p><strong>Path Parameter</strong>:</p>\n<ul>\n<li><code>{count}</code> (integer): Specifies the number of X-ray log entries to retrieve.</li>\n</ul>\n<p><strong>Request Body</strong> (form-data):</p>\n<ul>\n<li><p><code>showDirect</code> (string): Indicates whether to show direct logs.</p>\n</li>\n<li><p><code>showBlocked</code> (string): Indicates whether to show blocked logs.</p>\n</li>\n<li><p><code>showProxy</code> (string): Indicates whether to show proxy logs.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will contain a JSON object with the following structure:</p>\n<ul>\n<li><p><code>success</code> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><code>msg</code> (string): A message providing additional information about the request.</p>\n</li>\n<li><p><code>obj</code> (array or null): An array of log entries or null if no logs are available. Each log entry will contain:</p>\n<ul>\n<li><p><code>DateTime</code> (string): The date and time of the log entry.</p>\n</li>\n<li><p><code>FromAddress</code> (string): The address from which the log originated.</p>\n</li>\n<li><p><code>ToAddress</code> (string): The address to which the log was sent.</p>\n</li>\n<li><p><code>Inbound</code> (string): Indicates if the log entry is inbound.</p>\n</li>\n<li><p><code>Outbound</code> (string): Indicates if the log entry is outbound.</p>\n</li>\n<li><p><code>Email</code> (string): The email associated with the log entry.</p>\n</li>\n<li><p><code>Event</code> (integer): The type of event logged.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"status-codes\">Status Codes</h4>\n<ul>\n<li><strong>200 OK</strong>: The request was successful, and the response contains the requested data or null if no logs are available.</li>\n</ul>\n<p>This endpoint is crucial for monitoring the server's performance and retrieving logs for analysis.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","xraylogs","20"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"af3fb9c1-3ddc-420d-abde-6b8cf59e143b","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"showDirect","value":"true","type":"text","uuid":"3f216cb4-1559-4425-bad3-f13fe0048727"},{"key":"showBlocked","value":"true","type":"text","uuid":"034393f1-61fd-4dbe-a82a-74e35e0d96d7"},{"key":"showProxy","value":"true","type":"text","uuid":"9384c0ee-1d94-447e-a2ef-b59168912093"}]},"url":"http://localhost:2053/randompath/panel/api/server/xraylogs/20"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Sep 2025 10:48:55 GMT"},{"key":"Content-Length","value":"413"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": [\n        {\n            \"DateTime\": \"2025-09-25T12:48:39.549806Z\",\n            \"FromAddress\": \"tcp:[::1]:59472\",\n            \"ToAddress\": \"tcp:www.google.com:443\",\n            \"Inbound\": \"inbound-58367\",\n            \"Outbound\": \"direct\",\n            \"Email\": \"ce0wa59b\",\n            \"Event\": 0\n        },\n        {\n            \"DateTime\": \"2025-09-25T12:48:39.870332Z\",\n            \"FromAddress\": \"tcp:[::1]:59472\",\n            \"ToAddress\": \"tcp:speed.cloudflare.com:443\",\n            \"Inbound\": \"inbound-58367\",\n            \"Outbound\": \"direct\",\n            \"Email\": \"ce0wa59b\",\n            \"Event\": 0\n        }\n    ]\n}"}],"_postman_id":"391b82b4-f7cb-49a3-982a-f3463c2ed379"},{"name":"importDB","id":"492f8442-cb5d-4417-a8a9-58e6e0cd8404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/importDB","description":"<h2 id=\"import-database\">Import Database</h2>\n<p><strong>Endpoint:</strong> <code>POST http://localhost:2053/randompath/panel/api/server/importDB</code></p>\n<p>This endpoint is used to import a database into the server. Upon a successful request, it returns a JSON response indicating the success of the operation along with relevant server statistics.</p>\n<p>This endpoint is crucial for managing database imports and monitoring server performance.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","importDB"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"492f8442-cb5d-4417-a8a9-58e6e0cd8404"},{"name":"get New Ech Cert","id":"427c7889-b678-4dcc-8f0c-4c4f45663af0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewEchCert","description":"<h2 id=\"endpoint-description\">Endpoint Description</h2>\n<p>This endpoint allows clients to retrieve new Echo certificates from the server. It is accessed via an HTTP POST request to <code>http://localhost:2053/randompath/panel/api/server/getNewEchCert</code>.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>This endpoint does not require any specific parameters in the request body. It is a straightforward call to fetch new Echo certificates.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the server responds with a JSON object that includes the following structure:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the request was successful.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request status.</p>\n</li>\n<li><p><strong>obj</strong> (object): Contains the following fields:</p>\n<ul>\n<li><p><strong>echConfigList</strong> (string): A list of Echo configuration settings.</p>\n</li>\n<li><p><strong>echServerKeys</strong> (string): The server keys associated with the Echo certificates.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response-examples\">Response Examples</h3>\n<ol>\n<li><p>{ \"success\": true, \"msg\": \"\", \"obj\": { \"echConfigList\": \"\", \"echServerKeys\": \"\" }}</p>\n</li>\n<li><p>{ \"success\": true, \"msg\": \"\", \"obj\": null}</p>\n</li>\n</ol>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The endpoint returns a 200 status code for successful requests.</p>\n</li>\n<li><p>Similar endpoints may return responses with different structures, but they generally follow the same success message format.</p>\n</li>\n<li><p>Ensure that your application handles both successful and null object responses appropriately.</p>\n</li>\n</ul>\n<p>This documentation should help users understand how to interact with the <code>getNewEchCert</code> endpoint effectively.</p>\n","urlObject":{"protocol":"http","port":"2053/randompath","path":["panel","api","server","getNewEchCert"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b06d1eb3-af2c-4553-a033-4ea12f4c47c7","name":"success","originalRequest":{"method":"POST","header":[],"url":"http://localhost:2053/randompath/panel/api/server/getNewEchCert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 08 Sep 2025 22:36:33 GMT"},{"key":"Content-Length","value":"347"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"msg\": \"\",\n    \"obj\": {\n        \"echConfigList\": \"AFP+DQBPAAAgACBnzJMXZXXhERoC9m+P/YAbXNNEdp/hzHmq1iHHwi9dbwAkAAEAAQABAAIAAQADAAIAAQACAAIAAgADAAMAAQADAAIAAwADAAAAAA==\",\n        \"echServerKeys\": \"ACB955VJ7N8LX5dkDav+pZBxqA/4i9A9Q9sciFV4xKE8AQBT/g0ATwAAIAAgZ8yTF2V14REaAvZvj/2AG1zTRHaf4cx5qtYhx8IvXW8AJAABAAEAAQACAAEAAwACAAEAAgACAAIAAwADAAEAAwACAAMAAwAAAAA=\"\n    }\n}"}],"_postman_id":"427c7889-b678-4dcc-8f0c-4c4f45663af0"}],"event":[{"listen":"prerequest","script":{"id":"c98040d9-15f2-4f72-ba20-fd4a03eac986","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"56d833e4-683a-4fc4-9861-4077de3abea0","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"HOST","value":"localhost"},{"key":"PORT","value":"2053"},{"key":"WEBBASEPATH","value":"/randompath"},{"key":"username","value":""},{"key":"password","value":""},{"key":"twoFactorCode","value":""}]}