Skip to Content

Quotes API

Access your sales quotes.

Scope required: quotes:read

List Quotes

GET /quotes

Returns all quotes for your business.

Query Parameters

ParameterTypeDescription
statusstringFilter by status: draft, sent, accepted, declined, expired
client_idstringFilter by client ID
from_datedateFilter quotes from this date (YYYY-MM-DD)
to_datedateFilter quotes to this date (YYYY-MM-DD)
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 50, max: 100)

Example Request

curl -H "Authorization: Bearer rb_live_YOUR_API_KEY" \ "https://api.rebased.app/api/v1/external/quotes?status=sent"

Example Response

{ "quotes": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "quote_number": "QTE-0001", "client_id": "660e8400-e29b-41d4-a716-446655440000", "client_name": "Acme Corporation", "status": "sent", "issue_date": "2026-02-01", "valid_until": "2026-03-01", "subtotal": 5000.00, "tax_total": 500.00, "total": 5500.00, "currency": "AUD", "notes": "Valid for 30 days", "line_items": [ { "id": "770e8400-e29b-41d4-a716-446655440000", "description": "Project Implementation", "quantity": 1, "unit_price": 5000.00, "amount": 5000.00, "tax_amount": 500.00 } ], "created_at": "2026-02-01T10:00:00Z", "updated_at": "2026-02-01T10:00:00Z" } ], "total": 1, "page": 1, "page_size": 50, "has_more": false }

Get Quote

GET /quotes/{id}

Returns a single quote by ID, including line items.

Path Parameters

ParameterTypeDescription
idstring (UUID)The quote ID

Quote Object

FieldTypeDescription
idstringUnique identifier (UUID)
quote_numberstringQuote number
client_idstringClient ID
client_namestringClient name
statusstringQuote status
issue_datedateIssue date
valid_untildateExpiry date
subtotaldecimalSubtotal before tax
tax_totaldecimalTotal tax amount
totaldecimalTotal including tax
currencystringCurrency code
notesstringQuote notes
line_itemsarrayLine items
created_atdatetimeWhen created
updated_atdatetimeWhen last updated
Last updated on