XProxy Official
  1. Device Management
XProxy Official
  • API document for XProxy service
  • Proxy Management
    • Get the list of devices & proxies information
      GET
    • Get status of a specific proxy
      GET
    • Get status of a specific position
      GET
    • Reboot dongle with specific proxy
      GET
    • Reboot dongle with specific position
      GET
  • Device Management
    • Change IMEI for multiple dongles
      POST
    • Add or change device note
      POST
    • Change MAC address for dongles
      POST
    • Change APN for dongles
      POST
    • Change device label
      POST
    • Connect dongle to network
      POST
    • Enable/disable WiFi for multiple dongles
      POST
    • Disconnect dongle from network
      POST
    • Reboot a specific dongle
      POST
    • Reset bus dongle
      POST
    • Get dongle information including phone number
      POST
    • Set MTU value for a dongle
      POST
  • Rotation (Change IP)
    • Manual rotation :: Rotate IP for a specific proxy or SOCKS port
      GET
    • Manual rotation :: Rotate IP for a specific position of modem in list
      GET
    • Auto rotation :: Add a rotation schedule job
      POST
    • Auto rotation :: Retrieve scheduled rotation jobs
      POST
  • Selling Platform
    • Get list of selling proxies
      GET
    • Generate selling proxies
      POST
    • Editing for single selling proxy port
      POST
    • Delete selling proxy by ID
      POST
  • SMS & USSD Utitlies
    • SMS
      • Read SMS messages
      • Send SMS message
      • Delete SMS messages
    • USSD
      • Send USSD command
      • Read USSD response
  • System Management
    • Restart XProxy Panel
    • Reboot XProxy System
  1. Device Management

Set MTU value for a dongle

POST
{{BASE_URL}}/v2/set_mtu
Device
Sets the Maximum Transmission Unit (MTU) value for a specific dongle.
MTU affects network packet size and can impact performance.

Request

Body Params application/json
position
integer 
required
Position index of the modem in proxy management page
Example:
1
mtu
string 
required
MTU value to set (typically between 1280 and 1500)
Example:
1500
Example
{
    "position": 1,
    "mtu": "1500"
}

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/v2/set_mtu' \
--header 'Content-Type: application/json' \
--data-raw '{
    "position": 1,
    "mtu": "1500"
}'

Responses

🟢200OK
application/json
Successful operation
Body
status
boolean 
optional
Example:
true
msg
string 
optional
Example:
MTU value updated successfully
Example
{
    "status": true,
    "msg": "MTU value updated successfully"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
Modified at 2025-04-23 02:54:42
Previous
Get dongle information including phone number
Next
Manual rotation :: Rotate IP for a specific proxy or SOCKS port
Built with