Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getGet Support Widget SettingspatchUpdate Support Widget Settings
SupportWidget

Get Support Widget Settings

View as MarkdownAgent setup

Returns Support widget settings in one payload: widget and AI-agent enabled flags, trusted domains, support mailbox, widget and email branding, launcher, and office hours. Credentials and notification recipients are managed separately in the dashboard.

GET
/projects/{projectId}/support/settings

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project whose Support settings to read.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/support/settings"
{  "emailAgentEnabled": true,  "enabled": true,  "widgetAgentEnabled": true,  "emailBranding": {    "emailAvatarUrl": "string",    "emailFooter": "string",    "emailFromName": "string",    "emailHeaderName": "string"  },  "launcher": {    "alignment": "left",    "customLauncherSelector": "string",    "hideDefaultLauncher": true,    "horizontalPadding": 0,    "launcherSize": "compact",    "verticalPadding": 0,    "zIndex": 0  },  "mailbox": {    "supportDomain": "string",    "supportLocalPart": "string"  },  "officeHours": {    "officeHoursEnabled": false,    "officeHoursSchedule": {      "property1": {        "close": "string",        "open": "string"      },      "property2": {        "close": "string",        "open": "string"      }    },    "officeHoursTimezone": "string",    "replyTime": "string"  },  "trustedDomains": [    "string"  ],  "widgetBranding": {    "agentLabel": "string",    "avatarUrl": "http://example.com",    "greeting": "string",    "suggestedQuestions": [      "string"    ],    "teamDescription": "string",    "workspaceName": "string"  }}

Save Knowledge Gap Article

Creates a draft Help Center article titled with the gap's detected topic and nothing else. The gap stays unanswered until that article is published. If the gap already has an article, returns that article instead of creating another.

Update Support Widget Settings

Updates Support widget settings in one save and returns the complete settings payload. Omitted fields, including nested fields, stay unchanged. Trusted domains replace the current list; entries must be bare hostnames. A support mailbox domain must belong to this project and be ready to send and receive. Null mailbox.supportDomain clears it. Set any launcher field to null to remove its saved override and restore the default; omitted launcher fields stay unchanged. Does not change credentials or notification recipients.