Skip to main content
Back to Integration Docs
Enterprise Architectures

Organization, roles & multi-tenancy

Understand organization contexts, role-based access control and how requests are scoped to an organization.

1. Sub-account contexts

Enterprise platforms can manage distinct organization contexts. Sub-accounts act as isolated environments with separate API keys, consent configurations, custom clinical branding, and independent webhook targets. Team members can switch their active organization in the Console.

2. Role-based access control (RBAC)

Access permissions are securely evaluated against the user's active role. Scopes define the level of authorization:

System Roles & Authority Levels
RoleAccess LevelPermission Tags Checked
ownerFull account control and billing*
adminManage configs, invite clinicians, view full audit logscontracts:*, consent:*, invite:*
memberCreate/send signature requests, review intake statecontracts:view, consent:view, consent:sign

3. Inviting team members

Administrators and owners can invite doctors, clinical coordinators, or administrative representatives to their organization sub-accounts. Invitations trigger a secure onboarding email flow containing context-scoped invitation tokens.

4. Multi-Tenant Security & Isolation

Requests use the active organization context to scope access to resources:

API key scoping

Every generated API key maps uniquely to its creator organization ID. Intercepted request headers querying resources outside the matching company context automatically return standard authorization errors.

Request constraints

Data queries enforce organization boundary parameters on every transaction. Standard operations always filter queries by the authenticated organization context before executing read or write actions.

Organization boundaries

Organization lookup filters and CORS restrictions help control access to templates, signed agreements and webhook logs. Keep organization keys on your server and assign only the permissions each team member needs.