origin_owner_id field is your key to segmenting accounts by owner.
How customers stay isolated
- Linked accounts keep each customer’s credentials separate. You target a specific account when making a request, so one customer’s data never crosses into another’s.
- Connector profiles define the connectors and auth available to your customers. You can run multiple profiles per connector — for example, your own OAuth app for some customers and API-key auth for others.
- Projects isolate at a higher level. Use separate projects when customers need different regions, environments, or API keys.
Identifying the client on each account
Every linked account carries the origin owner fields set when the account is linked — whether through the dashboard’s Link Account flow, the Hub, or a connect session:- Origin Owner ID (
origin_owner_id) — your identifier for the client’s organization. This is how StackOne knows which of your clients an account belongs to. - Origin Owner Name (
origin_owner_name) — a human-readable name stored against the account, used across the dashboard (for example, the Account filter in Request Logs). - Origin Username (
origin_username, optional) — the end-user’s username, e.g. an email address.
origin_owner_id + origin_owner_name + provider combination decides whether linking creates a new account or updates an existing one — see New or existing account.
Provisioning at scale
Onboarding a new customer doesn’t require manual setup per account. Configure each connector once in the project, and new customers link themselves against it.For account-region requirements or a setup serving many customers, talk to your StackOne account manager about the right project structure.
List accounts by owner
Use theGET /accounts endpoint with the origin_owner_id query parameter to filter accounts for a specific customer:
- cURL
- Python
- TypeScript SDK
origin_owner_id, origin_owner_name, provider, and status. See the List Accounts API reference for the full response schema.
Available filters
Combine filters to narrow down results:Build an owner dashboard
Here’s how to build a dashboard showing each customer’s connected accounts:- Python
- TypeScript SDK
Monitor account health
Track the health of your customers’ connected accounts, usinggetOwnerIntegrations from the previous section:
- Python
- TypeScript SDK
Webhooks for account changes
Instead of polling, subscribe to the account lifecycle events —account.created, account.updated, and account.deleted — to keep your system in sync as customers connect and disconnect tools. See Platform Events for the payloads and Webhooks for setup.
Related
Connect Session
Set the origin owner fields when your customers link their accounts.
Handle Account Events
React in your backend as customers connect, re-authenticate, or disconnect.
Organizations & Projects
Isolate customers at the project level — regions, environments, API keys.
List Accounts API
Full API reference for listing accounts.