Title: User Plus &#8211; upload avatar
Last modified: November 27, 2018

---

# User Plus – upload avatar

 *  Resolved [adobeid](https://wordpress.org/support/users/adobeid/)
 * (@adobeid)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/user-plus-upload-avatar/)
 * Hi,
 * I am trying to upload the user’s avatar but the [documentation](https://www.parorrey.com/solutions/json-api-user-plus/)
   is not detailed about that.
 * This is what I found:
 * > Method: avatar_upload
   >  This endpoint is used to upload BuddyPress avatar for
   > user profile. You must POST the form with avatar image in file upload field
   > var with other required and optional variables as hidden fields.
   > Required argument
   >  cookie avatar – file upload type var key – get API key from
   > Settings > User Plus Optional arguments full – BuddyPress avatar width and 
   > height (default is BP_AVATAR_FULL_WIDTH or 300). thumb – BuddyPress avatar 
   > width and height (default is BP_AVATAR_THUMB_WIDTH or 100). Example [http://localhost/api/userplus/avatar_upload/](http://localhost/api/userplus/avatar_upload/)
 * In an old topic about that I found that the solution is to use “attachment” instead
   of “avatar” but it still doesn’t work, so my request is to have a complete description
   about this service.
 * Thanks 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/user-plus-upload-avatar/#post-10921697)
 * plz send me email. [https://www.parorrey.com/contact/](https://www.parorrey.com/contact/)

Viewing 1 replies (of 1 total)

The topic ‘User Plus – upload avatar’ is closed to new replies.

 * ![](https://ps.w.org/json-api-user/assets/icon-256x256.png?rev=1965790)
 * [JSON API User](https://wordpress.org/plugins/json-api-user/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-user/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-user/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-user/reviews/)

## Tags

 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/user-plus-upload-avatar/#post-10921697)
 * Status: resolved