Account

Read a personal avatar inside the authenticated app

GET
/api/account/avatars/{id}

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Path Parameters

id*string
Length1 <= length <= 100

Response Body

Private PNG, JPEG or WebP image

response?unknownapplication/octet-stream
Example Request
curl -X GET 'https://postbot.example/api/account/avatars/string'
Example Response
null

Was this page helpful?