⌘K
DocsDeveloper reference

Organizations & teams

Who you are, which organizations you belong to, and which one you act in.

Check who you are

Returns the authenticated user and the organization your credentials act in — the first call to make when wiring up any integration.

spaceboy whoami

List your organizations

Every organization your user belongs to, with plan and project counts.

spaceboy orgs list

Create an organization

Creates a new organization on the Free plan and makes it your default. Types: personal, educational, startup, agency, company.

spaceboy orgs create --name "Acme" --type startup

Act in another organization

Credentials act in their home organization by default; name another one you belong to per command, per request, or per client.

spaceboy orgs use acct_... # set the default org
SPACEBOY_ACCOUNT=acct_... spaceboy projects list # or per invocation
Team roles and invites