# Method: projects.phoneNumberInstances.list

Lists all phone number instances.

List returns phone number instances sorted by `create_time` descending.

The caller must have `numbering.phoneNumberInstances.list` permission on the project.

### HTTP request

`GET https://numbering.api.enfonica.com/v1beta1/{parent}/phoneNumberInstances`

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">parent</span> | <span class="e-code">string</span><br/>The project under which to list phone number instance, in the form `projects/*`.

### Query parameters
Parameters | &nbsp;
--|--
<span class="e-code">pageSize</span> | <span class="e-code">number (<a href="https://developers.google.com/protocol-buffers/docs/proto3#json" target="_blank">int32</a> format)</span><br/>The maximum number of phone number instance to return in the response. Default value of 10 and maximum value of 100.
<span class="e-code">pageToken</span> | <span class="e-code">string</span><br/>A pagination token returned from a previous call to `ListPhoneNumberInstances` that indicates where this listing should continue from.
<span class="e-code">prefix</span> | <span class="e-code">string</span><br/>The prefix, either in E164 or 0NSN, of numbers to retrieve. 
<span class="e-code">includeDeleted</span> | <span class="e-code">boolean</span><br/>Whether to include deleted phone numbers in the response. Defaults to false. 

### Request body

The request body must be empty.

### Response body

The ListPhoneNumberInstances response.

<div class="highlight"><span class="filename">JSON representation</span><pre><code><span class="p">{</span>
  <span class="s2">&quot;phoneNumberInstances&quot;</span><span class="p">: </span><span class="p">[</span>
    <span class="p">{</span>
      <span class="kd">object (</span><a href="/docs/phone-numbers/api-reference/rest/v1beta1/projects.phoneNumberInstances/overview/#resource-phonenumberinstance"><strong><span class="kd">PhoneNumberInstance</span></strong></a><span class="kd">)</span>
    <span class="p">}</span>
  <span class="p">]</span><span class="p">,</span>
  <span class="s2">&quot;nextPageToken&quot;</span><span class="p">: </span><span class="kd">string</span>
<span class="p">}</span></code></pre></div>

Fields | &nbsp;
--|--
<span class="e-code">phoneNumberInstances[]</span> | <span class="e-code">object ([PhoneNumberInstance](/docs/phone-numbers/api-reference/rest/v1beta1/projects.phoneNumberInstances/overview/#resource-phonenumberinstance))</span><br/>A possibly paginated list of phone number instance that are direct descendants of the specified parent resource.
<span class="e-code">nextPageToken</span> | <span class="e-code">string</span><br/>A pagination token returned from a previous call to `ListPhoneNumberInstances` that indicates from where listing should continue.

