/api/user/avatar

Get a base64 avatar image for the current user. This is the endpoint that you should use to get the avatar, as no other endpoint will include the avatar in the user object.

Info

This endpoint requires authentication.

GET
Request

Response

Status: 200 OK

Content-Type: text/plain

A base64 data URL.

Example

data:image/png;base64,...base64data...

Error Responses

  • 404 Not Found

    If the user does not have an avatar set.



Last updated: 5/28/2025
Edit this page on GitHub