# Method: projects.faxes.list

Lists the Faxes of the specified project. List returns Faxes sorted by create_time descending.

The caller must have `voice.faxes.list` permission on the project.

### HTTP request

`GET https://voice.api.enfonica.com/v1beta1/{parent}/faxes`

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">parent</span> | <span class="e-code">string</span><br/>The resource name of the parent of which to list faxes. Must be of 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 Faxes 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 fax to `ListFaxes` that indicates where this listing should continue from.
<span class="e-code">view</span> | <span class="e-code">enum ([FaxView](#faxview))</span><br/>Configuration of partial responses. Defaults to BASIC.

### Request body

The request body must be empty.

### Response body

The ListFaxes response fax.

<div class="highlight"><span class="filename">JSON representation</span><pre><code><span class="p">{</span>
  <span class="s2">&quot;faxes&quot;</span><span class="p">: </span><span class="p">[</span>
    <span class="p">{</span>
      <span class="kd">object (</span><a href="/docs/cloud-voice/api-reference/rest/v1beta1/projects.faxes/overview/#resource-fax"><strong><span class="kd">Fax</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">faxes[]</span> | <span class="e-code">object ([Fax](/docs/cloud-voice/api-reference/rest/v1beta1/projects.faxes/overview/#resource-fax))</span><br/>A possibly paginated list of Faxes 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 fax to `ListFaxes` that indicates from where listing should continue.

### FaxView

Configuration of partial responses for the Fax resource.

Enums | &nbsp;
--|--
<span class="e-code">FAX_VIEW_UNSPECIFIED</span> | The default / unset value. The API will default to BASIC for ListFaxes and FULL for GetFax.
<span class="e-code">BASIC</span> | Includes all fields except `uri`. This is the default for ListFaxes.
<span class="e-code">FULL</span> | Includes all fields. This is the default for GetFax.

