Generate Proxy Connection Endpoint
virtualsms_generate_proxy_endpointBuild ready-to-use proxy connection string(s) for an owned proxy: country/state/city/zip/asn targeting, rotating or sticky session, HTTP or SOCKS5, in host:port:user:pass / user:pass@host:port / curl format.
Instructions
Build ready-to-use proxy connection string(s) for an owned proxy: country/state/city/zip/asn targeting, rotating or sticky session, HTTP or SOCKS5, in host:port:user:pass / user:pass@host:port / curl format. Nothing is purchased or changed server-side. This only composes a connection string from the proxy's existing credentials (same convention as the VirtualSMS dashboard's endpoint generator). Sub-country targeting (state/city/zip/asn) bills the proxy's own GB at 2x on non-premium pools, free on residential_premium.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many endpoint strings to generate (default: 1) | |
| format | No | Output string format (default: host:port:user:pass) | |
| session | No | rotating = new IP per connection (default). sticky = holds one IP per generated endpoint. | |
| protocol | No | Proxy protocol (default: HTTP) | |
| proxy_id | Yes | Proxy ID returned by list_proxies or buy_proxy | |
| target_by | No | Refinement level (default: country) | |
| country_code | Yes | ISO-2 country to target (e.g. "us", "gb") | |
| location_code | No | Location value matching target_by. Required when target_by is not "country" | |
| sticky_ttl_minutes | No | How long a sticky session holds its IP, in minutes (default: 10) |