Skip to main content
GET
/
quote-requests
List quotes
curl --request GET \
  --url https://sandbox.yasmina.ai/api/v1/car-comp/quote-requests \
  --header 'Authorization: Bearer <token>'
{
  "current_page": 123,
  "data": [
    {
      "owner_id": 123,
      "phone": "<string>",
      "birthdate": "2023-12-25",
      "car_sequence_number": 123,
      "custom_number": "<string>",
      "is_ownership_transfer": true,
      "car_estimated_cost": 123,
      "car_model_year": 123,
      "start_date": "2023-12-25",
      "drivers": [
        {
          "owner_id": "<string>",
          "birthdate": "2023-12-25",
          "driving_percentage": 123
        }
      ],
      "quotes": [
        {
          "company_name": "<string>",
          "company_name_ar": "<string>",
          "insurance_type_display": "<string>",
          "insurance_type_display_ar": "<string>",
          "company_logo_url": "<string>",
          "square_company_logo_url": "<string>",
          "prices": [
            {
              "quote_price_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "deductible": 123,
              "subtotal": 123,
              "vat_percentage": 15,
              "vat": 123,
              "total": 123
            }
          ],
          "benefits": [
            {
              "quote_benefit_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
              "id": "<string>",
              "name": "<string>",
              "name_ar": "<string>",
              "amount": 123,
              "vat": 123,
              "url": "<string>"
            }
          ]
        }
      ],
      "client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updated_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "id": 123
    }
  ],
  "first_page_url": "<string>",
  "from": 123,
  "last_page": 123,
  "last_page_url": "<string>",
  "links": [
    {
      "url": "<string>",
      "label": "<string>",
      "active": true
    }
  ],
  "next_page_url": "<string>",
  "path": "<string>",
  "per_page": 123,
  "prev_page_url": "<string>",
  "to": 123,
  "total": 123,
  "aggregates": {
    "total_count": 24,
    "by_month": {
      "2026-06": 24
    }
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme

Query Parameters

date_from
string<date>

Inclusive lower bound for quote request creation date.

Example:

"2026-06-01"

date_to
string<date>

Inclusive upper bound for quote request creation date.

Example:

"2026-06-30"

per_page
integer

Number of quote requests to return per page.

Required range: x >= 1
Example:

10

include_aggregates
boolean

When true, includes quote request totals and monthly buckets for the filtered result set.

Example:

true

Response

Paginated list of quotes

current_page
integer
data
object[]
first_page_url
string
from
integer | null
last_page
integer
last_page_url
string
next_page_url
string | null
path
string
per_page
integer
prev_page_url
string | null
to
integer | null
total
integer
aggregates
object

Returned only when include_aggregates is true.