- Overview
- Getting Started
- Glossary
- Where to start?
- What does agent-client mean?
- Resource monitoring
- Reseller webhooks
- Installation
- Generating VPN accounts
- User Guide
- Best Practices
- Integrations
- APIs for User
- APIs for Reseller
- User Stories and Use Cases
- Video Tutorials and Walkthroughs
- Troubleshooting
- Contact and Support
Get user`s servers
GET
/user/servers
/user endpoint
Request
Query Params
token
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://test.your-api-server.com/user/servers'
Responses
🟢200Success
application/json
Body
optional
Example:
[{"ip":"8.8.8.8","location":"Amsterdam","latitude":52.3676,"longitude":4.9041,"vpn_servers":[{"name":"V2Fly","code":"v2fly"},{"name":"Wireguard","code":"wireguard"}],"country":{"name":"Netherlands","code":"NL"}}]
Example
[
{
"ip": "8.8.8.8",
"location": "Amsterdam",
"latitude": 52.3676,
"longitude": 4.9041,
"vpn_servers": [
{
"name": "V2Fly",
"code": "v2fly"
},
{
"name": "Wireguard",
"code": "wireguard"
}
],
"country": {
"name": "Netherlands",
"code": "NL"
}
}
]
🟠400400
🟠401401
🟠403403