# Introduction To Searching & Pagination

Many <mark style="color:green;">`GET`</mark> endpoints support query parameters for filtering, sorting, and pagination. These include endpoints like [**Message History**](https://wiki.mobivatebulksms.com/message-history), [**Contact Lists**](https://wiki.mobivatebulksms.com/contact-management/list-contacts), [**Opt-Outs**](https://wiki.mobivatebulksms.com/optouts-management/list-opt-outs), and [**Campaigns**](https://wiki.mobivatebulksms.com/message-history/list-message-campaigns).

| Parameter | Type   | Description                                                     |
| --------- | ------ | --------------------------------------------------------------- |
| sortField | string | The field to sort results by (e.g., `created_on`).              |
| sortDir   | string | Direction of sorting: `ASC` (ascending) or `DESC` (descending). |
| offset    | number | Number of records to skip (for pagination).                     |
| limit     | number | Maximum number of records to return per page (e.g., 10).        |

We recommend that you use these prameters to effectively handle larger datasets.

{% hint style="info" %}
All endpoints that return lists may support these parameters. Check individual endpoint docs for availability.
{% endhint %}
