Skip to content

Update a workspace

PATCH
/api/workspaces/{workspaceId}

Updates a workspace. Only the fields you include are changed; omitted fields are left untouched. Several fields accept an explicit null to clear a previously set value. The brand a workspace belongs to cannot be changed.

workspaceId
required
string format: uuid

The unique identifier of the workspace to update.

object
name

Updated display name.

string
>= 1 characters
Example
DACH Region
country

Updated ISO 3166-1 alpha-2 country code.

string
>= 2 characters <= 2 characters
Example
AT
operatingLanguage

Updated operating language. Must be enabled and permitted by the brand.

string
>= 2 characters <= 35 characters
Example
de
currency

Updated ISO 4217 currency code.

string
>= 3 characters <= 3 characters
Example
EUR
legalName

Updated legal name.

string
>= 1 characters
Example
Acme DACH GmbH
status

Updated lifecycle status.

string
Allowed values: active inactive archived
Example
active
customerType

Updated customer type.

string
Allowed values: b2b b2c mixed
Example
b2b
companyNumber

Updated company registration number. Send null to clear.

string | null
<= 50 characters
Example
HRB 12345
vatNumber

Updated VAT number. Send null to clear.

string | null
<= 50 characters
Example
DE123456789
legalAddress

Updated legal address. Send null to clear.

object | null
supportEmail

Updated support email. Send null to clear.

string | null format: email
Example
support@acme.example
supportPhone

Updated support phone. Send null to clear.

string | null
<= 50 characters
Example
+49 30 1234567
websiteUrl

Updated website URL. Send null to clear.

string | null format: uri
Example
https://acme.example
emailSignatureHtml

Updated HTML signature. Send null to clear.

string | null
emailSignatureText

Updated plain-text signature. Send null to clear.

string | null
voiceGreeting

Updated voice greeting. Send null to clear.

string | null
<= 2000 characters
workspaceInstructions

Updated workspace instructions. Send null to clear.

string | null
learningLoopConfig

Learning-loop configuration for this workspace.

object
enabled
required

Whether the learning loop is enabled.

boolean
Example
true
humanOnlyFilter
required

Whether to restrict learning to human-managed conversations.

boolean
Example
true
agentFollowUpConfig

Automated follow-up configuration for this workspace.

object
enabled
required

Whether automated follow-ups are enabled.

boolean
Example
true
maxPerConversation
required

Maximum follow-ups per conversation.

integer
>= 1 <= 20
Example
3
maxHorizonHours
required

Maximum horizon in hours for a follow-up.

integer
>= 1 <= 8760
Example
168
openingHours

The workspace opening hours. When any ranges are provided, a timezone is required.

object
timezone

IANA timezone identifier for the opening hours.

string
>= 1 characters <= 50 characters
Example
Europe/Berlin
hours
required

The opening-hour ranges. Defaults to an empty list.

Array<object>
object
days
required

The days this range applies to.

Array<string>
>= 1 items
Allowed values: sun mon tue wed thu fri sat
Example
[
"mon",
"tue",
"wed",
"thu",
"fri"
]
open
required

Opening time in 24-hour HH:MM format.

string
Example
09:00
close
required

Closing time in 24-hour HH:MM format.

string
Example
17:00

The workspace was updated.

A workspace is an operational unit within a brand, typically representing a region, business unit, or product line. Conversations, knowledge base entries, policies, and channels are all scoped to a workspace.

object
id
required

Unique identifier for the workspace.

string format: uuid
Example
w1a2b3c4-5678-9abc-def0-1234567890ab
tenantId
required

The tenant this workspace belongs to.

string format: uuid
Example
a0b1c2d3-4567-89ab-cdef-0123456789ab
brandId
required

The brand this workspace operates under. Determines tone, sender identity, and email templates.

string format: uuid
Example
b1a2c3d4-5678-9abc-def0-1234567890ab
name
required

Display name of the workspace.

string
Example
DACH Region
country
required

ISO 3166-1 alpha-2 country code for this workspace’s primary operating region. Affects currency defaults and compliance.

string
Example
DE
operatingLanguage
required

The primary language the AI uses when communicating in this workspace. ISO 639-1 code.

string
Example
de
currency
required

ISO 4217 currency code used for financial references in this workspace.

string
Example
EUR
workspaceType
required

Whether this workspace handles business-to-business or business-to-consumer conversations. Affects contact resolution, account enrichment, and AI behavior.

string
Allowed values: b2b b2c
Example
b2b
workspaceInstructions

Free-text instructions specific to this workspace. These are combined with brand instructions to guide the AI. Use for workspace-specific rules like regional regulations or product-specific guidance.

string | null
Example
All prices must include VAT. Refer customers to the German returns policy for DACH orders.
emailSignatureHtml

Workspace-level HTML email signature. Overrides the brand-level signature when set.

string | null
Example
<p>Freundliche Gruesse,<br>Ihr Acme DACH Team</p>
emailSignatureText

Workspace-level plain-text email signature. Overrides the brand-level signature when set.

string | null
Example
Freundliche Gruesse,
Ihr Acme DACH Team
createdAt
required

Timestamp when the workspace was created.

string format: date-time
Example
2026-01-20T10:00:00.000Z
updatedAt
required

Timestamp when the workspace was last updated.

string format: date-time
Example
2026-03-01T16:45:00.000Z

No workspace exists with the given ID in the authenticated tenant.

Standard error response returned by all endpoints on failure.

object
error
required

A human-readable error message describing what went wrong.

string
Example
Conversation not found

Validation error. One or more required fields are missing or invalid.

Standard error response returned by all endpoints on failure.

object
error
required

A human-readable error message describing what went wrong.

string
Example
Conversation not found