Skip to content
Last updated

Serve a user profile image by its file path.

GEThttps://api.aitronos.com/v1/user/profile/images/{file_path}

Retrieve and serve a user profile image file directly. The response is the raw image binary rather than a JSON object.

Path Parameters

file_path string required

The file path of the profile image to serve. This value is returned in the profile_image_url field of the user profile.


Returns

Returns the raw image binary with the appropriate Content-Type header (e.g., image/jpeg, image/png).

cURL
curl "https://api.aitronos.com/v1/user/profile/images/{file_path}" \
  -H "X-API-Key: $FREDDY_API_KEY" \
  --output avatar.jpg