Skip to content

ListUsers

Request

Fetches list of active users associated with a company. User must have a valid token with required permissions.

Security
AuthorizationHeader
Query
frominteger

Page number

sizeinteger

Records per page. By default no of records per page is 50.

identifierstring

Name or email Id of the user to search

sort_bystring

Sort by field name

Enum:"name""email""added_date""last_login""status""ip""role"
orderstring

Order by asc or desc

Enum:"asc""desc"
curl -i -X GET \
  'https://apidoc.authmind.com/_mock/v1/docs/v1/users?from=0&size=0&identifier=string&sort_by=name&order=asc' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
errorstring
resultobject(models.ListUsersOutput)
successboolean
Response
{ "error": "string", "result": { "data": [], "total": 0 }, "success": true }