v2/user/admin-legacy-session
A list of all publicly available methods for interacting with the API.
- Main
- Cart (7 methods)
- Calculate ### Calculate order Calculate given order and return the result, this is used in plan selector to show the price of the order. Cart
- Order This is renew package for next period. You need __money__ to renew package.
- Available countries Cart
- Available geo services
- Config Get all config for calculator, like: rules for counts, traffic, paid period, etc. This is used in plan selector to show the rules for the order. Cart
- Sale percentage ### Sale percentage #### What is the sale percentage? Sale percentage is a discount that is applied to the price of the order. The sale percentage is calculated based on the user's activity on the site, or referrals. The more active the user is, the higher the discount. #### Referral program It uses __sp-referral__ header as a referral code, more you can find on [wiki welcome page](/apidocs). #### How to apply the sale percentage? This is already calculated in the price of the orders, you don't need to do anything, just purchase the order. Cart
- Bonuses Cart
- Package (23 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Info Cancel non active package (without proxies), also money receives back)(4 methods)
- Order This is renew package for next period. You need __money__ to renew package.(5 methods)
- Proxies Package(14 methods)
- Delete
- Download hash Retrieve download hash for package, for download package proxies.(3 methods)
- Features(2 methods)
- Features(2 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Order This is renew package for next period. You need __money__ to renew package.(5 methods)
- Order This is renew package for next period. You need __money__ to renew package.(5 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Proxies Package(14 methods)
- Settings Change selected settings for given package.(2 methods)
- Settings Change selected settings for given package.(2 methods)
- Info Cancel non active package (without proxies), also money receives back)(4 methods)
- Proxies Package(14 methods)
- Info Cancel non active package (without proxies), also money receives back)(4 methods)
- User (36 methods)
- Info Cancel non active package (without proxies), also money receives back)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Oauth Return list of allowed targets (which can be used in oauth).(3 methods)
- Sessions Get session by id.(3 methods)
- Api tokens Create a new API token for the user.(4 methods)
- Api tokens Create a new API token for the user.(4 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Sessions Get session by id.(3 methods)
- Phone status(2 methods)
- Settings Change selected settings for given package.(3 methods)
- Settings Change selected settings for given package.(3 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Abilities Check if token has ability to do something.(2 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Money & Balance Toggle subscription renew (Only for saved))(9 methods)
- Phone(2 methods)
- Avatar(3 methods)
- Other linked accounts(3 methods)
- Other linked accounts(3 methods)
- Promo Get available for activation promocodes.(2 methods)
- Features(2 methods)
- Features(2 methods)
- Other linked accounts(3 methods)
- Referral(10 methods)
- Checker (4 methods)
- IP information Get IP information, such as country, city, timezone, etc. Checker(2 methods)
- IP information Get IP information, such as country, city, timezone, etc. Checker(2 methods)
- Proxy ### Check proxy This method allows connect through proxy and check if it's working. #### How it works? It will connect to `http://host.stableproxy.com/ip/` through proxy and get IP address, then it will connect to `https://ipinfo.io/widget/demo/ip` and get location information. Checker
- Blacklist ### Check website before order Check website in blacklist before order, some types of blacklist can be enabled or disabled. For example we allow pay sites on mobile proxies. Checker
- Conversation (5 methods)
- Get proxy bfrom list by index. (1 methods)
- Other (6 methods)
- Send message to given conversation. (1 methods)
- Get app info (1 methods)
- Return list of allowed targets (which can be used in oauth). (1 methods)
- Obtain a list of the user's API tokens. (1 methods)
- Create a new API token for the user. (1 methods)
- Get session by id. (1 methods)
- Toggle subscription renew (Only for saved)) (1 methods)
- Cancel non active package (without proxies), also money receives back) (1 methods)
- Retrieve download hash for package, for download package proxies. (1 methods)
- Download proxies in specific format, with specific connection type (1 methods)
- Get note (1 methods)
- This is renew package for next period. You need __money__ to renew package. (1 methods)
- Change or add traffic to order. You need __money__ to change traffic. (1 methods)
- Rotate proxy (1 methods)
- Get available connection servers (Some servers can give better speed). (1 methods)
- Package super proxy (1 methods)
- Get and read all user notifications. (1 methods)
- ### Purchase order This method is used to purchase the order, you need to send the _order_id_, _overall_ *(Is total_price, based on user currency)* from [v2/cart/order](/apidocs/cart/order) to this endpoint to purchase the order. (1 methods)
- View ticket (1 methods)
- Check if token has ability to do something. (1 methods)
- Get available for activation promocodes. (1 methods)
GET
v2/user/admin-legacy-session v2/user/admin-legacy-session -/user/admin-legacy-session
This method requires authorization!
You can use your own API key, which can be obtained at control panel.
This method - requires permissions - user.read
When creating an API token in your control panel, you can choose certain permissions (for example: prevent the token from placing orders).
You can also find a list of permissions in our documentation.
You can also find a list of permissions in our documentation.
Query method
GEThttps://api.stableproxy.com/v2/user/admin-legacy-session
Code examples
JavaScript
async function getUserAdminLegacySession() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/user/admin-legacy-session', {
method: 'GET',
headers: {
'Authorization': 'API-Token [YOUR TOKEN]',
'Content-Type': 'application/json'
}
}
);
const res = await req.json();
}