This endpoint allows an authenticated user to update their profile avatar. The avatar payload must be compatible with aaavatars project.
Request
Body Params application/json
{
"data": {
"topType": "LongHairMiaWallace",
"accessoriesType": "Medal04",
"hairColor": "Blonde",
"facialHairType": "Blank",
"clotheType": "ShirtVNeck",
"eyeType": "StarStruck06",
"eyebrowType": "UpDownNatural",
"mouthType": "Default",
"skinColor": "Tanned",
"clotheColor": "Blue01",
"facialHairColor": "Black",
"background": "blank",
"frame": "Blank"
}
}
Request Code Samples
curl --location --request POST 'https://admin.letschat.ch/api/profile/avatar' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"topType": "LongHairMiaWallace",
"accessoriesType": "Medal04",
"hairColor": "Blonde",
"facialHairType": "Blank",
"clotheType": "ShirtVNeck",
"eyeType": "StarStruck06",
"eyebrowType": "UpDownNatural",
"mouthType": "Default",
"skinColor": "Tanned",
"clotheColor": "Blue01",
"facialHairColor": "Black",
"background": "blank",
"frame": "Blank"
}
}'
Responses
application/json {
"message": "AVATAR_HAS_BEEN_UPDATED"
}
Modified at 2025-05-22 11:20:16