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

NameTypeDescription

company_id

number

CompanyId to fetch users from

Query Parameters

NameTypeDescription

query

string

The API will do its best to find a user matching the provided query string.

Headers

NameTypeDescription

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