GuideLab API

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.

GET
/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.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

userId?string

Response Body

curl -X GET "https://example.com/user/avatar"
Empty
Empty
Empty
Empty