---
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-08-16** `dc5d4fd8d2c7` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-15T22:02:37.744Z` to `2026-08-16T17:01:39.972Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-15T22:02:37.744Z` to `2026-08-16T17:01:39.972Z` for the status `200`
- **2026-08-15** `136b614b97b4` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-15T03:02:15.802Z` to `2026-08-15T22:02:37.744Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-15T03:02:15.802Z` to `2026-08-15T22:02:37.744Z` for the status `200`
- **2026-08-15** `9acabace145f` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-14T08:02:27.696Z` to `2026-08-15T03:02:15.802Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-14T08:02:27.696Z` to `2026-08-15T03:02:15.802Z` for the status `200`
- **2026-08-14** `da7ad5fe7f41` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-13T13:01:54.084Z` to `2026-08-14T08:02:27.696Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-13T13:01:54.084Z` to `2026-08-14T08:02:27.696Z` 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/dc5d4fd8d2c7/schema)
