Dvaarik is an AI receptionist platform for voice calls, WhatsApp, Instagram, web chat, browser calls, bookings, and payment links. Standard partner grades support 22 scheduled Indian languages plus English. Businesses can start self-serve with ₹0 setup; agencies can resell through a branded partner console with public wholesale pricing.
This repository contains minimal, copyable examples for sending a business's own leads to Dvaarik and embedding its chat and browser-call widget. It does not contain credentials, a client SDK, or code that contacts Dvaarik during tests.
Get the business ID and API key from Dvaarik. Keep the key on the server; never expose it in browser JavaScript or a mobile application.
curl --request POST \
"https://api.dvaarik.com/api/v1/hooks/leads/YOUR_BUSINESS_ID" \
--header "Content-Type: application/json" \
--header "X-Api-Key: YOUR_API_KEY" \
--data '{"name":"Ravi Kumar","phone":"+919876543210","source":"website","interest":"2BHK near Gachibowli"}'At least one of phone or email is required. A new lead returns 201; a duplicate open lead returns 200 and the inquiry is appended. The endpoint is limited to 120 requests per minute.
| Surface | Example | Use it for |
|---|---|---|
| Python | lead-webhook/python/post_lead.py |
Server jobs and backend applications |
| Node.js | lead-webhook/node/post-lead.mjs |
Node servers and serverless functions |
| PHP | lead-webhook/php/post-lead.php |
PHP sites and form handlers |
| cURL | lead-webhook/curl/post-lead.sh |
Terminal tests and automation tools |
| Zapier | lead-webhook/zapier.md |
No-code workflows |
| Make | lead-webhook/make.md |
Scenario-based automation |
| GoHighLevel | lead-webhook/gohighlevel.md |
CRM workflow webhooks |
| WordPress CF7 | lead-webhook/wordpress-cf7.md |
Contact Form 7 submissions |
| Google Forms | lead-webhook/google-forms-apps-script.md |
Form-response Apps Script |
| Website widget | widget/ |
Chat and browser calls on a website |
The webhook stores the inquiry and notifies the business owner. Automatic qualification calling is configured separately. When speed-to-lead calling is enabled, the callback flow targets the lead within 60 seconds, calls only the business's own enquiries or customers, and follows the business-approved calling-hours window. See the speed-to-lead flow.
- Partner programme
- White-label platform
- Public partner pricing and margins
- Outbound lead calling
- Reseller margin calculator
- White-label voice AI pricing index
Direct voice usage starts at ₹2/min. Partner wholesale voice rates run from ₹1.50 to ₹3.75/min across the four partner grades. Voice minutes are rounded up to whole minutes. The setup fee and partner platform fee are ₹0; recurring phone channels and the Social Plan are separate.
Dvaarik provides them for the client business. Treat the API key as a secret and store it in a server-side secret manager or environment variable.
No. Intake and calling are separate. The webhook stores and deduplicates the lead; automatic calling must be enabled and configured for the business.
Send at least one of phone or email. The examples show the full accepted payload, including optional real-estate qualification fields.
If an open lead has the same last 10 phone digits or email, the new inquiry is appended and the endpoint returns 200. A closed lead can produce a new record.
Yes. White-label partners use the widget.js hosted on their connected app domain. Domain connection includes DNS and an operations step and usually takes about a day.
Corrections and additional integration examples are welcome. Read CONTRIBUTING.md. Code is available under the MIT License.