QuoteAnvil API for contractors who want the dashboard, the bot, and their tools connected.
Use secure API keys to connect QuoteAnvil to field workflows, automation tools, and the QuoteAnvil Telegram bot. Create estimates from messages, analyze job photos, draft scope notes, and keep everything tied back to the customer dashboard.
API keys are created inside the secured dashboard. Iron, Steel, and legacy Plus plans include API access.
QuoteAnvil Bot
online
What the API and bot are useful for
The point is not developer complexity. It is letting a contractor capture work wherever it happens and push it into QuoteAnvil securely.
Build estimates from Telegram
Start a quote from the truck, the job site, or after a customer text. Describe the work, send photos, and let QuoteAnvil turn it into structured estimate details.
AI assistant for field work
Use the bot for quick pricing prompts, material lists, scope notes, customer follow-ups, and quote drafts without opening the full dashboard.
Connect your own tools
Use API keys for custom apps, internal automations, CRMs, spreadsheets, or dispatch workflows that need QuoteAnvil data.
Credits follow real usage
API and Telegram AI actions use the same credit balance as the dashboard. Larger prompts, image analysis, and full estimate generation use more credits than short text requests.
Secured like a real SaaS API page
The public page explains what the API does. The actual keys live behind login in dashboard settings, where admins can create, copy, limit, and revoke access.
Generate a named API key from your secured dashboard settings.
Copy the full key once. QuoteAnvil stores only a secure hash, not the full key.
After creation, the dashboard shows only the beginning of the key plus masked characters.
Set optional monthly credit limits per key to control API or bot usage.
Revoke any key instantly if a device, contractor, or integration should lose access.
API Key Created
Shown one time only
First view
qa_live_9f8a...copy-nowLater view
qa_live_9f8a••••••••••••••••The full secret is never displayed again. If it is lost, revoke it and create a new one.
Credits and limits
Telegram and API AI usage deduct from the same monthly and purchased AI credit balance. Optional per-key credit limits help prevent surprise usage from a bot, Zapier workflow, or custom integration.
Add AI CreditsGeneral usage and billing notes
Text prompts
Short requests usually use fewer credits. Longer scope generation, detailed line items, and follow-up revisions use more.
Photo analysis
Telegram job-site photos can use extra credits because the AI has to inspect the image and convert observations into estimate-ready details.
Full quote drafts
Full estimate build-outs typically cost more than a quick question because they generate structured items, quantities, notes, and suggested scope.
API example: create an AI quote draft
The public API accepts a trade and job description, returns structured line items, and reports the AI credits charged so business owners can reconcile usage. Actual keys are managed only inside the secure dashboard.
Built-in spend controls
Each key can have a monthly AI credit limit. Monthly plan credits are used first, purchased credits are used after, and every API response can expose charged credits for monitoring.
Request
curl https://www.quoteanvil.com/api/v1/ai/quote \
-H "Authorization: Bearer qa_liv...ey" \
-H "Content-Type: application/json" \
-d '{
"trade": "flooring",
"job_description": "Install carpet in 3 bedrooms. Include pad, furniture moving, stairs, and cleanup.",
"customer_name": "Sarah Johnson"
}'Response shape
{
"success": true,
"data": {
"line_items": [
{ "description": "Carpet installation", "quantity": 3, "unit": "room", "unit_price": 650 }
],
"confidence": "low",
"inputCompleteness": {
"present": ["measurements", "site/access conditions", "customer selections/materials", "schedule/scope boundaries"],
"missing": ["location/permit context"]
},
"followUpQuestions": [
"What location or jurisdiction details affect permits, inspections, utility coordination, HOA rules, or code review?"
]
},
"usage": {
"credits_charged": 6
}
}