Serve a user avatar
Serve a user's avatar image from R2 storage. Defaults to the authenticated user. Accessible by self, members of shared organizations, and users in partnership-linked organizations.
Serve a user's avatar image from R2 storage. Defaults to the authenticated user. Accessible by self, members of shared organizations, and users in partnership-linked organizations.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
Response Body
curl -X GET "https://example.com/user/avatar"Remove a user avatar DELETE
Remove an avatar from storage and clear the image reference on the user record. Defaults to the authenticated user; organization owners and admins may pass `userId` for a non-owner member of the active organization.
Get notification preferences GET
Returns notification preferences for all categories and WhatsApp delivery readiness. Missing choices use defaults; saved choices are preserved.