Accountmaker Docs
Features

Applications

Service boundaries and user namespaces in the alternating Application → Account hierarchy.

applications hierarchy isolation permissions

Applications

Applications define service boundaries and user namespaces. Every user, client, and merchant belongs to an Application. Accounts live under Applications and represent billing/team boundaries.

The hierarchy alternates:

Application → Account → Application → Account

That means each Application is its own user namespace. The same email can exist in multiple Applications without conflict.

Why This Matters

  • User creation happens in the parent Application of the target Account.
  • Access tokens carry the Application and Account context, not a separate namespace claim.
  • Isolation is enforced by Application boundaries and account memberships.

Example Hierarchy

app_platform
  └─ acc_alice
       └─ app_taskflow
            └─ acc_bob
  • app_platform owns Alice as a user.
  • app_taskflow owns Bob as a user.
  • acc_bob is billed under app_taskflow.

Application Operations

OperationEndpointDescription
CreatePOST /api/accounts/:account_id/applicationsCreate application under account
ListGET /api/accounts/:account_id/applicationsList applications under account
GetGET /api/applications/:application_idRetrieve application details
UpdatePATCH /api/applications/:application_idModify application settings
DeleteDELETE /api/applications/:application_idRemove application

Token Claims

Tokens include application and account context:

{
  "app": "app_root",
  "acc": "acc_child456",
  "uid": "uid_789",
  "role": "member"
}