TratowAPI
API aberta · Agenda

Confirmar todos os agendamentos do dia

post/api/open/v1/appointments/confirm-all

Em resumo

  • POST /api/open/v1/appointments/confirm-all
  • Precisa de chave read_write.
  • Obrigatórios: date.
  • 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
  • datestring<date>obrigatório

    Data (AAAA-MM-DD) no fuso do estabelecimento.

Resposta 200

application/json
  • updatedintegerobrigatório

    -9007199254740991 a 9007199254740991

curl --request POST \  --url 'https://qa-tratow.ips.app.br/api/open/v1/appointments/confirm-all' \  --header 'Authorization: Bearer <chave>' \  --header 'Content-Type: application/json' \  --data '{    "date": "2026-11-03"  }'
Resposta
{  "updated": 1}

Os valores são ilustrativos.