Skip to main content
GET
Get the organization info for a user

Authorizations

Authorization
string
header
required

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

Path Parameters

userId
string
required

The Nevermined user id to look up. Must match the authenticated caller.

Example:

"user-abc123"

Query Parameters

environment
enum<string>

Which Stripe account to surface on the organization record.

Available options:
live,
sandbox
orgId
string

Workspace selection from the webapp switcher. When provided, returns the membership for this specific org; when omitted, falls back to the most-recent active membership.

Example:

"org-abc123"

Response

User organization info returned