SmartTask Developers
Main Website
  • Overview
  • Authentication
    • Basics
    • Details
  • Endpoints
    • Organization
      • Fetch Organizations
    • Task
      • Create a Task
    • Record Activity
      • Fetch Activities
      • Add Comment
    • Project
      • Fetch Projects
    • Organization User
      • Filter Users
    • Webhooks
      • Subscribe to an Event
      • Unsubscribe from a Webhook
  • Models
    • Organization
      • Organization User
    • Group
    • Project
    • Record
    • Record Activity
    • Task
    • Contact
    • Webhook
    • Membership
    • File
    • Custom Field
      • Custom Field Value
    • User
Powered by GitBook
On this page
  1. Endpoints
  2. Organization User

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: "alex@awesome.com";
        user_id: 1;
        role: "core";
        avatar_url: "https://someurl.png";
    }
]
PreviousOrganization UserNextWebhooks

Last updated 7 days ago