GuideLab API

List current user's memberships

List all organizations the current user is a member of, including role, type, and logo. Used for org switching.

GET
/organization/my-memberships

List all organizations the current user is a member of, including role, type, and logo. Used for org switching.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Response Body

application/json

curl -X GET "https://example.com/organization/my-memberships"
{  "memberships": [    {      "organizationId": "string",      "organizationName": "string",      "organizationType": "string",      "slug": "string",      "logo": "string",      "city": "string",      "role": "string"    }  ]}
Empty
Empty