cURL
curl --request POST \ --url https://{subdomain}.mindhunters.ai/api/v1/whatsapp/call/send_approval \ --header 'Content-Type: application/json' \ --data ' { "agentId": "32d8fc98-be1e-4d32-a12e-146f397fb1cb", "phoneNumber": "+1234567890" } '
Send a call permission request to a WhatsApp contact. The contact will receive an interactive message to accept or reject. Max 1 request per day, 2 per week per contact.
UUID of the Agent
"32d8fc98-be1e-4d32-a12e-146f397fb1cb"
Phone number of the contact in E.164 format
"+1234567890"
Permission request sent successfully