/v1/auth/avatar
No authentication required.
Request
The request must be sent asmultipart/form-data.
The image file to upload. Common formats are accepted (JPEG, PNG, WebP). The original file extension is preserved in the stored filename.
Example
Response
true when the upload completed successfully.A public CDN URL pointing to the uploaded image. Store this value and include it in your subsequent registration request.
Error cases
| Status | Error | Description |
|---|---|---|
| 400 | No avatar file provided | The avatar field is missing from the form data. |
| 500 | Failed to upload avatar | An unexpected error occurred during upload. |