Retrieve your organization memberships, active organization context, full org bundle, user profile, and the combined menu-core payload for navigation.
The workspace membership endpoints give you read access to everything your authenticated user belongs to: which organizations you are a member of, which one is currently active, a full bundle of a single org’s data, and your own user profile. These are the endpoints that power the Safeclose navigation shell — you can call them directly to bootstrap your integration or to validate membership state before executing org-scoped actions.All endpoints require a valid Bearer token. See Authenticate requests for details.
Returns every organization the authenticated user is an active member of. Each item in the array combines the membership record, the organization it belongs to (including billing account and counts), and the role assigned to you.
Returns the ID of the organization currently marked active for your session. Safeclose resolves this by looking up the activeOrganizationId stored in your user profile and confirming that you are still an active member. If the stored value is stale (e.g., you were removed), the API clears it and falls back to the first organization in your membership list, alphabetically. Returns null if you have no active memberships.
Returns the ID and display name of the currently active organization. Convenient when you only need to show the org name in a header or breadcrumb without loading full membership data.
Returns the complete data bundle for a single organization: the full org record (including billing and branding), all locations ordered by sortOrder, all roles ordered by slug, and all members ordered by createdAt. Also includes your own membership and role within the org.Use this endpoint to populate organization settings screens or to inspect the full permission set for a given org before performing actions.
This endpoint returns 404 if you are not an active member of the requested organization. You cannot use it to inspect orgs you have not joined.
Returns your user profile record, or null if no profile has been created yet. A profile is automatically provisioned the first time you create or join an organization, or when you call the upsertUserProfile action.
Returns your user profile, the full memberships array, and the active organization ID in a single request. This is the same data that powers the Safeclose navigation shell, fetched in parallel from the three underlying sources. Use this endpoint to bootstrap a client application or to hydrate server-side rendering in a single round trip.