download=true to instead receive the raw PNG binary directly in the response body, which is useful for displaying the avatar without an extra round trip to the Roblox CDN.
This endpoint only works for your own account. The authenticated session must belong to the same
userId in the path. Requests are rate-limited to 5 per minute.Endpoint
Path Parameters
string
required
The Snowflake ID of the user whose avatar you want to retrieve. Must match the authenticated user’s ID.
Query Parameters
string
Pass
true to receive the avatar image as raw PNG binary (Content-Type: image/png) instead of a JSON response with an image URL.Response
Whendownload is omitted or not true, the response is a JSON object:
string
A URL pointing to the user’s full-body Roblox avatar image hosted on the Roblox CDN, at 720×720 resolution in PNG format.
download=true, the response body is raw PNG binary with Content-Type: image/png.
Example Request (JSON URL)
Example Response (JSON URL)
Example Request (Binary Download)
download=true, the response body is the raw PNG file with no JSON envelope.
