# Get Users

<figure><img src="https://46117299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkXsf62gOd_7h7UDBt1%2Fuploads%2F61RLpZuVjGYCiHpfgoGd%2Fimage.png?alt=media&#x26;token=424cfcaf-9b37-4760-a6b2-4301c06b7cee" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="156">Parameter</th><th width="117">Type</th><th width="123">Required</th><th>Description</th></tr></thead><tbody><tr><td>perPage</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>Amount of users per page.</td></tr><tr><td>page</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>Amount of pages</td></tr><tr><td>sortBy</td><td><strong>Enum</strong></td><td><strong>Yes</strong></td><td>The field to sort the users by (any field in the user schema may be used)</td></tr><tr><td>sortDir</td><td><strong>Enum</strong></td><td><strong>Yes</strong></td><td>Choose to sort in ascending (asc) or descending (desc) order</td></tr><tr><td>User Filter</td><td><strong>Enum</strong></td><td>Optional</td><td>Filter user with context</td></tr><tr><td>Filter Context</td><td><strong>String</strong></td><td>Optional</td><td>Filter context</td></tr></tbody></table>
