TratowAPI
API aberta · Clientes

Alterar configurações de clientes

put/api/open/v1/client-settings

Em resumo

  • PUT /api/open/v1/client-settings
  • Precisa de chave read_write.
  • Obrigatórios: staffSeesContacts.
  • Sucesso: 200.
  • 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_write.

Corpo

application/json
  • staffSeesContactsbooleanobrigatório

Resposta 200

application/json
  • staffSeesContactsbooleanobrigatório
curl --request PUT \  --url 'https://qa-tratow.ips.app.br/api/open/v1/client-settings' \  --header 'Authorization: Bearer <chave>' \  --header 'Content-Type: application/json' \  --data '{    "staffSeesContacts": true  }'
Resposta
{  "staffSeesContacts": true}

Os valores são ilustrativos.