Add Channel
POST
/api/v1/api/channelRequest
Body Params application/json
name
string
required
password
string
required
zoneName
string
required
limit
integer
required
type
string
required
country
string
required
state
string
required
city
string
required
whitelist
array[string]
required
senses
array[string]
required
Example
{
"name": "Residential-411-SqV7",
"password": "123456",
"zoneName": "residential-zone-prod-3",
"limit": 10000000000,
"type": "residential",
"country": "US",
"state": "AL",
"city": "alabaster",
"whitelist": [],
"senses": []
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
data
object
required
channelId
string
required
userId
string
required
token
string
required
zoneName
string
required
name
string
required
password
string
required
whitelist
array[string]
required
senses
array[string]
required
type
string
required
regionType
string
required
country
string
required
state
string
required
city
string
required
speedPercent
integer
required
status
integer
required
used
integer
required
limit
integer
required
priceGB
integer
required
consumeAmount
integer
required
editableRegion
boolean
required
_id
string
required
createdAt
string
required
updatedAt
string
required
__v
integer
required
remain
integer
required
id
string
required
err
boolean
required
msg
string
required
code
integer
required
Example
{
"data": {
"channelId": "",
"userId": "",
"token": "",
"zoneName": "residential-zone-prod-3",
"name": "Residential-411-SqV7",
"password": "123456",
"whitelist": [],
"senses": [],
"type": "residential",
"regionType": "city",
"country": "US",
"state": "AL",
"city": "alabaster",
"speedPercent": 100,
"status": 1,
"used": 0,
"limit": 10000000000,
"priceGB": 5,
"consumeAmount": 0,
"editableRegion": true,
"_id": "",
"createdAt": "",
"updatedAt": "",
"__v": 0,
"remain": 0,
"id": ""
},
"err": false,
"msg": "SUCCESS",
"code": 200
}
Modified at 6 months ago