Update Widget Copy
Sets the visitor-facing widget copy. Omitted fields stay as they are. Does not change the avatar or the agent label.
Authorization
Authorization In: header
Path Parameters
ID of the project whose widget copy to update.
Request Body
application/json
Copy to merge. Omitted fields stay as they are.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://www.saasco.com/api/v2/projects/string/support/widget-copy" \ -H "Content-Type: application/json" \ -d '{ "widgetCopy": {} }'{
"greeting": "string",
"suggestedQuestions": [
"string"
],
"teamDescription": "string",
"workspaceName": "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 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.
List Conversations
Lists Support inbox conversations (chat and email) with a preview line and unread count, not the transcript. Filter by state; omitted `state` returns open conversations. `open` and `closed` exclude spam. `all` includes spam unless `includeSpam` is false. `spam` lists only quarantined threads.