Trying to find all unassigned phone numbers using the API, bit confused

Description

using this API: Zoom Phone API

I’m using Okta workflows for this. I’m trying to ONLY list unassigned numbers. I’m not sure how to get that list as I keep getting all assigned and unassigned numbers as a result. What would I put in the query string to get unassigned numbers only?

Error?
No error, just not sure what to put in query

How To Reproduce
Steps to reproduce the behavior:
*1. used the “GET /phone/numbers” api
*2. All results are in body, both assigned and unassigned numbers
*3. I would just like the unassigned numbers pool…

Hi @jackson ,

Please use the following query parameter to get the unassigned numbers:

type="unassigned"