v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
organization

Check User Organizations

Check if the current user has any organization memberships.

This endpoint uses the Clerk backend API to get authoritative data about the user's organization memberships, bypassing frontend caching issues.

Returns: Dict with hasOrganizations (bool) and organizationCount (int)

get/api/check-user-organizations

Response

Successful Response

{"stackTrail":"paths:/api/check-user-organizations:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}