IPCola
  1. account
IPCola
  • User
    • user
      • send email VCode
      • get user info
      • user login
      • user register
      • get captcha
      • user reset password
    • balance
      • get user balance
    • deposit
      • deposit
      • coinbase(deprecated)
      • query deposit record
      • stripe(deprecated)
  • Rotation proxy
    • account
      • create new account
        POST
      • delete account
        POST
      • query account
        POST
      • update account
        POST
    • ip whitelist
      • add ip whitelist
      • delete ip whitelist
      • query ip whitelist
      • update ip whitelist
    • api proxy list
      • get proxy list for ip whitelist auth
    • price
      • query pay as you go price
      • query traffic package price
    • traffic package
      • buy traffic package
      • query traffic package
    • distribution
      • query rotation proxy distribution
    • proxy traffic
      • query daily traffic data
  • Static proxy
    • static direct proxy
      • buy static direct proxy
      • buy traffic
      • query static direct proxy
      • offline ip refund static direct proxy
      • online ip refund static direct proxy
      • renew
      • set ip whitelist
      • replace ip
    • static indirect proxy
      • buy static indirect proxy
      • buy traffic
      • query static transfer proxy
      • offline ip refund static transfer proxy
      • online ip refund static transfer proxy
      • renew
      • replace ip
    • distribution
      • query static indirect connect proxy distribution
      • query static direct connect proxy distribution
    • price
      • query static direct residential proxy price
      • query static direct datacenter proxy price
      • query static transfer residential proxy price
      • query static transfer datacenter proxy price
  • Common
    • public ip
      • get public ip
    • proxy address
      • query proxy address
  1. account

create new account

POST
/api/account/add
account
There is a default limit on the number of accounts that can be created, which can be obtained from the 'get user info' API.
The 'account_limit' field in the returned userinfo indicates the limit on the number of accounts.

Request

Header Params
Authorization
string 
optional
Default:
Bearer {{AUTH_TOKEN}}
Body Params application/json
account_name
string 
required
new account name
password
string 
required
password
tag
string 
optional
tag
traffic_limit_mb
integer 
required
traffic limit, 0 for no limit
Example
{
  "traffic_limit_mb": 100,
  "password": "password123",
  "account_name": "myaccount",
  "tag": "for test"
}

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 --request POST 'https://api.ipcola.com/api/account/add' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "traffic_limit_mb": 100,
    "password": "password123",
    "account_name": "myaccount",
    "tag": "for test"
}'

Responses

🟢200result
application/json
Body
account
object 
required
new account info
account_name
string 
optional
created_unixtime
integer 
optional
id
integer 
optional
password
string 
optional
tag
string 
optional
traffic_limit
integer 
optional
traffic_used
integer 
optional
user_id
integer 
optional
meta_message
string 
required
success or other error msg
meta_status
integer 
required
1 for success, negative for error
Example
{
  "account": {
    "account_name": "string",
    "created_unixtime": 0,
    "id": 0,
    "password": "string",
    "tag": "string",
    "traffic_limit": 0,
    "traffic_used": 0,
    "user_id": 0
  },
  "meta_message": "string",
  "meta_status": 0
}
Modified at 2023-06-21 07:22:38
Previous
stripe(deprecated)
Next
delete account
Built with