- API document for XProxy service
- Proxy Management
- Device Management
- Change IMEI for multiple donglesPOST
- Add or change device notePOST
- Change MAC address for donglesPOST
- Change APN for donglesPOST
- Change device labelPOST
- Connect dongle to networkPOST
- Enable/disable WiFi for multiple donglesPOST
- Disconnect dongle from networkPOST
- Reboot a specific donglePOST
- Reset bus donglePOST
- Get dongle information including phone numberPOST
- Set MTU value for a donglePOST
- Rotation (Change IP)
- Selling Platform
- SMS & USSD Utitlies
- System Management
Editing for single selling proxy port
POST
{{BASE_URL}}/selling/bulk_edit
Single Selling Proxy Editing API#
Description#
Usage#
Notes#
gen_method=1
when creating or listing selling proxies.gen_method=2
when creating or listing selling proxies.Modifying Proxy Properties:#
selected_positions
array.selected_positions = [3]
.selected_positions
array.selected_positions = [1, 3, 5]
.Example Requests#
1. Update Specific proxy Properties#
expiredDate
and memo
for a proxy with ID 203
, include only those properties in the request payload:{
"ids": [203],
"expiredDate": 1744344853000,
"memo": "My memo"
}
2. Update position of Single Destination proxy by moving to new position#
{
"ids": [203],
"selected_positions": [5]
}
2. Update positions of a proxy group#
{
"ids": [205],
"selected_positions": [1,3,6,7]
}
Request
Body Params application/json
ids
array[integer]
required
Example:
[203]
selected_positions
array[integer]
optional
Example:
[1]
ipAuthenticationEntry
string
optional
Example:
125.12.30.67,125.12.30.68
isAutoGenAuthentication
boolean
optional
userAuthenticationEntry
. Enabled it then system will auto-generate new authentication credentialExample:
false
userAuthenticationEntry
string
optional
isAutoGenAuthentication
set to false
Example:
FXB8BBR5:FXB8BBR5
sharedEnabled
boolean
optional
Example:
true
ipType
integer
optional
Example:
1
portType
integer
optional
Example:
0
expiredDate
integer
optional
Example:
1744344853000
whitelistLimitAccessEntry
string
optional
Example:
facebook.com,.facebook.com*
blacklistLimitAccessEntry
string
optional
Example:
google.com,.google.com
counterUploadLimit
integer
optional
Example:
0
counterUploadLimitBy
integer
optional
counterUploadLimit
. Upload limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)Example:
1
counterUploadQuotaInMB
integer
optional
counterUploadLimit
. Upload quota in MBExample:
100
counterDownloadLimit
integer
optional
Example:
0
counterDownloadLimitBy
integer
optional
counterDownloadLimit
. Download limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)Example:
1
counterDownloadQuotaInMB
integer
optional
counterDownloadLimit
. Download quota in MBExample:
100
counterAllLimit
integer
optional
Example:
1
counterAllLimitBy
integer
optional
counterAllLimit
. Combined traffic limit period (1=DAILY, 2=WEEKLY, 3=MONTHLY, 4=END_QUOTA)Example:
3
counterAllQuotaInMB
integer
optional
counterAllLimit
. Combined traffic quota in MBExample:
6000
bwLimitEnabled
integer
optional
Example:
1
bwLimitRate
integer
optional
bwLimitEnabled
. Bandwidth limit in MbpsExample:
60
tcpOS
string
optional
Example:
win1
customDNS
string
optional
Example:
1.1.1.1 8.8.8.8
allowApiChangeRotation
boolean
optional
Example:
true
minIntervalRotation
integer
optional
allowApiChangeRotation
. Minimum allowed for customer change scheduling rotation interval via API in secondsExample:
120
intervalRotation
integer
optional
Example:
0
allowApiRotate
boolean
optional
Example:
true
minSecondRotate
integer
optional
allowApiRotate
. Minimum seconds between API call to manual rotation executed by customers.Example:
60
maxConnection
integer
optional
Example:
200
maxConnectionPeriod
integer
optional
maxConnectionPeriod
Example:
60
forceServerResolveDns
boolean
optional
whitelistLimitAccessEntry
and blacklistLimitAccessEntry
Example:
false
memo
string
optional
Example:
Example
{
"ids": [
203
],
"selected_positions": [
1
],
"ipAuthenticationEntry": "125.12.30.67,125.12.30.68",
"isAutoGenAuthentication": false,
"userAuthenticationEntry": "FXB8BBR5:FXB8BBR5",
"sharedEnabled": true,
"ipType": 1,
"portType": 0,
"expiredDate": 1744344853000,
"whitelistLimitAccessEntry": "facebook.com,.facebook.com*",
"blacklistLimitAccessEntry": "google.com,.google.com",
"counterUploadLimit": 0,
"counterUploadLimitBy": 1,
"counterUploadQuotaInMB": 100,
"counterDownloadLimit": 0,
"counterDownloadLimitBy": 1,
"counterDownloadQuotaInMB": 100,
"counterAllLimit": 1,
"counterAllLimitBy": 3,
"counterAllQuotaInMB": 6000,
"bwLimitEnabled": 1,
"bwLimitRate": 60,
"tcpOS": "win1",
"customDNS": "1.1.1.1 8.8.8.8",
"allowApiChangeRotation": true,
"minIntervalRotation": 120,
"intervalRotation": 0,
"allowApiRotate": true,
"minSecondRotate": 60,
"maxConnection": 200,
"maxConnectionPeriod": 60,
"forceServerResolveDns": false,
"memo": ""
}
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 -g --request POST 'http://localhost/selling/bulk_edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
203
],
"selected_positions": [
1
],
"ipAuthenticationEntry": "125.12.30.67,125.12.30.68",
"isAutoGenAuthentication": false,
"userAuthenticationEntry": "FXB8BBR5:FXB8BBR5",
"sharedEnabled": true,
"ipType": 1,
"portType": 0,
"expiredDate": 1744344853000,
"whitelistLimitAccessEntry": "facebook.com,.facebook.com*",
"blacklistLimitAccessEntry": "google.com,.google.com",
"counterUploadLimit": 0,
"counterUploadLimitBy": 1,
"counterUploadQuotaInMB": 100,
"counterDownloadLimit": 0,
"counterDownloadLimitBy": 1,
"counterDownloadQuotaInMB": 100,
"counterAllLimit": 1,
"counterAllLimitBy": 3,
"counterAllQuotaInMB": 6000,
"bwLimitEnabled": 1,
"bwLimitRate": 60,
"tcpOS": "win1",
"customDNS": "1.1.1.1 8.8.8.8",
"allowApiChangeRotation": true,
"minIntervalRotation": 120,
"intervalRotation": 0,
"allowApiRotate": true,
"minSecondRotate": 60,
"maxConnection": 200,
"maxConnectionPeriod": 60,
"forceServerResolveDns": false,
"memo": ""
}'
Responses
🟢200OK
application/json
Body
status
boolean
optional
Example:
true
data
array[object (SharedProxy) {36}]
optional
id
integer
optional
shared_port
integer
optional
gen_method
enum<number>
optional
Allowed values:
12
position
integer
optional
0
if gen_method=2
group_positions
array[integer]
optional
gen_method=1
ip_type
enum<string>
optional
Allowed values:
1234
port_type
enum<string>
optional
Allowed values:
012
auth_ip_list
string
optional
auth_user_list
string
optional
web_whitelist
string
optional
web_blacklist
string
optional
expired_at_unix
integer
optional
enabled
boolean
optional
memo
string
optional
custom_dns
string
optional
bw_limit_enabled
boolean
optional
bw_limit_rate
integer
optional
counter_dl_limit
enum<string>
optional
Allowed values:
unlimitedlimited
counter_dl_limit_by
enum<string>
optional
Allowed values:
DAILYWEEKLYMONTHLYEND_QUOTA
counter_dl_quota
integer
optional
counter_ul_limit
enum<string>
optional
Allowed values:
unlimitedlimited
counter_ul_limit_by
enum<string>
optional
Allowed values:
DAILYWEEKLYMONTHLYEND_QUOTA
counter_ul_quota
integer
optional
counter_all_limit
enum<string>
optional
Allowed values:
unlimitedlimited
counter_all_limit_by
enum<string>
optional
Allowed values:
DAILYWEEKLYMONTHLYEND_QUOTA
counter_all_quota
integer
optional
max_connection
integer
optional
max_connection_period
integer
optional
Default:
60
tcp_os
string
optional
force_server_resolve_dns
boolean
optional
interval_rotation
integer
optional
min_interval_rotation
integer
optional
allow_api_rotate
boolean
optional
min_second_rotate
integer
optional
allow_api_change_rotation
boolean
optional
last_rotation
integer
optional
Example
{
"status": true,
"data": [
{
"id": 0,
"shared_port": 0,
"gen_method": 1,
"position": 0,
"group_positions": [
0
],
"ip_type": "1",
"port_type": "0",
"auth_ip_list": "string",
"auth_user_list": "string",
"web_whitelist": "string",
"web_blacklist": "string",
"expired_at_unix": 0,
"enabled": true,
"memo": "string",
"custom_dns": "string",
"bw_limit_enabled": true,
"bw_limit_rate": 0,
"counter_dl_limit": "unlimited",
"counter_dl_limit_by": "DAILY",
"counter_dl_quota": 0,
"counter_ul_limit": "unlimited",
"counter_ul_limit_by": "DAILY",
"counter_ul_quota": 0,
"counter_all_limit": "unlimited",
"counter_all_limit_by": "DAILY",
"counter_all_quota": 0,
"max_connection": 0,
"max_connection_period": 60,
"tcp_os": "string",
"force_server_resolve_dns": true,
"interval_rotation": 0,
"min_interval_rotation": 0,
"allow_api_rotate": true,
"min_second_rotate": 0,
"allow_api_change_rotation": true,
"last_rotation": 0
}
]
}
🟠400Bad Request
🔴500Server Error
Modified at 2025-03-14 04:25:09