Settings
Tags: business-hours, configuration, settings, workspace
Workspace configuration and settings management
In the product: Workspace Settings
Resources
Request and response models used by the endpoints on this page.
BusinessHoursStatusResponse
| Field | Type | Required | Description |
|---|---|---|---|
isBusinessHours | Boolean | ✓ |
Example:
{
"isBusinessHours": false // Boolean
}
UpdateWorkspaceDefaultsRequest
| Field | Type | Required | Description |
|---|---|---|---|
defaultAgentId | Integer | ||
defaultPhoneNumberId | Integer | ||
emailFooter | String | ||
enableAudioRecording | Boolean | ||
enableVoicemailDetection | Boolean | ||
escalationBusinessHours | String | ||
escalationNotifiedMessageTemplate | String | ||
escalationOfflineMessageTemplate | String | ||
escalationOnlineMessageTemplate | String | ||
escalationPausedMessageTemplate | String | ||
pauseOnEscalate | Boolean | ||
transcriptionModel | String |
Example:
{
"defaultPhoneNumberId": 0 // Integer, optional,
"defaultAgentId": 0 // Integer, optional,
"escalationBusinessHours": "string" // String, optional,
"escalationOnlineMessageTemplate": "string" // String, optional,
"escalationOfflineMessageTemplate": "string" // String, optional,
"escalationNotifiedMessageTemplate": "string" // String, optional,
"escalationPausedMessageTemplate": "string" // String, optional,
"emailFooter": "string" // String, optional,
"pauseOnEscalate": false // Boolean, optional,
"enableAudioRecording": false // Boolean, optional,
"enableVoicemailDetection": false // Boolean, optional,
"transcriptionModel": "string" // String, optional
}
WorkspaceSettingsResponse
| Field | Type | Required | Description |
|---|---|---|---|
defaultAgentId | Integer | ✓ | |
defaultChatModel | String | ✓ | |
defaultInferenceModel | String | ✓ | |
defaultPhoneNumberId | Integer | ✓ | |
defaultRealtimeModel | String | ✓ | |
defaultVoiceModel | String | ✓ | |
emailFooter | String | ✓ | |
enableAudioRecording | Boolean | ✓ | |
enableVoicemailDetection | Boolean | ✓ | |
escalationBusinessHours | String | ✓ | |
escalationNotifiedMessageTemplate | String | ✓ | |
escalationOfflineMessageTemplate | String | ✓ | |
escalationOnlineMessageTemplate | String | ✓ | |
escalationPausedMessageTemplate | String | ✓ | |
firstRunMode | String | ||
id | Integer | ✓ | |
pauseOnEscalate | Boolean | ✓ | |
sesDomain | String | ✓ | |
slug | String | ✓ | |
transcriptionModel | String | ||
workspaceFolderId | Integer |
Example:
{
"id": 0 // Integer,
"slug": "string" // String,
"defaultPhoneNumberId": 0 // Integer,
"defaultAgentId": 0 // Integer,
"workspaceFolderId": 0 // Integer, optional,
"escalationBusinessHours": "string" // String,
"escalationOnlineMessageTemplate": "string" // String,
"escalationOfflineMessageTemplate": "string" // String,
"escalationNotifiedMessageTemplate": "string" // String,
"escalationPausedMessageTemplate": "string" // String,
"emailFooter": "string" // String,
"pauseOnEscalate": false // Boolean,
"sesDomain": "string" // String,
"enableAudioRecording": false // Boolean,
"enableVoicemailDetection": false // Boolean,
"transcriptionModel": "string" // String, optional,
"defaultChatModel": "string" // String,
"defaultRealtimeModel": "string" // String,
"defaultInferenceModel": "string" // String,
"defaultVoiceModel": "string" // String,
"firstRunMode": "string" // String, optional
}
Endpoints
GET /api/v2/w/{workspace_uuid}/business-hours-status- Business Hours StatusGET /api/v2/w/{workspace_uuid}/defaults- DefaultsPUT /api/v2/w/{workspace_uuid}/defaults- Update DefaultsGET /api/v2/w/{workspace_uuid}/first-run-state- First Run StatePUT /api/v2/w/{workspace_uuid}/first-run-state- Update First Run State
Business Hours Status
GET /api/v2/w/{workspace_uuid}/business-hours-status
Description:
Get current business hours status
Get the current business hours status for the workspace.
Authorization: Requires workspace:read scope
Response: See BusinessHoursStatusResponse
Defaults
GET /api/v2/w/{workspace_uuid}/defaults
Description:
Get workspace default settings
Get the default settings for a workspace.
If no settings row exists yet, returns workspace defaults. The row is created on the first update.
Authorization: Requires workspace:read scope
Response: See WorkspaceSettingsResponse
Update Defaults
PUT /api/v2/w/{workspace_uuid}/defaults
Description:
Update workspace default settings
Update default settings for a workspace.
Authorization: Requires workspace:write scope
Parameters:
request- See UpdateWorkspaceDefaultsRequest
Response: See WorkspaceSettingsResponse
First Run State
GET /api/v2/w/{workspace_uuid}/first-run-state
Authorization: Requires workspace:read scope
Response: See FirstRunState
Update First Run State
PUT /api/v2/w/{workspace_uuid}/first-run-state
Authorization: Requires workspace:write scope
Parameters:
request(FirstRunState)
Response: See FirstRunState