GET /phone/numbers

A Zoom account owner or admin can purchase phone numbers and assign them to Zoom phone users. Use this API to list all Zoom Phone numbers in a Zoom account. You can filter the response based on your needs by using query parameters.

Prerequisites:

Servers

Query parameters

Name Type Required Description
pending_numbers Boolean No

Include or exclude pending numbers in the response. The value can be either true or false.

site_id String No

Unique identifier of the site. Use this query parameter if you have enabled multiple sites and would like to filter the response of this API call by a specific phone site. See Managing multiple sites or Adding a site for details.

page_size Integer No

The number of records returned within a single API call.

Default value: 30

type String No

Query response by number assignment. The value can be one of the following:
assigned: The number has been assigned to either a user, a call queue, an auto-receptionist or a common area phone in an account.
unassigned: The number is not assigned to anyone.
all: Include both assigned and unassigned numbers in the response.
byoc: Include Bring Your Own Carrier (BYOC) numbers only in the response.

Valid values:

  • "unassigned"
  • "assigned"
  • "all"
extension_type String No

The type of assignee to whom the number is assigned. The value can be one of the following:
user
callQueue
autoReceptionist
commonAreaPhone

Valid values:

  • "autoReceptionist"
  • "callQueue"
  • "commonAreaPhone"
  • "user"
next_page_token String No

The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.

number_type String No

The type of phone number. The value can be either toll or tollfree.

Valid values:

  • "tollfree"
  • "toll"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.