TratowAPI
API aberta · Clientes

Listar anotações do cliente

get/api/open/v1/clients/{id}/notes

Em resumo

  • GET /api/open/v1/clients/{id}/notes
  • Chave read ou read_write.
  • Obrigatórios: id.
  • Sucesso: 200 com uma lista.
  • Authorizationstringheaderobrigatório

    Chave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read ou read_write.

  • idstringobrigatório

    Id do registro (UUID).

Resposta 200

lista de objetos
  • idstring<uuid>obrigatório

    Identificador único (UUID).

  • textstringobrigatório

    Texto.

  • pinnedbooleanobrigatório

    Fixado no topo.

  • authorNamestringpode ser nuloobrigatório

    Nome de author (só leitura).

  • createdAtstring<date-time>obrigatório

    Data e hora em que foi criado (ISO 8601, UTC).

  • updatedAtstring<date-time>obrigatório

    Data e hora em que foi atualizado (ISO 8601, UTC).

curl --request GET \  --url 'https://qa-tratow.ips.app.br/api/open/v1/clients/{id}/notes' \  --header 'Authorization: Bearer <chave>'
Resposta
[  {    "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.