POST
/
v1
/
subAccount
/
add
curl --request POST \
  --url https://api.goproxy.com/go-api/v1/subAccount/add \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <apikey>' \
  --data '{
  "proxyType": 123,
  "username": "<string>",
  "password": "<string>",
  "trafficLimit": "<string>",
  "remarks": "<string>"
}'
"Success"

Headers

apiKey
string
required

Your API key for authentication.

Body

application/json
proxyType
integer
required

The proxy type for the sub-account. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.

username
string
required

The username for the sub-account. It must be between 6 and 10 characters or digits.

password
string
required

The password for the sub-account. It must be between 6 and 8 characters, containing only letters or digits.

trafficLimit
string

The traffic limit for the sub-account in MB. To set no limit, omit this field or leave it blank.

remarks
string

Optional remarks or description for the sub-account.

Response

200 - application/json
Successful Response

The response is of type string.

Example:

"Success"