# Get Collections

<figure><img src="https://46117299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkXsf62gOd_7h7UDBt1%2Fuploads%2FBnieIH0KMtMWPeSroq5p%2Fimage.png?alt=media&#x26;token=8decec9b-ff74-42f9-bc16-31f39da6d1a0" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="193.33333333333331">Parameter</th><th width="138">Type</th><th width="109">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>perPage</code></td><td>number</td><td><strong>Optional</strong></td><td>The number of collections to return</td></tr><tr><td><code>page</code></td><td>number</td><td><strong>Optional</strong></td><td>The offset for returned collections. Calculated as (page - 1) * perPage</td></tr><tr><td><code>sortBy</code></td><td><strong>String</strong></td><td><strong>Optional</strong></td><td>The field to sort the collections by (any field in the collection schema may be used)</td></tr><tr><td><code>sortDir</code></td><td>"asc" | "desc"</td><td><strong>Optional</strong></td><td>Choose to sort in ascending (asc) or descending (desc) order</td></tr></tbody></table>
