Organizations

Update webchat settings

PUT
/api/organizations/{organizationId}/webchat-settings

Partially updates showSenderNameInWebchat and/or aiAssistantName on the organization. Admin can update own org; SuperAdmin can update any org.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/organizations/string/webchat-settings" \  -H "Content-Type: application/json" \  -d '{    "showSenderNameInWebchat": true,    "aiAssistantName": "Acme Assistant"  }'
{  "success": true,  "message": "Webchat settings updated",  "data": {    "showSenderNameInWebchat": true,    "aiAssistantName": "Acme Assistant"  }}