Hi and welcome to the Forum
We don’t have official documentation on this out yet, but you can use the following POST request to achieve it:
{
"data": {
"userId": {rpmUserId}
"partner": "{theirSubdomain}",
"bodyType": "fullbody"
"base64Image: {base64EncodedSelfie},
"gender": {optionalGender},
"assets": {
"outfit": "{assetID}"
}
}
}
Please note that the POST will only create the avatar draft, to actually use the avatar you need to save it too, by using PUT [https://api.readyplayer.me/v2/avatars/{avatarId}