Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up SupportWrite the widget copy
getGet Widget EnabledpatchUpdate Widget EnabledgetGet Email Agent EnabledgetGet Widget Agent EnabledpatchUpdate Email Agent EnabledpatchUpdate Widget Agent EnabledgetGet Support MailboxgetGet Trusted DomainsgetGet Widget CopyputUpdate Support MailboxputUpdate Trusted DomainspatchUpdate Widget Copy
Set up ShortlinksCreate short linksSet up Social ProofSocial Proof templatesSet up FeedbackDraft feedback postsSet up ChangelogDraft changelog entriesSet up DisputesSet up Benchmarks
SupportWidget

Update Support Mailbox

Sets the support From address. The hostname must already receive mail. Does not change who is notified. Null supportDomain clears the hostname.

PUT
/projects/{projectId}/support/mailbox

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project whose support mailbox to set.

Request Body

application/json

supportDomainrequiredstring | null

Hostname that receives support mail, already activated for receiving. Null clears it.

supportLocalPartstring

Local part of the From address, such as support. Omit to leave the current one.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://www.saasco.com/api/v2/projects/string/support/mailbox" \  -H "Content-Type: application/json" \  -d '{    "supportDomain": "string"  }'
{
  "supportDomain": "string",
  "supportLocalPart": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Get Widget Copy

Returns the visitor-facing widget copy: workspace name, greeting, team description, and suggested questions.

Update Trusted Domains

Replaces the hostnames the Support widget is allowed to render on. Entries are bare hostnames such as example.com, with no scheme, path, or wildcard. Subdomains of a listed host are included.