Organizations

Update escalation settings

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

Updates maxUnresolvedChatsPerAgent (non-negative integer; 0 means no limit). 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/escalation-settings" \  -H "Content-Type: application/json" \  -d '{    "maxUnresolvedChatsPerAgent": 5  }'
{  "success": true,  "message": "Escalation settings updated",  "data": {    "maxUnresolvedChatsPerAgent": 5  }}