Skip to main content
GET
Returns all organizations (businesses) that the authenticated user is a member of. Used for the business switcher toggle to allow users to switch between their different businesses. Each business is completely independent with its own:
  • Billing and subscription
  • Team members
  • Products and tracking data
  • Visibility scores

Authentication

Requires a valid Clerk JWT token in the Authorization header.

Response

array
List of businesses the user belongs to
integer
Total number of businesses

Business Object

Use Cases

  1. Business Switcher: Populate the dropdown showing all businesses a user can access
  2. Multi-tenant Dashboard: Allow users to manage multiple independent businesses
  3. Role-based Access: Show different UI based on user’s role in each org

Notes

  • A user can belong to multiple organizations
  • Each organization is billed separately
  • Switching between orgs is instant (no page reload needed)
  • New businesses are created via the onboarding flow with ?new=true parameter