TratowAPI
API aberta · Clientes

Configurações de clientes

get/api/open/v1/client-settings

Em resumo

  • GET /api/open/v1/client-settings
  • Chave read ou read_write.
  • 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 ou read_write.

Resposta 200

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

Os valores são ilustrativos.