Quotes API
Access your sales quotes.
Scope required: quotes:read
List Quotes
GET /quotesReturns all quotes for your business.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
status | string | Filter by status: draft, sent, accepted, declined, expired |
client_id | string | Filter by client ID |
from_date | date | Filter quotes from this date (YYYY-MM-DD) |
to_date | date | Filter quotes to this date (YYYY-MM-DD) |
page | integer | Page number (default: 1) |
page_size | integer | Items 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
| Parameter | Type | Description |
|---|---|---|
id | string (UUID) | The quote ID |
Quote Object
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier (UUID) |
quote_number | string | Quote number |
client_id | string | Client ID |
client_name | string | Client name |
status | string | Quote status |
issue_date | date | Issue date |
valid_until | date | Expiry date |
subtotal | decimal | Subtotal before tax |
tax_total | decimal | Total tax amount |
total | decimal | Total including tax |
currency | string | Currency code |
notes | string | Quote notes |
line_items | array | Line items |
created_at | datetime | When created |
updated_at | datetime | When last updated |
Last updated on