# Update client settings

`POST https://backend.estactics.com/api/clientsSettings/update`

Changes the client settings of your organization. Turning off `duplicateBehaviorEnabled` also clears the two related settings.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `clients.CONFIGURE_SETTINGS`.

## Body parameters

- `sendClientWelcomeEmail` (boolean): Send a welcome email to each new client.
- `duplicateBehaviorEnabled` (boolean): React when an existing client signs up again.
- `duplicateBehaviorSendEmailEnabled` (boolean): Email the owning agent when an existing client signs up again.
- `duplicateBehaviorChangeStageToId` (integer): Move a returning client to this stage.

## Example request body

```json
{
  "sendClientWelcomeEmail": true
}
```

## Example response

```json
{
  "success": true,
  "data": {
    "id": 1,
    "sendClientWelcomeEmail": true,
    "duplicateBehaviorEnabled": false,
    "duplicateBehaviorSendEmailEnabled": false,
    "duplicateBehaviorChangeStageToId": null
  }
}
```
