# Method: projects.sipDomains.list

Lists all SipDomains. List returns sip domain sorted by create_time descending.

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

### HTTP request

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

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">parent</span> | <span class="e-code">string</span><br/>The project under which to list sip domain, 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 sip domain 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 `ListSipDomains` that indicates where this listing should continue from.
<span class="e-code">showDeleted</span> | <span class="e-code">boolean</span><br/>Whether to include deleted sip domains in the response. Defaults to false.

### Request body

The request body must be empty.

### Response body

The ListSipDomains response.

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

