Get authenticated user


Retrieves information about the user who is currently authenticated.

In the case of a 3-legged OAuth2, client-side authenticated application this will be the user who authorized the app.

In the case of a JWT, server-side authenticated application this will be the service account that belongs to the application by default.

Use the As-User header to change who this API call is made on behalf of.



Query Parameters

string arrayin queryoptional

A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.

Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.



Returns a single user object.

You can now try out some of our APIs live, right here in the documentation.
Log In

Request Example

curl -X GET \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
BoxUser currentUser = await client.UsersManager.GetCurrentUserInformationAsync();
BoxUser user = BoxUser.getCurrentUser(api);
BoxUser.Info info = user.getInfo();
current_user = client.user().get()
	.then(currentUser => {
		/* currentUser -> {
            type: 'user',
            id: '33333',
            name: 'Example User',
            login: '',
            created_at: '2012-03-26T15:43:07-07:00',
            modified_at: '2012-12-12T11:34:29-08:00',
            language: 'en',
            space_amount: 5368709120,
            space_used: 2377016,
            max_upload_size: 262144000,
            status: 'active',
            job_title: 'Employee',
            phone: '5555555555',
            address: '555 Office Drive',
            avatar_url: '' }

Response Example

  "id": 11446498,
  "type": "user",
  "name": "Aaron Levie",
  "login": "",
  "created_at": "2012-12-12T10:53:43-08:00",
  "modified_at": "2012-12-12T10:53:43-08:00",
  "language": "en",
  "timezone": "Africa/Bujumbura",
  "space_amount": 11345156112,
  "space_used": 1237009912,
  "max_upload_size": 2147483648,
  "status": "active",
  "job_title": "CEO",
  "phone": 6509241374,
  "address": "900 Jefferson Ave, Redwood City, CA 94063",
  "avatar_url": "",
  "role": "admin",
  "tracking_codes": [
      "type": "tracking_code",
      "name": "department",
      "value": "Sales"
  "can_see_managed_users": true,
  "is_sync_enabled": true,
  "is_external_collab_restricted": true,
  "is_exempt_from_device_limits": true,
  "is_exempt_from_login_verification": true,
  "enterprise": {
    "id": 11446498,
    "type": "enterprise",
    "name": "Acme Inc."
  "my_tags": [
  "hostname": "",
  "is_platform_access_only": true,
  "external_app_user_id": "my-user-1234",
  "notification_email": {
    "email": "",
    "is_confirmed": true