capabilities.work

Set a user's avatar from an upload

One step with Discourse. We can help you get access.

Get something done

Set a user's avatar from an upload

Use Discourse: its Discourse API Documentation Users API lets you set a user's avatar from an upload in a single step (PUT /u/{username}/preferences/avatar/pick.json). capabilities.work can help you get signed up and connected.

  • How do I set a user's profile picture from an uploaded image?
  • Can I choose the avatar type when setting it?
Say it to your AI assistant
  • Set {username}'s avatar to upload {upload_id} of type {type}.
  • Use upload {upload_id} as {username}'s avatar with type {type}.
For your developer

PUT /u/{username}/preferences/avatar/pick.json in Discourse API Documentation Users API. Full spec on APIs.io.