How to change a bot's profile picture

To change a bot's profile picture, you must have:

  • Administrative access
  • A png/jpg/gif that is 2MB or less
  • The ability to run API calls
  • The userid of the target BOT account

Note: Be sure to use a similar image to the base64 encoding tool to convert the image you want to set as the profile picture


If all the above criteria are met, run the below API to update the image:

curl -X POST \
https://<<REPLACE POD NAME>><<REPLACE USER ID>>/avatar/update \
-H "sessionToken: <<REPLACE SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{

Note: Update any tags with REPLACE with the correct information

You should see a response similar to the below if the change is successful:

"format": "TEXT",
"message": "OK"

If not, please review the API documentation or contact for more assistance.