Repository navigation
Upload Avatar
Revadike edited this page Nov 5, 2026
·
1 revision
Uploads a new profile avatar.
No known rate limit
Authenticated: Yes
Method:
POSTHost:
steamcommunity.comPath:
/actions/FileUploaderForm Data:
Name Type Required Description sessionidstring Yes The value of the sessionidcookiesIdstring Yes The 64-bit SteamID of the profile typestring Yes The upload type, player_avatar_imagefor a profile avatardoSubnumber Yes Always 1jsonnumber Yes 1to receive a JSON response instead of the avatar editor pageavatarfile Yes The image file ( jpg,pngorgif)MAX_FILE_SIZEnumber No The size of avatarin bytes; the profile settings form sends1048576
Name Type Description successboolean Whether the request was successful imagesobject URLs of the stored avatar images images.0string URL of the small avatar images.fullstring URL of the full-size avatar images.mediumstring URL of the medium avatar hashstring The hash of the uploaded avatar messagestring The error message; empty when the request was successful Without
sessionidorsIdthe response body is the plain-text#Error_BadOrMissingSteamID.
Name Type Description successboolean Whether the request was successful imagesarray Empty when the upload was rejected hashstring nullwhen the upload was rejectedmessagestring The error message, e.g. No file received.
POST https://steamcommunity.com/actions/FileUploader
{
"success": true,
"images": {
"0": "https://avatars.fastly.steamstatic.com/91d0c8997dd7ff9005f6532490d47a7bf20e0167.jpg",
"full": "https://avatars.fastly.steamstatic.com/91d0c8997dd7ff9005f6532490d47a7bf20e0167_full.jpg",
"medium": "https://avatars.fastly.steamstatic.com/91d0c8997dd7ff9005f6532490d47a7bf20e0167_medium.jpg"
},
"hash": "91d0c8997dd7ff9005f6532490d47a7bf20e0167",
"message": ""
}