Accounts
A customer container under your company — and the value behind X-Account-Id.
An account is one of your customers. Your company (the partner that owns the API key) can have many accounts — typically one per customer — and each account holds that customer’s organizations.
An account is the level at which you separate one customer from another. Everything below it — organizations, workspaces, documents, tools — belongs to exactly one account, so a customer’s data is isolated from every other customer’s.
You decide how customers are structured
A single customer (account) can have as many organizations as you give them — for example one per brand, region, or department. LumenOne does not impose a limit or a structure: we provide the API endpoints, and how you map your customers onto accounts and organizations — and any limits you want to enforce — is entirely your product decision.
Think of an account as “this customer” and its organizations as “the tenants that customer runs.” You are free to create one account per customer and one or many organizations under it, whatever fits your product.
The account id is X-Account-Id
Every account has an id (a UUID). That id is exactly the value you put in the X-Account-Id header to scope org- and workspace-level calls to a customer.
The same API key serves all your accounts; the header selects which customer a request applies to. An X-Account-Id that is not one of your accounts is rejected with 403. See Authentication.
What an account looks like
GET /v1/accounts/{accountId} returns:
The organizations themselves are listed by GET /v1/organizations (scoped by X-Account-Id) — the detail carries a count, not the list.
Lifecycle
Account list and create are partner-scoped: they act on your company directly and do not take an X-Account-Id header.
Deleting an account is destructive and irreversible — its organizations, workspaces, documents, tools, and integrations are all torn down. Delete with care.

