LogoLogo
  • Welcome!
  • Proxies
    • Dedicated DataCenter Proxies
      • Intro
      • Proxy parameters
        • Country
        • State
        • City
        • Session Stickiness
        • List of client's IPs
    • Rotating Residential Proxies
      • Intro
      • Proxy parameters
        • Country
        • State
        • City
        • Session Stickiness
        • ASN targeting
    • ISP Residential Proxies
      • Intro
      • Proxy parameters
        • Session Stickiness
        • Country
        • State
        • City
    • Shared DataCenter Proxies
      • Intro
      • Proxy parameters
        • Country
        • State
        • City
        • Session Stickiness
    • Integrations
      • How to rotate proxies in Python?
      • How to use GoProxies in Ruby?
      • How to connect to GoProxies proxy via SmartProxy?
      • How to connect to GoProxies proxy via ZeroOmega (Proxy SwitchyOmega 3)
      • How to connect to GoProxies proxy via Selenium?
      • How to connect to GoProxies via IP Burger extension?
      • How to connect to GoProxies via Puppeteer?
      • How to connect to GoProxies proxy via FoxyProxy?
    • Resellers API
      • How to login into GoProxies API and list your current sub-users?
      • How to create a sub-user via GoProxies API?
      • How to check usage traffic of the sub-user?
    • HTTP Error Response codes
    • FAQ
      • General Questions
        • What solutions do GoProxies offer?
        • Is there an option to purchase a custom proxy package?
        • Can you transfer my unused traffic to next month?
        • Does GoProxies have customer support?
        • Do you charge additional fees for the setup?
        • Can I cancel my subscription at any time?
      • Billing and Pricing
        • What are the GoProxies pricing plans?
        • What payment methods do you accept?
      • Static Residential Proxies
        • Which locations GoProxies covers with Static Residential Proxies?
        • Do you offer a free trial for Static Residential Proxies?
      • Rotating Residential Proxies
        • What locations GoProxies covers with Rotating Residential Proxies?
        • What HTTP(s) ports do you allow access to?
        • Is it possible to rotate the Residential IP every request?
        • How many concurrent sessions can I make?
    • Contact Support
Powered by GitBook
On this page

Was this helpful?

  1. Proxies
  2. Resellers API

How to create a sub-user via GoProxies API?

PreviousHow to login into GoProxies API and list your current sub-users?NextHow to check usage traffic of the sub-user?

Last updated 3 months ago

Was this helpful?

To add an additional sub-user under your main user, you would need to use the auth token that you received from and add it into this request. Example below:

curl -X POST https://api.goproxies.com/api/v1/reseller/subusers \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer {YOUR_TOKEN_FROM_LOGIN}" \
     -d '{"username": "MY_USER", "enabled": true, "traffic_limit_amount": 10, "period_seconds": 99999, "recurring": true}'

In this request these are variable options:

  • username - replace MY_USER with the username that you want to give to your sub-user.

  • enabled - true/false, if you want to the sub-user to be enabled to get traffic set to true if not - false.

  • traffic_limit_amount - amount of traffic in GBs that the sub-user is allowed to use.

  • period_seconds - how long the sub-user will be active in seconds.

  • recurring - true/false, if you want sub-user to automatically renew once it expires due to "period_seconds" set it to true, otherwise to false.

Once a sub-user is created you will receive a similar output, which means the sub-user was successfully created: {"enabled":true,"period_seconds":99999,"period_started_at":"2025-01-01T00:00:00.0Z","recurring":true,"secret":"b09bac352778f29sb1cb55ab255c6def","traffic_limit_amount":10,"traffic_limit_unit":"GB","traffic_used":0,"username":"MY_USER"}

Note: Remember the "secret" provided, as it will serve as the password for directing proxy traffic via the sub-user.

login step