Varavil Sign in

API guide

Varavil ยท Last updated 7 November 2026

Your own website or tool can read your follow-up lists from Varavil, and send in new enquiries, quotations and customers. The base address is https://varavil.in/api/v1.

Use it from your own server, never from a web page: the key is a password, and a browser on another site is not allowed to call the API.

Keys

What a key can do

CallPermission it needsWhat it does
GET /v1/followupsfollowups:readWho needs a follow-up now, the same list as the Home screen
GET /v1/enquiriesenquiries:readThe enquiries
GET /v1/quotationsquotations:readThe quotations
GET /v1/customerscustomers:readThe customers
GET /v1/invoicesinvoices:readThe invoices, with their totals
POST /v1/enquiriesenquiries:createSend in a new enquiry
POST /v1/quotationsquotations:createSend in a new quotation
POST /v1/customerscustomers:createSend in a new customer

Nothing here changes or deletes a record, and no invoice can be made. The calls read the company's main books.

Reading

GET /v1/enquiries?limit=50&offset=0 answers { "data": [...], "count": 50, "total": 120, "next_offset": 50 }. limit is 1 to 200 (100 if left out). Newest first. Money is in rupees.

Sending in a record

Send JSON with Content-Type: application/json. The fields are checked exactly as the forms in Varavil check them, so a bad date or amount, a missing required field, or a quotation whose amount is not the total of its items is refused with a 422 that names the field.

The answer is 202 Accepted: the record waits in Varavil, and a person who can write the company's books takes it in (or throws it away). It is never added behind their back.

Send an Idempotency-Key header (letters, digits, dots, dashes, up to 64) and a retry of the same call adds nothing twice.

curl -X POST https://varavil.in/api/v1/enquiries -H "Authorization: Bearer $VARAVIL_KEY" -H "Content-Type: application/json" -H "Idempotency-Key: website-form-1001" -d '{"name":"Asha Fabrics","contact":"98400 12345","about":"Bulk order","value":15000}'

The answer:

{ "id": "kQ3x9...", "status": "waiting", "message": "Received. It will appear in Varavil for the owner to take in." }

Limits

Answers

StatusMeaning
200Read
202Received, waiting for the owner
400The request is not in the expected form
401Invalid key
403The key was not given that permission, the plan is read-only, or the call came from an address the key does not allow
404No such address
405Only GET and POST are used
422A field is not valid (the answer names it)
429Too many calls

Every call is logged for the owner (the time, the key, the address and the result, never what was sent) for 30 days. See the Terms and the Privacy Policy.

Start your 30-day free trial No card needed.