---
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-31** `33c7da0c3605` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-31T00:02:54.134Z` to `2026-08-31T19:03:08.167Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-31T00:02:54.134Z` to `2026-08-31T19:03:08.167Z` for the status `200`
- **2026-08-31** `0d471dab1abe` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-30T05:01:58.557Z` to `2026-08-31T00:02:54.134Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-30T05:01:58.557Z` to `2026-08-31T00:02:54.134Z` for the status `200`
- **2026-08-30** `194a2377d1f9` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-29T10:01:56.360Z` to `2026-08-30T05:01:58.557Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-29T10:01:56.360Z` to `2026-08-30T05:01:58.557Z` for the status `200`
- **2026-08-29** `174c7f1687b9` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-28T15:02:27.626Z` to `2026-08-29T10:01:56.360Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-28T15:02:27.626Z` to `2026-08-29T10:01:56.360Z` 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/33c7da0c3605/schema)
