Quotes API
Retrieve a paginated list of quotes at the company level, sorted by creation date (newest first by default).
Authorization: Bearer <your-api-token>
| Parameter | Type | Default | Description |
|---|
page | integer | 1 | Page number |
Results are paginated in batches of 10. This limit will be increased over time as query optimization improves.
| Parameter | Type | Format | Description |
|---|
created_from | string | YYYY-MM-DD | Filter quotes created on or after this date |
created_to | string | YYYY-MM-DD | Filter quotes created on or before this date |
updated_from | string | YYYY-MM-DD | Filter quotes updated on or after this date |
updated_to | string | YYYY-MM-DD | Filter quotes updated on or before this date |
| Parameter | Type | Options | Default | Description |
|---|
sort_by | string | created_at, updated_at | created_at | Field to sort by |
sort_order | string | asc, desc | desc | Sort direction |
curl -X GET "https://app.salesbyte.se/api/quotes" \
-H "Authorization: Bearer <your-api-token>"
curl -X GET "https://app.salesbyte.se/api/quotes?created_from=2025-01-01&created_to=2025-01-31" \
-H "Authorization: Bearer <your-api-token>"
curl -X GET "https://app.salesbyte.se/api/quotes?sort_by=updated_at&sort_order=desc" \
-H "Authorization: Bearer <your-api-token>"
curl -X GET "https://app.salesbyte.se/api/quotes?created_from=2025-01-01&sort_by=updated_at&sort_order=desc" \
-H "Authorization: Bearer <your-api-token>"
curl -X GET "https://app.salesbyte.se/api/quotes?page=2" \
-H "Authorization: Bearer <your-api-token>"
{
"data": [
{
"id": 950,
"key": "hLcblYXo3BJh8Z",
"quote_profile_name": "Standard Quote",
"customer_name": "Acme Corp",
"customer_first_name": "John",
"customer_last_name": "Doe",
"customer_company": "Acme Corp",
"customer_phone": "+46701234567",
"customer_email": "[email protected]",
"quote_value": 15000,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-16T14:22:00.000000Z",
"salesperson": {
"name": "Jane Smith",
"email": "[email protected]"
},
"is_signed": true,
"is_fully_signed": true,
"links": {
"edit": "https://app.salesbyte.se/offerter/950/redigera",
"customer_view": "https://app.salesbyte.se/view/hLcblYXo3BJh8Z"
}
}
],
"meta": {
"current_page": 1,
"per_page": 10,
"total": 156
}
}
Each quote in the data array includes:
| Field | Type | Description |
|---|
id | integer | Internal quote identifier |
key | string | Public-facing key (used in customer page URLs) |
The full quote resource structure matches the Quote Checkout Webhook payload. See that documentation for complete field descriptions.
| Field | Type | Description |
|---|
current_page | integer | Current page number |
per_page | integer | Number of results per page |
total | integer | Total number of quotes matching the filter |
| Status Code | Description |
|---|
200 OK | Request successful |
401 Unauthorized | Missing or invalid Bearer token |
422 Unprocessable Entity | Invalid query parameters |
500 Internal Server Error | Server error |