Workspaces
Workspaces are containers that organize resources within a business: workers, assistants, channels, identities, and more. Each workspace is isolated and can have its own API keys and members. A Business is an aggregation of multiple workspaces, allowing you to organize different projects, environments, or departments under a single business entity.Create Workspace
POST /workspace
Creates a new workspace and associates it with the authenticated user.
Request Body
string
required
Workspace name
string
Workspace description
Response
Success message
Update Workspace
PATCH /workspace/:workspace_id
Updates an existing workspace’s properties.
Workspace unique identifier
Request Body
string
Workspace name
string
Workspace description
Create API Key
POST /workspace/api-keys
Creates a new API key for a workspace with defined permissions.
Request Body
string
required
API key name/description
array
required
Array of permission strings (e.g., [“read”, “write”])
string
required
Workspace identifier
Response
Success message
Workspace Resources
A workspace contains:- Workers - Conversation handlers
- Assistants - AI entities
- Channels - Communication endpoints
- Identities - Contact aggregations
- Memory - Context storage
- Stages - Journey tracking
- Scheduled Tasks - Automation
Business and Workspaces
- Business - Top-level entity that aggregates multiple workspaces
- Workspace - Container for resources within a business
- Use workspaces to organize different projects, environments (dev/staging/prod), or departments
- All workspaces within a business share the same business-level settings and billing
