Skip to main content

List organizations

Organizations the current user belongs to. Not a Studio and not followable. Requires a Bearer session.
1 min read
get/organizations
Request example
Response
get/organizations

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
namestringrequired#
handlestring#
URL slug when set; omitted when the org has no reserved handle yet.
ownerIdstringrequired#
roleenum<string>required#
Options:owneradminmember
memberCountintegerrequired#
profileCountintegerrequired#
canManagebooleanrequired#