Skip to main content
GET
List the authenticated user's active org memberships

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Array of active memberships (may be empty)

orgId
string
required

Organization ID

Example:

"org-abc123"

orgName
string
required

Organization display name

Example:

"Acme Corp"

role
enum<string>
required

Role of the authenticated user in this organization

Available options:
Admin,
Member
Example:

"Member"

orgType
enum<string>
required

Organization type

Available options:
Premium,
Enterprise,
Lapsed,
Other
Example:

"Lapsed"

isAdmin
boolean
required

Whether the user is an admin of this organization

Example:

false

hasSubscriptionHistory
boolean
required

True when the org has at least one organizationSubscription row — i.e. the org has previously been associated with a paid tier (active, past_due, trialing, lapsed, or canceled). Combined with orgType === Lapsed it distinguishes "subscription expired" (block resource creation) from "free org that never subscribed" (allow within free caps).

Example:

false

group
object | null

The caller's active group in this org plus its shared team budget, so a buyer/agent can see the team cap before spending. null when the caller belongs to no active group.