# /public/avatars/{id} - Get user avatar image **GET /public/avatars/{id}** Serves a user's avatar image as binary data. This endpoint is public and requires no authentication. Returns the image with appropriate Content-Type header and browser caching headers. ## Servers - Backend API server (port 8080): https://api.your-domain.com/api (Backend API server (port 8080)) - Collect API server (port 8081): https://collect.your-domain.com/api (Collect API server (port 8081)) ## Parameters ### Path parameters - **id** (string) User Logto ID or local database ID ## Responses ### 200 Avatar image binary #### Headers - **Cache-Control** (string) #### Body: image/png (string(binary)) string(binary) ### 404 Resource not found #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) [Powered by Bump.sh](https://bump.sh)