API aberta · Clientes
Alterar anotação do cliente
patch
/api/open/v1/clients/{id}/notes/{noteId}Em resumo
PATCH /api/open/v1/clients/{id}/notes/{noteId}- Precisa de chave
read_write. - Obrigatórios:
id,noteId. - Sucesso:
200.
AuthorizationstringheaderobrigatórioChave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read_write.
idstringobrigatórioId do registro (UUID).
noteIdstringobrigatórioId de note (UUID).
Corpo
application/jsontextstringTexto.
1 a 2000 caracteres
pinnedbooleanFixado no topo.
Resposta 200
application/jsonidstring<uuid>obrigatórioIdentificador único (UUID).
textstringobrigatórioTexto.
pinnedbooleanobrigatórioFixado no topo.
authorNamestringpode ser nuloobrigatórioNome de author (só leitura).
createdAtstring<date-time>obrigatórioData e hora em que foi criado (ISO 8601, UTC).
updatedAtstring<date-time>obrigatórioData e hora em que foi atualizado (ISO 8601, UTC).
curl --request PATCH \
--url 'https://qa-tratow.ips.app.br/api/open/v1/clients/{id}/notes/{noteId}' \
--header 'Authorization: Bearer <chave>' \
--header 'Content-Type: application/json' \
--data '{
"text": "texto",
"pinned": true
}'{
"id": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"text": "texto",
"pinned": true,
"authorName": "texto",
"createdAt": "2026-11-03T17:30:00.000Z",
"updatedAt": "2026-11-03T17:30:00.000Z"
}Os valores são ilustrativos.
