---
title: "Update"
method: POST
path: "/leads/update"
---

# Update

`POST /leads/update`

Atualiza um lead

## Headers

- `instance-token` string, required

## Request body

- object
  - `instanceId` string, required — Código da instância
  - `leadId` string, required — Id do lead
  - `name` string, required — Nome personalizado
  - `metadata` string, json — Informações adicionais. Exemplo: {"cpf":"480.708.520-46", "obs":"observações"}

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/chatpro/apis/api-do-chat.md) · [All operations](https://skmtc.dev/chatpro/apis/api-do-chat/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chatpro/api-do-chat/revisions/4e86e2befb06/schema)
