Answer customer questions in a chat
The relay receives a message event, asks the model for a reply grounded in your documents, and sends the answer to the chat id. A confidence threshold routes anything uncertain to a human instead of guessing.
POST /messages/text Send a text message
curl --request POST \
--url https://api.wapito.com/v1/messages/text \
--header 'Authorization: Bearer wpt_YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"to":"+15551234567","body":"Your order #4182 has shipped. Track it here: https://acme.example/t/4182","typing_time":3}'