Filter Users

Filter Users

POST 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

[
    {
        full_name: "Alex Macmohan";
        email: "[email protected]";
        user_id: 1;
        role: "core";
        avatar_url: "https://someurl.png";
    }
]

Last updated