import { WorkspaceSwitcher, useMemberships } from "@hyperyai/sdk"
 
export function Nav() {
const { memberships } = useMemberships()
return <WorkspaceSwitcher />
}
 

teams

orgs, roles, and invites

group users into teams, assign roles, and control who can do what — without building an admin panel from scratch.

01

teams & orgs

group users into shared teams with pooled billing and limits.

02

owner / admin / member

three roles that gate settings, invites, and spending.

03

invites

send role-scoped invites; access applies the moment they join.

04

workspaces

switch context with <WorkspaceSwitcher /> and useMemberships.

05

access controls

role-based gating of every team surface and setting.

06

per-app limits

cap what each authorized app can spend on the team.

workspaces

switch context in one component

mount the switcher and read the active membership — hypery owns the team list, roles, and current-workspace state.

  • <WorkspaceSwitcher /> renders the full team picker
  • useMemberships() returns the user’s memberships and roles
  • the active workspace flows into billing and app-limit context
import { WorkspaceSwitcher, useMemberships } from "@hyperyai/sdk"
 
export function Nav() {
const { memberships } = useMemberships()
return <WorkspaceSwitcher />
}
 

authorized apps

users own their app access

because hypery is an oauth2 provider, every user gets a console for the third-party apps they’ve authorized — full transparency and one-click revoke.

01

see every authorized app

a list of every app the user granted, with its scopes.

02

per-app spending limits

set or tighten each app’s cap from the same console.

03

active sessions

view and sign out sessions across devices.

04

revoke oauth tokens

kill any app’s access and refresh tokens in one click.

faq

questions

what roles are there?

each team has owner, admin, and member roles. owners and admins manage invites, roles, and spending limits; members use the workspace within those limits.

how do users switch between teams?

drop in <WorkspaceSwitcher /> and read the current context with useMemberships. the switcher moves the user between their workspaces without a reload.

can end users see and revoke the apps they authorized?

yes. every user gets an authorized-apps console listing each app they granted, its scopes and per-app limit, and its active sessions and oauth tokens — with one-click revoke.

how do i invite teammates?

owners and admins send invites from the team settings; accepted invites join the team with a role you assign, and access controls apply immediately.

get started

give users control, not tickets

ship teams, roles, and a self-serve authorized-apps console without building the admin surface yourself.

$npm install @hyperyai/sdk