Account

Replace the signed-in user avatar

POST
/api/account/avatar

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

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

Request Body

body*unknownapplication/octet-stream

Response Body

Updated personal image URL

Example Request
curl -X POST 'https://postbot.example/api/account/avatar'
Example Response
Empty

Was this page helpful?