Flash Proxy
  • Authorization
  • Important
  • Reseller
    • Get balance
    • Formatting Proxies
  • Residential Proxies
  • Unlimited Proxies
  • Sub-users
    • Create a sub-user
    • Get all sub-users
    • Get sub-user by ID
    • Update sub-user
  • Proxy Plans
    • Purchase a plan
    • Update a plan
    • Delete a plan
  • Countries
    • Get countries
    • Get states
    • Get cities
    • Get ASNs
Powered by GitBook
On this page
  1. Sub-users

Create a sub-user

PreviousUnlimited ProxiesNextGet all sub-users

Last updated 8 months ago

This endpoint allows you to create a sub-user.

You must pass the following information:

  • name (minimum 4 characters)

  • email (must be unique, and formatted correctly)

Optional:

  • proxy_username - Minimum 8 characters, maximum 15 characters

  • proxy_password - Minimum 8 characters, maximum 15 characters

If you do not send the username or password, a random 10-character one will be created for you.

Create a sub user

post
Authorizations
Body
namestring · min: 1Required
emailstring · emailRequired
proxy_usernamestring · min: 8 · max: 15Optional
proxy_passwordstring · min: 8 · max: 15Optional
Responses
200
Successful response
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
POST /api/sub-users HTTP/1.1
Host: reseller.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "name": "text",
  "email": "[email protected]",
  "proxy_username": "text",
  "proxy_password": "text"
}
{
  "success": true,
  "sub_user": {
    "id": "text",
    "name": "text",
    "email": "text",
    "proxy_username": "text",
    "proxy_password": "text"
  }
}