Skip to main content

List Users

Get a list of the users on your site. Only site administrators can use this operation to list other user accounts.

You can only retrieve users associated with your site. Requesting a user whose name is taken by another site returns a 404 NOT FOUND error.

Endpoint

GET https://mysite.files.com/v1.2/getUsers

Replace mysite.files.com with your site address.

Request Parameters

NameData TypeDescription
access_tokenstringRequired. The session key that identifies which user is authenticated. Either an access token returned by the authenticateUser function, or a Files.com user API Key.
sortBystringWhich field to sort the results by. Valid choices are sort_users_username, sort_users_nickname, sort_users_email, or sort_users_home_folder. All sorting is case-insensitive.
sortOrderstringThe sort direction. Valid options are asc or desc. The default is asc.