Create inbound
create_inboundCreate a new inbound on the 3x-ui panel by specifying protocol, port, and settings. Use get_inbound on an existing config first to ensure correct shape for this panel version.
Instructions
Create a new inbound on the panel. Recommend calling get_inbound on a similar existing inbound first to see the exact shape expected for settings/streamSettings/sniffing on this panel version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Listening port | |
| enable | No | ||
| listen | No | ||
| remark | No | Display name for the inbound | |
| protocol | No | vless | vmess | trojan | shadowsocks | wireguard | socks | http | dokodemo-door | |
| settings | No | Protocol settings object (or JSON string), e.g. { clients: [...], decryption: "none" } | |
| sniffing | No | Sniffing settings object (or JSON string), e.g. { enabled: true, destOverride: ["http","tls"] } | |
| expiryTime | No | ||
| streamSettings | No | Transport settings object (or JSON string), e.g. { network: "tcp", security: "reality", ... } |