Let an assistant send a WhatsApp message
A send tool takes a recipient and a body, validates the recipient against an allow-list held by the server, and calls Wapito. The host shows the user exactly what will be sent before it goes.
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}'