GET {{baseUrl}}/phone/carrier_reseller/numbers?page_size=30&next_page_token=next_page_token&assigned_status=assigned&sub_account_id=8EVJZPwCTmSZme6fTOcBFg&keyword=555
Use this API to list phone numbers in a carrier reseller (master) account that can be pushed to its subaccounts. Scopes: Prerequisites:
* A Pro or higher account plan
* A Zoom Phone licensephone:read:admin
Rate Limit Label: Medium
Body
PARAM
Key | Datatype | Required | Description |
page_size
|
number | The size of the page. | |
next_page_token
|
string | The current page number of returned records. | |
assigned_status
|
string | Number assignment status. | |
sub_account_id
|
string | Partner account ID from sub-account. | |
keyword
|
number | Partial string of the phone number. |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"carrier_reseller_numbers": [
{
"assigned_status": "assigned",
"carrier_code": 9998,
"country_iso_code": "US",
"phone_number": "+12059535689",
"status": "active",
"sub_account_id": "8EVJZPwCTmSZme6fTOcBFg",
"sub_account_name": "testAccount"
},
{
"assigned_status": "assigned",
"carrier_code": 9998,
"country_iso_code": "US",
"phone_number": "+12059535689",
"status": "active",
"sub_account_id": "8EVJZPwCTmSZme6fTOcBFg",
"sub_account_name": "testAccount"
}
],
"next_page_token": "next_page_token",
"page_size": 30,
"total_records": 1
} |
ENDPOINTS