Create client
create_clientCreate a client on an inbound with auto-generated credentials per protocol, returning them and connection info. This solves the problem of retrieving plaintext credentials later.
Instructions
Create a new client on an existing inbound with auto-generated credentials (UUID/password/keys as appropriate for the protocol). Returns the generated credentials and connection info — surface these to the user, they are not retrievable again in plaintext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Unique email/identifier for the new client | ||
| limitIp | No | Max simultaneous IPs (0 = unlimited) | |
| totalGB | No | Data limit in GB (0 = unlimited). Converted to bytes automatically. | |
| protocol | Yes | Protocol to generate credentials for | |
| inboundId | Yes | Numeric ID of the inbound to add the client to (see list_inbounds) | |
| expiryTime | No | Expiry as a Unix ms timestamp (0 = never) |