Build B2B applications with multi-tenant architecture, team management, role-based permissions, and organization-level features. Complete teams infrastructure via REST API.
Everything you need to build enterprise-ready SaaS applications with team collaboration and organization management.
Create and manage organizations with custom profiles, branding, and settings. Support unlimited companies per application.
Add members to organizations with flexible team structures. Support for departments, groups, and hierarchies.
Define custom roles with granular permissions. Control access at organization, team, and resource levels.
Invite users via email with customizable invitation flows. Support for domain-based auto-join and SSO.
Complete data isolation between organizations. Shared infrastructure with tenant-aware queries and APIs.
Per-organization billing and subscription management. Usage tracking, invoicing, and payment integration.
Build complete B2B features with just a few API calls. Create organizations, invite members, manage permissions, and handle multi-tenancy.
Automatic data scoping to current organization
Support for nested teams and departments
SAML and OIDC integration per organization
// Create an organization
const org = await client.companies.create({
name: 'Acme Corporation',
slug: 'acme',
ownerId: user.id,
settings: {
allowDomainJoin: true,
verifiedDomains: ['acme.com']
}
});
// Invite team members
await client.companies.inviteMembers(org.id, {
emails: ['alice@acme.com', 'bob@acme.com'],
role: 'member',
teamId: 'engineering'
});
// Create custom role
await client.companies.createRole(org.id, {
name: 'Project Manager',
permissions: [
'projects:read',
'projects:write',
'members:invite'
]
});From SaaS platforms to marketplaces, the Companies Block powers enterprise-grade team features at scale.
Build enterprise software with workspace isolation, team collaboration, and organization-level administration.
Create multi-vendor marketplaces with seller accounts, storefronts, and team-based management.
Manage multiple client accounts with separate access, branding, and team structures.
Add B2B features to your app in three simple steps
Set up organization accounts with custom branding, settings, and verified domains.
Add team members via email invitations, SSO, or domain-based auto-join.
Define roles and permissions to control what each member can see and do.
Start building your enterprise application today with the Companies Block. Free tier available.
Get product updates, engineering posts, and new block announcements delivered to your inbox.