User avatars

Get user avatar

Changed on

Retrieves an image of a the user's avatar.

get/users/{user_id}/avatar

Request

  • Base URL
    https://api.box.com/2.0
  • URL
    https://api.box.com/2.0/users/{user_id}/avatar
  • Auth
    OAuth 2
    Authorization code: https://account.box.com/api/oauth2/authorize
    Token URL: https://api.box.com/oauth2/token

Path parameters

user_idstring required

The ID of the user.

Response

When an avatar can be found for the user the image data will be returned in the body of the response.

Changes

    • warning

      added the new unprocessable_entity enum value to the response property for the response status