Integrate your applications with WorldVPN's powerful API and leverage all of our top features. Manage VPN services under your own brand with simple RESTful endpoints.
All endpoints use https://www.worldvpn.net/api/ as base URL
All API requests must authenticate by submitting your reseller username and reseller password as form-data parameters. Keep your credentials secure.
Safely test your integration by sending mode="test". Sandbox requests return realistic success responses without billing your balance.
All API responses are returned as content-type application/json with appropriate HTTP status codes for robust client handling.
Creates a VPN account automatically — no usernames or passwords required. Specify the subscription period in months.
curl -X POST https://www.worldvpn.net/api/addVPN \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="some username" \ -F vpnPassword="some password" \ -F period="1" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| vpnPassword | string | Required |
| period | integer | Required |
| mode | string | Optional |
Renew an existing VPN account by providing the username and the number of additional months.
curl -X POST https://www.worldvpn.net/api/renewVPN \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="Your VPN Username" \ -F period="1" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| period | integer | Required |
| mode | string | Optional |
Delete a VPN account by providing the VPN username.
curl -X POST https://www.worldvpn.net/api/deleteVPN \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="Your VPN Username" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| mode | string | Optional |
Update the password of a VPN account. Provide the username and your new password.
curl -X POST https://www.worldvpn.net/api/changePassword \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="Your VPN Username" \ -F vpnPassword="New Password" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| vpnPassword | string | Required |
| mode | string | Optional |
Create a 24-hour free VPN trial for a client by providing their email address.
curl -X POST https://www.worldvpn.net/api/getTrial \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F email="Client Email" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| string | Required | |
| mode | string | Optional |
Retrieve all WorldVPN server locations and their details.
curl -X POST https://www.worldvpn.net/api/listServers \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| mode | string | Optional |
Check your reseller account credit balance.
curl -X POST https://www.worldvpn.net/api/getCredit \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| mode | string | Optional |
List all VPN accounts under your reseller account.
curl -X POST https://www.worldvpn.net/api/getAccounts \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| mode | string | Optional |
Verify VPN login credentials — check whether a username and password combination is valid.
curl -X POST https://www.worldvpn.net/api/checkAuth \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="some username" \ -F vpnPassword="some password" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| vpnPassword | string | Required |
| mode | string | Optional |
Manage WireGuard peers and configurations programmatically
Creates a new WireGuard configuration for a VPN user on a specific server. Reseller accounts support up to **3 active WireGuard configurations** simultaneously. Returns the config ID, client IP, and server details.
curl -X POST https://www.worldvpn.net/api/addWireGuardPeer \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="VPN Username" \ -F serverId="1" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| serverId | integer | Required |
| mode | string | Optional |
Retrieve WireGuard configuration(s) for a VPN user. Returns full config content (plaintext + Base64) ready for download or QR code generation.
curl -X POST https://www.worldvpn.net/api/getWireGuardConfig \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="VPN Username" \ -F wireguardId="123" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| wireguardId | integer | Optional |
| mode | string | Optional |
Remove a WireGuard configuration from the database and update the server to delete the peer.
curl -X POST https://www.worldvpn.net/api/deleteWireGuardPeer \ -F resellerUsername="Your Reseller Username" \ -F resellerPassword="Your Reseller Password" \ -F vpnUsername="VPN Username" \ -F wireguardId="123" \ -F mode="test"
| Parameter | Type | Required |
|---|---|---|
| resellerUsername | string | Required |
| resellerPassword | string | Required |
| vpnUsername | string | Required |
| wireguardId | integer | Required |
| mode | string | Optional |
Common questions about integrating our white-label VPN Reseller API
mode="test" parameter to receive realistic dummy success responses safely.
/getCredit endpoint. It returns an exact numeric float value representing your available funds.
Become a reseller and get full API access to manage VPN services programmatically.
Become a Reseller →