# Filter Users

## Filter Users

<mark style="color:blue;">`POST`</mark> `https://ext-v2.smarttask.io/v1.0/organization-user/filter-users/{organization_id}?query={query}&page_no={page_no}&list_size={list_size}`

#### Path Parameters

| Name             | Type   | Description                        |
| ---------------- | ------ | ---------------------------------- |
| organization\_id | number | OrganizationId to fetch users from |

#### Query Parameters

| Name       | Type   | Description                                                                 |
| ---------- | ------ | --------------------------------------------------------------------------- |
| query      | string | The API will do its best to find a user matching the provided query string. |
| page\_no   | number | Page Number                                                                 |
| list\_size | number | Cannot be greater than 100                                                  |

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| Authorization | string | Bearer token |

#### Request Body

* Array of except\_user\_ids
* Eg: \[ 1, 2]

#### Response Body

{% tabs %}
{% tab title="200 Users successfully retrieved." %}

```
[
    {
        full_name: "Alex Macmohan";
        email: "alex@awesome.com";
        user_id: 1;
        role: "core";
        avatar_url: "https://someurl.png";
    }
]

```

{% endtab %}
{% endtabs %}
