---
title: "Atualizar configurações"
method: POST
path: "/settings"
tags: ["Settings"]
---

# Atualizar configurações

`POST /settings`

Atualiza as configurações da aplicação.

## Request body

- object
  - `merge` 'always' | 'never' | 'assistant' — Define quando o lead deve ser unificado com outros leads existentes. `always`: Leads com e-mails iguais sempre serão unificados `never`: Leads com e-mails iguais serão duplicados `assistant`: Leads com e-mails iguais serão unificados quando o assistente que capturou as informações for o mesmo

## Response `200`

Successful response

- object
  - `merge` 'always' | 'never' | 'assistant' — Define quando o lead deve ser unificado com outros leads existentes. `always`: Leads com e-mails iguais sempre serão unificados `never`: Leads com e-mails iguais serão duplicados `assistant`: Leads com e-mails iguais serão unificados quando o assistente que capturou as informações for o mesmo
  - `workspaceId` string, required — Identificador do workspace associado
  - `createdAt` string, date-time — Data de criação
  - `updatedAt` string, date-time — Data da última atualização

## Other responses

- `default` — Error response

## Changes

- **2026-07-31** `dfcdd52dd2ba` — 2 info
  - the `createdAt` response's property default value changed from `2026-07-27T16:42:07.580Z` to `2026-07-31T22:01:44.633Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-07-27T16:42:07.580Z` to `2026-07-31T22:01:44.633Z` for the status `200`
- **2026-07-27** `9934481d9fa2` — 2 info
  - the `createdAt` response's property default value changed from `2026-07-27T00:53:26.526Z` to `2026-07-27T16:42:07.580Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-07-27T00:53:26.526Z` to `2026-07-27T16:42:07.580Z` for the status `200`
- **2026-07-27** `aa7fb3f02636` — 2 info
  - the `createdAt` response's property default value changed from `2026-07-26T23:25:08.431Z` to `2026-07-27T00:53:26.526Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-07-26T23:25:08.431Z` to `2026-07-27T00:53:26.526Z` for the status `200`
- **2026-07-26** `e29ba32777b4` — 2 info
  - the `createdAt` response's property default value changed from `2026-07-26T23:04:46.519Z` to `2026-07-26T23:25:08.431Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-07-26T23:04:46.519Z` to `2026-07-26T23:25:08.431Z` for the status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/rdstationmentoria/apis/agents/changes/settings/post.md)

---

[API](https://skmtc.dev/rdstationmentoria/apis/agents.md) · [All operations](https://skmtc.dev/rdstationmentoria/apis/agents/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rdstationmentoria/agents/revisions/dfcdd52dd2ba/schema)
