Search Users

Search Users

GET https://api.smarttask.io/api/Company/GetUsers/{company_id}?query={query}

This endpoint fetches top 5 users matching the query string.

Path Parameters

Name
Type
Description

company_id

number

CompanyId 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.

Headers

Name
Type
Description

Authorization

string

Bearer token

[
    {
        FullName: "Alex Macmohan";
        Email: "alex@awesome.com";
        UserId: 1;
        isCompanyAdmin: true;
        isGuestUser: false;
        isConfirmed: true;
        PicUrl: "https://someurl.png";
    }
]

Last updated