# Method: projects.calls.list

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

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

### HTTP request

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

### 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 calls. 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 Calls 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 `ListCalls` that indicates where this listing should continue from.
<span class="e-code">filter</span> | <span class="e-code">string</span><br/>Filter string to specify which results should be returned.<br/><br/>The following fields can be filtered: - `createTime` - `to` - `from` - `state` - `direction` - `transport`<br/><br/>For example: createTime >= '2021-01-01T06:00:00.0Z' AND createTime < '2021-02-01' AND state = COMPLETED OR state = BUSY AND to = '+61*' OR from = '+61*'<br/><br/>Note that OR has higher precendence than AND.

### Request body

The request body must be empty.

### Response body

The ListCalls response call.

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

