Documentation

API URL


POST /user-avatar

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET /api/v1/user-avatar?api_key=YOUR_API_KEY&name=John Doe&size=300&bgColor=#007bff&shape=circle&format=svg

Successful Response

Status
HTML
200 OK
Body
Code
SVG image data with customized avatar based on provided parameters

Error Response

Example
Code
400 NO_FILE_UPLOADED – If POST /upload-icon receives no file
404 METADATA_NOT_FOUND – If metadata for a given name is not available
500 INTERNAL_SERVER_ERROR – On unexpected failures

Last Updated:  May 4, 2026