API aberta · Clientes
Alterar configurações de clientes
put
/api/open/v1/client-settingsEm resumo
PUT /api/open/v1/client-settings- Precisa de chave
read_write. - Obrigatórios:
staffSeesContacts. - 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.
Corpo
application/jsonstaffSeesContactsbooleanobrigatório
Resposta 200
application/jsonstaffSeesContactsbooleanobrigató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
}'{
"staffSeesContacts": true
}Os valores são ilustrativos.
