- 👋 Hello
- API Introduction
- API Reference
- User
- Balance
- Affiliate
- Invoices
- Support
- SSH Keys
- Servers
- Scale
- Addons
- Rescue
- List plans
- List servers
- Server status
- Get a server
- Server metrics
- Bandwidth
- Deploy new server
- Start a server
- Restart a server
- Stop a server
- Power off
- Cancel server
- Undo cancel request
- Change password
- Update hostname
- Update SSH Keys
- Modify ISOs
- Restore
- Renew server
- Reinstall Server
- Change Primary IP
- Calculate renew amount
- Plans
- Snapshots
- Backups
- Server Images
- Floating IPs
- IP Addresses
- Network Protection
- Orders
- ISOs
Get account information
GET
https://api.vpsbg.eu/v1/user
User
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Accept
string
required
Default:
application/json
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://api.vpsbg.eu/v1/user' \
--header 'Accept;'
Responses
🟢200Account information
application/json
Body
id
integer
required
Example:
6831
name
string
required
Example:
john doe
email
string
required
Example:
john_doe@gmail.com
technical_email
string
required
Example:
john_doe_tech@gmail.com
phone_number
string
required
Example:
359 895624580
country
object
required
id
integer
required
Example:
40
code
string
required
Example:
BG
name
string
required
Example:
Bulgaria
name_bg
string
required
Example:
България
city
string
required
Example:
Sofia
address
string
required
Example:
Bul. bulgaria 258
referral_code
string
required
Example:
ec69c5
language
string
required
Example:
EN
tax_rate
number
required
Example:
1.2
type
string
required
Default:
unset
Examples:
individualbusiness
company_name
string
required
Example:
Example company LTD
company_address
string
required
Example:
Luxemburg, Strasse 223
uic
string
required
Example:
223344
vat_number
string
required
Example:
BG123456789
email_verified
boolean
required
2fa_enabled
boolean
required
email_otp_enabled
boolean
required
newsletter
boolean
required
auto_renew_services
boolean
required
currency
object
required
code
string
required
Example:
EUR
prefix
string
required
Example:
€
suffix
string
required
browser_sessions
array[object (Session) {8}]
required
id
integer
required
Example:
1
current
boolean
required
ip
string
required
Example:
172.18.0.1
last_used_at
string
required
Example:
2024-08-28T11:32:58.000000Z
user_agent
string
required
Example:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
browser_name
string
required
Example:
Google Chrome
browser_version
string
required
Example:
127.0.0.0
os
string
required
Example:
Windows 10
settings
object
required
floating_ipv4_limit
integer
required
Example:
20
floating_ipv4_left
integer
required
Example:
10
floating_ipv6_limit
integer
required
Example:
2
floating_ipv6_left
integer
required
Example:
1
server_ipv6_limit
integer
required
Example:
1
can_modify_country
boolean
required
can_modify_company
boolean
required
can_modify_aff_hash
boolean
required
show_shared_hosting
boolean
required
Default:
false
support
object
required
status
string
required
billing_cycle
integer | null
required
created_at
string | null
required
expiry_at
string | null
required
plan
object (Support plan)
required
cancel_request
object (Cancel Request)
optional
Example
{
"id": 1527,
"name": "johhn doe",
"email": "john_doe@email.com",
"technical_email": "john_doe@email.com",
"phone_number": "0123456789",
"country": {
"id": 40,
"code": "BG",
"name": "Bulgaria",
"name_bg": "България"
},
"city": "Example city",
"address": "Exampe address",
"referral_code": "ec69c5",
"language": "EN",
"tax_rate": 1.2,
"company_name": "Company EAD",
"company_address": "Company address 255",
"uic": "UIC EX",
"vat_number": "BG123456789",
"email_verified": true,
"2fa_enabled": false,
"email_otp_enabled": false,
"newsletter": true,
"auto_renew_services": true,
"currency": {
"code": "EUR",
"prefix": "€",
"suffix": ""
},
"browser_sessions": [],
"settings": {
"floating_ipv4_limit": 64,
"floating_ipv4_left": 63,
"floating_ipv6_limit": 2,
"floating_ipv6_left": 2,
"server_ipv6_limit": 1,
"can_modify_country": false,
"can_modify_company": false,
"can_modify_aff_hash": false,
"show_shared_hosting": true
},
"support": {
"status": "active",
"billing_cycle": null,
"created_at": null,
"expiry_at": null,
"plan": {
"id": 147,
"name": "Basic",
"key": "basic",
"available": true,
"price": 0,
"price_with_vat": 0
},
"cancel_request": null
}
}
🔴500Server Error
Modified at 2025-03-28 13:40:03