# Method: projects.sipDomains.users.list

Lists all Users. List returns user sorted by create_time descending.

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

### HTTP request

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

### Path parameters

Parameters | &nbsp;
--|--
<span class="e-code">parent</span> | <span class="e-code">string</span><br/>The SIP domain under which to list users, in the form `projects/*/sipDomains/*`.

### 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 users 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 `ListUsers` that indicates where this listing should continue from.

### Request body

The request body must be empty.

### Response body

The ListUsers response.

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

