Number Pool Creation

POST
https://api.itniotech.com/number/createNumberPool
Creating a pool of numbers.
 
Request Parameters
Parameters Description Required Type
poolNumber Number pool Virtual calling number. 1-20 characters. Yes String
customerWhitelist Customer ip whitelist. Multiple ip addresses are separated by commas. 1-200 characters, alphanumeric and special symbols (,.) are supported. Yes String
maxConcurrency Maximum concurrency, support 0-9999 pure numbers. Yes Array
numberList Number set No Array
 
Request Sample
Request URL:
    https://api.itniotech.com/number/createNumberPool
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "poolNumber": "918885",
    "customerWhitelist":"192.168.10.17,192.168.10.18",
    "maxConcurrency":99,
    "numberList":["9178605501","9178605502"]
}
 
Response Parameters
Parameters Description Type
status Status code, 0 is successful, other failures refer to the interface response code String
reason Failure cause description String
data This method returns null String
 
Response Sample
{
    "status": "0",
    "reason": "success",
    "data":null
}
 
Response Status Code
status Description
0 Successful
-1 Abnormal account authentication
-2 Ip restrictions
-16 Timestamp expired
-18 System anomalies
-20 Data already exists
-22 Parameter exception
-29 WorkSpace disabled
-30 API Key disabled
-31 Ip is not in the whitelist