Skip to main content

Get Info for a User

Get details of a single user on your site. Only site administrators can use this operation to retrieve other user accounts.

You can only retrieve users associated with your site. A username belonging to another site is not accessible. Check the response body's success and error fields; v1.2 HTTP status codes do not use the v2 REST error conventions.

Endpoint

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

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.
usernamestringRequired. The login name of the user you are retrieving.