SupportWidget
Get Support Mailbox
Returns the support From address: the hostname and the local part. Does not return who is notified.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project whose support mailbox to fetch.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/support/mailbox"{
"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": []
}Update Widget Agent Enabled
Turns the support-widget AI agent on or off. When off, widget messages notify the team instead of the agent.
Get Trusted Domains
Returns the hostnames the Support widget is allowed to render on. Subdomains of a listed host are included. An empty list means the widget renders nowhere.