Proxy-seller
ProxyFree toolsContact sales
  • Documentation
  • PROXY-SELLER
    • Authorization
    • Actions with proxies
      • Retrieve active proxy
      • Export IPs in txt/csv/custom
      • IP replacement
      • Comment on IP
      • Extend proxies
      • Authorizations
        • List of authorizations
        • Create authorization
        • Change authorization
        • Delete authorization
    • Order actions
      • Complete information
      • Calculate the order
      • Place an order
    • Balance
    • Residential proxy
      • Get package information
      • Get all locations
      • Get existing IP list
      • Create list
      • Rename list
      • Change rotation settings
      • Delete list
      • Subaccounts (subusers)
        • Create subuser package
        • Update package
        • Get package information
        • Delete subuser's package
        • Retrieve existing IP lists
        • Create IP list
        • Rename created list
        • Change rotation
        • Delete list
        • Create a special list for API-TOOL
      • Session ID + TTL
        • Create a special list
        • Get all ISP codes
      • Cases (FAQ)
    • API - Changelog
    • SDK PHP
    • SDK NodeJS
    • SDK Phyton
    • SDK Java
    • SDK Golang
  • Mobile CRM
    • Get authorization key
    • Usage guides
      • How to Work with API Reference
      • Host Actions
        • All hosts info
        • List of host modems
        • Change host name
        • Reboot all modems
        • Export modems info
      • Modem Actions
        • Get all modems
        • Change modem IP
        • Set pause on modem
        • Set unpause on modem
        • Reboot modem
        • Change modem rotation
        • Limits on modem
        • Delete limits on modems
        • Delete modem
        • Send a report
      • Modem authorization (users)
        • Create authorization
        • Edit authorization
        • Modem authorizations
        • Authorization info
        • Limit authorization
        • Get limit authorization
        • Delete authorization
      • Modem action links
        • Direct links
        • Create domain
        • Approve domain
        • Edit domain
        • All client domain
        • Domain info
        • Delete domain
    • API Reference
      • Hosts
      • Modems
      • Modem authorization
      • Action links
      • Proxy limit
  • More guides
    • Youtube channel
    • Our blog
  • News, discounts
    • Reddit
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Endpoint:
  • Response:
  • Path parameters:
  • Request body:
  1. PROXY-SELLER
  2. Residential proxy
  3. Subaccounts (subusers)

Create subuser package

In this request you will learn how to create subuser package.

This API allows you to create a subpackage from your current active tariff with traffic. The validity period for the subpackage must not exceed the current active tariff’s validity period. The traffic amount is specified in bytes, and the specified traffic amount will be reserved from your current active tariff, but not more than what is available.

Endpoint:

POST https://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/create

Example:

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/create

Response:

{
  "status": "success",
  "data": {
    "rotation": 60,
    "traffic_limit": "7516192768",
    "expired_at": "d.m.Y",
    "is_link_date": true,
    "is_active": true,
    "package_key": "1234567890abcdefedcb",
    "traffic_usage": "10",
    "traffic_left": "10",
    "traffic_usage_sub": "10",
    "traffic_limit_sub": "10",
    "traffic_left_sub": "10"
  },
  "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Error api key",
            "code": 503,
            "customData": null
        },
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        },
        {
            "message": "Request limit reached",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set [ traffic_limit ] less than [ traffic_left - 1 ] in main package: 27380416559",
            "code": 0,
            "customData": null
        }
    ]
}

Path parameters:

Name
Value
Description

Authorization

<Your_API_Key>

Your personal API key

Request body:

Name
Type
Description

is_link_date

boolean

"If 'true', the expiration date will be linked to the main package.

rotation

Number

Specifies the type of rotation: '-1' = No rotation (Sticky), '0' = Rotation per request, '1' to '3600' = Rotation by time in seconds.

traffic_limit

String

The amount of bytes allocated for the subuser package.

expired_at

String

The expiration date for the subuser package.

PreviousSubaccounts (subusers)NextUpdate package

Last updated 26 days ago