← Back to Help Center

API Reference

Integrate QuoteLab with your existing tools using our REST API. Available on Business and Enterprise plans.

Overview

The QuoteLab API is a RESTful API that returns JSON responses. Public endpoints are available without authentication for widget functionality. Business endpoints require authentication via API key or session token. All timestamps are returned in ISO 8601 format (UTC).

Base URL

https://quotelab.io/api/v1

Authentication

Authenticated endpoints require an API key passed in the x-api-key header. You can generate an API key from your dashboard under Settings → API. Keep your API key secret and never expose it in client-side code.

curl -H "x-api-key: your_api_key_here" \
  https://quotelab.io/api/v1/business/bookings

Key Endpoints

Public Endpoints

No authentication required. Rate limited to 30 requests per minute per IP.

MethodEndpointDescription
GET/public/businesses/:slug/configVertical config, services, pricing rules, and branding
GET/public/businesses/:slug/availabilityAvailable time slots for a date range
POST/public/businesses/:slug/quotesCalculate and save a quote
POST/public/businesses/:slug/bookingsCreate a new booking
POST/public/businesses/:slug/leadsCapture a lead (quote interest, no booking)
GET/public/businesses/:slug/reviewsPublic reviews (paginated)

Business Endpoints

Requires API key authentication. Rate limited to 120 requests per minute.

MethodEndpointDescription
GET/business/bookingsList bookings (filterable by status, date, team member)
GET/business/bookings/:idGet booking details
PATCH/business/bookings/:idUpdate booking (reschedule, reassign, notes)
GET/business/customersList customers (search, sort, filter by tags)
GET/business/customers/:idCustomer profile with booking history
GET/business/quotesList quotes (filterable by status)
GET/business/servicesList services with pricing rules
GET/business/analytics/overviewRevenue, bookings, conversion, and trends

Webhooks

Webhooks let you receive real-time notifications when events occur in your account. Register a webhook endpoint in your dashboard under Settings → Integrations → Webhooks. All webhook payloads include an X-QuoteLab-Signature header for HMAC-SHA256 verification.

EventDescription
booking.createdA new booking was created
booking.completedA booking was marked complete
booking.cancelledA booking was cancelled
payment.deposit_receivedA deposit payment was received
payment.balance_receivedA balance payment was received
customer.createdA new customer was created
review.createdA new review was submitted
quote.createdA new quote was generated

Rate Limits

To ensure reliability for all users, the API enforces the following rate limits. Exceeding these limits returns a 429 Too Many Requests response with a Retry-After header.

Endpoint TypeLimit
Public endpoints30 requests per minute per IP
Authenticated endpoints120 requests per minute per API key
Booking creation5 requests per minute per IP

API access is available on Business and Enterprise plans. View pricing or contact us for questions.