> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bridgelinepf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List quotes

> The quotes your key can read, created with a key of the same mode, newest first, as the same object GET /v1/quotes/{id} returns: every quote in your agency for an agency key, only its own broker's for a broker key. Filter by client_reference_id, status and interested. Cursor-paginated with limit and starting_after.

Returns the quotes your key can read, created with a key of the same mode, newest first. An agency key lists every quote in your agency; a broker key lists only that broker's. Each one is the same object [retrieve](https://docs.bridgelinepf.com/api-reference/quotes/retrieve.md) returns, `status` and `interest` included, exactly as it was priced. `hosted_url` is always `null` here, as on retrieve.

* **Paging.** Up to `limit` quotes (1 to 100, default 20). When `has_more` is `true`, pass `next_cursor` as `starting_after` to get the next page. A `starting_after` your key can't see is a [`400 INVALID_PAGINATION`](https://docs.bridgelinepf.com/errors/INVALID_PAGINATION).
* **Your own reference.** `client_reference_id` returns only the quotes created with exactly that value.
* **Status.** `status` takes the values a quote's `status` can have, worked out the same way at the moment of the request: `accepted` once the quote is accepted, otherwise `interested` once your client has responded, otherwise `expired` from `expires_at` on, otherwise `active`. See [quote status](https://docs.bridgelinepf.com/concepts/conventions.md#quote-status).
* **Interest.** `interested=true` returns the quotes your client has said they're interested in: the ones whose `interest` is set. That includes an accepted quote your client had responded to, so it can differ from `status=interested`. `interested=false` returns the rest.

Filters combine, and paging works within them. A `status` or `interested` value not listed here, any other query parameter, or a parameter given twice, is a [`422 VALIDATION_FAILED`](https://docs.bridgelinepf.com/errors/VALIDATION_FAILED). A list never includes another agency's quote, a quote created with a key of the other mode, or a distribution partner's quote.

To find the quotes your clients have responded to, poll this list with `status=interested` rather than reading each quote: it leaves out the ones you've already accepted. See [checking for a response](https://docs.bridgelinepf.com/guides/hosted-quote-page.md#checking-for-a-response).

```bash cURL theme={null}
curl "https://portal.bridgelinepf.com/api/v1/quotes?interested=true&limit=1" \
  -H "Authorization: Bearer $BRIDGELINE_API_KEY" \
  -H "Bridgeline-Version: 2026-09-23"
```

```javascript Node theme={null}
async function* interestedQuotes() {
  let cursor = null
  do {
    const url = new URL('https://portal.bridgelinepf.com/api/v1/quotes')
    url.searchParams.set('interested', 'true')
    url.searchParams.set('limit', '100')
    if (cursor) url.searchParams.set('starting_after', cursor)
    const res = await fetch(url, {
      headers: { Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`, 'Bridgeline-Version': '2026-09-23' },
    })
    const page = await res.json()
    if (!res.ok) {
      throw new Error(`Bridgeline ${res.status} ${page.error.code} (${page.error.request_id}): ${page.error.message}`)
    }
    yield* page.data
    cursor = page.has_more ? page.next_cursor : null
  } while (cursor)
}
```

```python Python theme={null}
import os
import requests

def interested_quotes():
    cursor = None
    while True:
        params = {"interested": "true", "limit": 100}
        if cursor:
            params["starting_after"] = cursor
        res = requests.get(
            "https://portal.bridgelinepf.com/api/v1/quotes",
            headers={"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}", "Bridgeline-Version": "2026-09-23"},
            params=params,
            timeout=30,
        )
        res.raise_for_status()
        page = res.json()
        yield from page["data"]
        if not page["has_more"]:
            break
        cursor = page["next_cursor"]
```

```jsonc 200 theme={null}
{
  "object": "list",
  "data": [
    {
      "id": "qte_2lo4LFk5rf8toDFJaD9Xoe",
      "object": "quote",
      "livemode": true,
      "status": "interested",
      "application_id": null,
      "accepted_at": null,
      "client_reference_id": null,
      "metadata": {},
      "broker": {"email": "maria@lonestarrisk.example"},
      "created_at": "2026-10-04T15:04:05Z",
      "expires_at": "2026-11-03T15:04:05Z",
      "price_guaranteed_until": "2026-10-11T15:04:05Z",
      "hosted_url": null,
      "selected_option_id": "opt_20_9",
      "interest": {
        "option_id": "opt_20_9",
        "note": "Can we start the first payment in November?",
        "submitted_at": "2026-10-05T15:02:11Z",
        "broker_notification": {
          "status": "sent",
          "reason": null,
          "recipient": "broker",
          "recipients": ["maria@lonestarrisk.example"],
          "at": "2026-10-05T15:02:13Z"
        }
      },
      "totals": {
        "premium": "46100.00",
        "taxes_and_fees": "0.00",
        "agency_fee": "0.00",
        "total": "46100.00",
        "weighted_minimum_earned_rate": 0.25,
        "financing_start_date": "2026-10-15"
      },
      "policies": [
        {
          "id": "pol_4Hq8Zt2m",
          "total": "46100.00",
          "minimum_earned": {"rate": 0.25},
          "carrier": {
            "name": "Scottsdale Insurance Company",
            "am_best": {"rating": "A+", "source": "am_best"}
          },
          "metadata": {}
        }
      ],
      "eligibility": {
        "status": "eligible",
        "checks": [
          {"code": "INPUT_VALID", "passed": true},
          {"code": "INSURED_STATE", "passed": true, "limit": "TX", "actual": "TX"},
          {"code": "PREMIUM_MIN", "passed": true, "limit": "1.00", "actual": "46100.00"},
          {"code": "PREMIUM_MAX", "passed": true, "limit": "200000.00", "actual": "46100.00"},
          {"code": "AM_BEST_MIN", "passed": true, "limit": "A-"},
          {"code": "ISSUER", "passed": true},
          {"code": "COVERAGE", "passed": true},
          {"code": "POLICY_BACKDATE", "passed": true, "limit": "90 days"},
          {"code": "DATE_UNIFORMITY", "passed": true},
          {"code": "POLICY_TERM", "passed": true, "limit": "3 months", "actual": "12 months"},
          {"code": "MINIMUM_EARNED_MAX", "passed": true, "limit": "90%", "actual": "25%"}
        ],
        "reasons": []
      },
      "assumptions": [
        {
          "code": "TAXES_AND_FEES_NOT_PROVIDED",
          "param": "policies[0].taxes_and_fees",
          "message": "No taxes or fees provided; the amount financed is the premium only."
        },
        {
          "code": "AUDITABLE_ASSUMED",
          "param": "policies[0].auditable",
          "message": "Not provided; assumed auditable (the conservative choice)."
        }
      ],
      "warnings": [],
      "binding_readiness": {
        "ready": false,
        "issues": [
          {
            "code": "DOCUMENT_TYPE_REQUIRED",
            "param": "policies[0].document_type",
            "message": "Say whether this is a quote, binder or policy."
          },
          {
            "code": "MISSING_POLICY_NUMBER",
            "param": "policies[0].policy_number",
            "message": "A real policy number is required before binding."
          },
          {
            "code": "INSURED_ADDRESS_INCOMPLETE",
            "param": "insured.address",
            "message": "The insured's full mailing address is required before binding (statutory notices are mailed to it)."
          }
        ]
      },
      "recommended_option_id": "opt_25_10",
      "options": [
        {
          "id": "opt_20_9",
          "down_payment_rate": 0.2,
          "term_months": 9,
          "apr": 0.1209,
          "down_payment": "9220.00",
          "amount_financed": "36880.00",
          "monthly_payment": "4306.98",
          "finance_charge": "1882.86",
          "total_of_payments": "38762.86",
          "total_cost": "47982.86",
          "spread_clamped": false
        }
        // ...29 more options
      ]
    }
  ],
  "has_more": true,
  "next_cursor": "qte_2lo4LFk5rf8toDFJaD9Xoe"
}
```

```json 400 theme={null}
{
  "error": {
    "type": "invalid_request",
    "code": "INVALID_PAGINATION",
    "message": "starting_after must be the id of a quote your key can see.",
    "param": "starting_after",
    "doc_url": "https://docs.bridgelinepf.com/errors#INVALID_PAGINATION",
    "request_id": "req_4wN8tB2hKc6RzV9mQx3LpYdf"
  }
}
```

The figures in this example are illustrative.


## OpenAPI

````yaml GET /v1/quotes
openapi: 3.1.0
info:
  title: Bridgeline Public API
  version: '2026-09-23'
  description: >-
    Premium finance quotes and applications for agencies, and partner quotes for
    distribution partners (the endpoints under /v1/partner/). Authenticate with
    an API key: an agency admin creates agency and broker keys in the Bridgeline
    portal under API Keys; a distribution partner's admin creates partner keys
    in the partner console under Settings, then API keys. Scopes: `quotes:read`
    (Read quotes), `quotes:write` (Create quotes and replace their links),
    `applications:read` (Read applications), `applications:write` (Accept a
    quote into an application), `agreements:write` (Send and void finance
    agreements). `loans:read` and `webhooks:manage` are reserved for endpoints
    that are not built yet and allow nothing today.
servers:
  - url: https://portal.bridgelinepf.com/api
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/quotes:
    get:
      tags:
        - Quotes
      summary: List quotes
      description: >-
        The quotes your key can read, created with a key of the same mode,
        newest first, as the same object GET /v1/quotes/{id} returns: every
        quote in your agency for an agency key, only its own broker's for a
        broker key. Filter by client_reference_id, status and interested.
        Cursor-paginated with limit and starting_after.
      operationId: listQuotes
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            description: How many quotes to return, 1 to 100. Default 20.
            type: string
          description: How many quotes to return, 1 to 100. Default 20.
        - name: starting_after
          in: query
          required: false
          schema:
            description: >-
              A quote id (qte_…) from the previous page (its next_cursor).
              Returns the quotes created before it.
            type: string
          description: >-
            A quote id (qte_…) from the previous page (its next_cursor). Returns
            the quotes created before it.
        - name: client_reference_id
          in: query
          required: false
          schema:
            description: Only quotes with exactly this client_reference_id.
            type: string
          description: Only quotes with exactly this client_reference_id.
        - name: status
          in: query
          required: false
          schema:
            description: >-
              Only quotes with this status, worked out as the quote's status is:
              accepted once accepted, otherwise interested once your client has
              responded, otherwise expired from expires_at on, otherwise active.
            type: string
            enum:
              - active
              - interested
              - expired
              - accepted
          description: >-
            Only quotes with this status, worked out as the quote's status is:
            accepted once accepted, otherwise interested once your client has
            responded, otherwise expired from expires_at on, otherwise active.
        - name: interested
          in: query
          required: false
          schema:
            description: >-
              true: only quotes your client has said they are interested in
              (interest is set; this includes accepted quotes that had an
              interest). false: only quotes without.
            type: string
            enum:
              - 'true'
              - 'false'
          description: >-
            true: only quotes your client has said they are interested in
            (interest is set; this includes accepted quotes that had an
            interest). false: only quotes without.
        - name: Bridgeline-Version
          in: header
          required: false
          description: >-
            API version (a date). Defaults to the version the API key is pinned
            to (set when the key is created); only a released version is
            accepted. Every response echoes the version used.
          schema:
            type: string
            enum:
              - '2026-09-23'
      responses:
        '200':
          description: A page of quotes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: list
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: qte_…
                        object:
                          type: string
                          const: quote
                        livemode:
                          type: boolean
                        status:
                          type: string
                          enum:
                            - active
                            - interested
                            - expired
                            - accepted
                          description: >-
                            accepted once the quote has become an application
                            (it wins over every other value); otherwise
                            interested once the insured responds, expired once
                            past expires_at, else active. Additional values may
                            be added.
                          x-extensible-enum: true
                        application_id:
                          description: >-
                            The application this quote became (app_…); null
                            until it is accepted.
                          type:
                            - string
                            - 'null'
                        accepted_at:
                          description: When the quote was accepted; null until then.
                          type:
                            - string
                            - 'null'
                        client_reference_id:
                          type:
                            - string
                            - 'null'
                        metadata:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties:
                            type: string
                        broker:
                          anyOf:
                            - type: object
                              properties:
                                email:
                                  type: string
                              required:
                                - email
                            - type: 'null'
                        created_at:
                          type: string
                        expires_at:
                          type: string
                        price_guaranteed_until:
                          description: >-
                            7 days after the quote was priced; null when the
                            quote has no priced options. Up to this time our
                            price check treats the quoted price as still good
                            unless the benchmark rate (SOFR) has moved by more
                            than 0.50 percentage points; from then until
                            expires_at, only if recalculating the deal gives the
                            same numbers. Derived from the stored quote, so it
                            never changes. The quote itself stays indicative:
                            see Indicative quotes.
                          type:
                            - string
                            - 'null'
                        hosted_url:
                          description: >-
                            Returned when the quote is created; null when
                            retrieved.
                          type:
                            - string
                            - 'null'
                        selected_option_id:
                          type:
                            - string
                            - 'null'
                        interest:
                          anyOf:
                            - type: object
                              properties:
                                option_id:
                                  type: string
                                  description: >-
                                    The option the insured picked (opt_…); the
                                    same as selected_option_id.
                                note:
                                  description: >-
                                    The insured's optional note to the broker
                                    (at most 500 characters); null when left
                                    blank. Untrusted text typed on a public
                                    page: escape it before rendering.
                                  type:
                                    - string
                                    - 'null'
                                submitted_at:
                                  type: string
                                  description: When the insured tapped I'm interested.
                                broker_notification:
                                  type: object
                                  properties:
                                    status:
                                      type: string
                                      enum:
                                        - pending
                                        - sent
                                        - skipped
                                        - failed
                                      description: >-
                                        pending until we have tried to email the
                                        agency; then sent, skipped (nothing was
                                        sent; see reason) or failed. Additional
                                        values may be added.
                                      x-extensible-enum: true
                                    reason:
                                      anyOf:
                                        - type: string
                                          enum:
                                            - demo_agency
                                            - test_mode
                                            - no_recipient
                                            - email_disabled
                                            - send_failed
                                          description: Additional values may be added.
                                          x-extensible-enum: true
                                        - type: 'null'
                                      description: >-
                                        Why nothing was sent; null when pending
                                        or sent. demo_agency: a demo agency,
                                        where we email only internal Bridgeline
                                        addresses, and none applied. test_mode:
                                        a test-mode (bl_test_) quote, which
                                        never emails anyone. no_recipient: the
                                        agency has no active broker or admin to
                                        email. email_disabled: email delivery is
                                        switched off in this environment.
                                        send_failed: the email could not be
                                        sent, and Bridgeline ops were alerted.
                                    recipient:
                                      anyOf:
                                        - type: string
                                          enum:
                                            - broker
                                            - agency_admins
                                          description: Additional values may be added.
                                          x-extensible-enum: true
                                        - type: 'null'
                                      description: >-
                                        Who we emailed: the quote's broker, or
                                        the agency's admins when that broker is
                                        no longer active. null when nobody was
                                        chosen.
                                    recipients:
                                      type: array
                                      items:
                                        type: string
                                      description: >-
                                        The agency staff email addresses the
                                        notification was actually sent to. Empty
                                        for a broker-scoped key when the email
                                        went to the agency's admins.
                                    at:
                                      description: >-
                                        When the outcome was recorded; null
                                        while pending.
                                      type:
                                        - string
                                        - 'null'
                                  required:
                                    - status
                                    - reason
                                    - recipient
                                    - recipients
                                    - at
                                  description: >-
                                    Whether we emailed the agency about this
                                    interest.
                              required:
                                - option_id
                                - note
                                - submitted_at
                                - broker_notification
                            - type: 'null'
                          description: >-
                            The insured's response on the hosted page; null
                            unless status is interested. This object is also the
                            payload the Phase 3 quote.interest_expressed webhook
                            will reuse.
                        totals:
                          type: object
                          properties:
                            premium:
                              type: string
                              pattern: ^\d+\.\d{2}$
                              description: >-
                                US dollars, a decimal string with two decimal
                                places.
                            taxes_and_fees:
                              type: string
                              pattern: ^\d+\.\d{2}$
                              description: >-
                                US dollars, a decimal string with two decimal
                                places. The sum of every taxes_and_fees item.
                                The agency fee is not in it.
                            agency_fee:
                              type: string
                              pattern: ^\d+\.\d{2}$
                              description: >-
                                US dollars, a decimal string with two decimal
                                places. The sum of the policies' agency_fee;
                                0.00 when none was stated. premium +
                                taxes_and_fees + agency_fee = total.
                            total:
                              type: string
                              pattern: ^\d+\.\d{2}$
                              description: >-
                                US dollars, a decimal string with two decimal
                                places.
                            weighted_minimum_earned_rate:
                              type: number
                              description: 'A fraction: 0.25 means 25%.'
                            financing_start_date:
                              type:
                                - string
                                - 'null'
                          required:
                            - premium
                            - taxes_and_fees
                            - agency_fee
                            - total
                            - weighted_minimum_earned_rate
                            - financing_start_date
                        policies:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              total:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  Premium plus all taxes and fees, and the
                                  agency fee when one was sent.
                              minimum_earned:
                                type: object
                                properties:
                                  rate:
                                    anyOf:
                                      - type: number
                                        description: 'A fraction: 0.25 means 25%.'
                                      - type: 'null'
                                    description: The minimum earned rate we used.
                                required:
                                  - rate
                              carrier:
                                type: object
                                properties:
                                  name:
                                    type:
                                      - string
                                      - 'null'
                                  am_best:
                                    type: object
                                    properties:
                                      rating:
                                        type: string
                                      source:
                                        type: string
                                        enum:
                                          - am_best
                                          - broker
                                          - document
                                          - assumed
                                        description: Additional values may be added.
                                        x-extensible-enum: true
                                    required:
                                      - rating
                                      - source
                                required:
                                  - name
                                  - am_best
                              metadata:
                                type: object
                                propertyNames:
                                  type: string
                                additionalProperties:
                                  type: string
                            required:
                              - id
                              - total
                              - minimum_earned
                              - carrier
                              - metadata
                        eligibility:
                          type: object
                          properties:
                            status:
                              type: string
                              enum:
                                - eligible
                                - ineligible
                              description: Additional values may be added.
                              x-extensible-enum: true
                            checks:
                              type: array
                              items:
                                type: object
                                properties:
                                  code:
                                    type: string
                                  passed:
                                    type: boolean
                                  limit:
                                    type: string
                                  actual:
                                    type: string
                                  basis:
                                    type: string
                                    enum:
                                      - partially_assumed
                                    description: Additional values may be added.
                                    x-extensible-enum: true
                                  param:
                                    type: string
                                required:
                                  - code
                                  - passed
                            reasons:
                              type: array
                              items:
                                type: object
                                properties:
                                  code:
                                    type: string
                                  param:
                                    type: string
                                    description: >-
                                      The request path this refers to, e.g.
                                      policies[1].auditable.
                                  message:
                                    type: string
                                required:
                                  - code
                                  - param
                                  - message
                              description: Why the deal is ineligible; empty when eligible.
                          required:
                            - status
                            - checks
                            - reasons
                        assumptions:
                          type: array
                          items:
                            type: object
                            properties:
                              code:
                                type: string
                              param:
                                type: string
                                description: >-
                                  The request path this refers to, e.g.
                                  policies[1].auditable.
                              message:
                                type: string
                            required:
                              - code
                              - param
                              - message
                        warnings:
                          type: array
                          items:
                            type: object
                            properties:
                              code:
                                type: string
                              param:
                                type: string
                                description: >-
                                  The request path this refers to, e.g.
                                  policies[1].auditable.
                              message:
                                type: string
                            required:
                              - code
                              - param
                              - message
                        binding_readiness:
                          type: object
                          properties:
                            ready:
                              type: boolean
                            issues:
                              type: array
                              items:
                                type: object
                                properties:
                                  code:
                                    type: string
                                  param:
                                    type: string
                                    description: >-
                                      The request path this refers to, e.g.
                                      policies[1].auditable.
                                  message:
                                    type: string
                                required:
                                  - code
                                  - param
                                  - message
                          required:
                            - ready
                            - issues
                        recommended_option_id:
                          type:
                            - string
                            - 'null'
                        options:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                description: >-
                                  opt_<down payment percent>_<term months>, e.g.
                                  opt_25_10.
                              down_payment_rate:
                                type: number
                                description: 'A fraction: 0.25 means 25%.'
                              term_months:
                                type: integer
                                minimum: -9007199254740991
                                maximum: 9007199254740991
                              apr:
                                type: number
                                description: 'A fraction: 0.25 means 25%.'
                              down_payment:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places.
                              amount_financed:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places.
                              monthly_payment:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places.
                              finance_charge:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places.
                              total_of_payments:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places. amount_financed + finance_charge,
                                  exactly: the same figure the finance agreement
                                  prints as its total of payments.
                              total_cost:
                                type: string
                                pattern: ^\d+\.\d{2}$
                                description: >-
                                  US dollars, a decimal string with two decimal
                                  places. down_payment + total_of_payments,
                                  exactly.
                              spread_clamped:
                                type: boolean
                                description: >-
                                  True when the agency's spread was reduced to
                                  keep this option under the APR limit.
                            required:
                              - id
                              - down_payment_rate
                              - term_months
                              - apr
                              - down_payment
                              - amount_financed
                              - monthly_payment
                              - finance_charge
                              - total_of_payments
                              - total_cost
                              - spread_clamped
                      required:
                        - id
                        - object
                        - livemode
                        - status
                        - application_id
                        - accepted_at
                        - client_reference_id
                        - metadata
                        - broker
                        - created_at
                        - expires_at
                        - price_guaranteed_until
                        - hosted_url
                        - selected_option_id
                        - interest
                        - totals
                        - policies
                        - eligibility
                        - assumptions
                        - warnings
                        - binding_readiness
                        - recommended_option_id
                        - options
                      description: >-
                        An indicative quote: a stored snapshot, not a price
                        lock.
                  has_more:
                    type: boolean
                  next_cursor:
                    description: >-
                      Pass as starting_after for the next page; null on the last
                      page.
                    type:
                      - string
                      - 'null'
                required:
                  - object
                  - data
                  - has_more
                  - next_cursor
                description: A page of quotes, newest first.
        '400':
          description: Malformed request (bad JSON, version or header).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, revoked or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            API access not enabled for this agency (API_ACCESS_NOT_ENABLED for a
            live key, TEST_MODE_NOT_ENABLED for a test key), an API key whose
            type cannot call this endpoint (KEY_TYPE_NOT_ALLOWED), missing
            scope, or the acting broker is not active.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. See Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error. Safe to retry with the same Idempotency-Key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - doc_url
            - request_id
          properties:
            type:
              type: string
              enum:
                - invalid_request
                - authentication
                - permission
                - not_found
                - conflict
                - rate_limit
                - api_error
              description: The broad category of the error. Additional values may be added.
              x-extensible-enum: true
            code:
              type: string
              description: >-
                Stable, machine-readable error code. Branch on this, never on
                `message`.
              examples:
                - INVALID_REQUEST
                - INVALID_JSON
                - INVALID_API_VERSION
                - INVALID_PAGINATION
                - IDEMPOTENCY_KEY_REQUIRED
                - IDEMPOTENCY_KEY_INVALID
                - VALIDATION_FAILED
                - INVALID_API_KEY
                - KEY_REVOKED
                - KEY_EXPIRED
                - MISSING_SCOPE
                - BROKER_NOT_ACTIVE
                - DEFAULT_BROKER_INACTIVE
                - ACTING_BROKER_NOT_ALLOWED
                - API_ACCESS_NOT_ENABLED
                - TEST_MODE_NOT_ENABLED
                - TEST_MODE_ONLY
                - KEY_TYPE_NOT_ALLOWED
                - APPLICATIONS_NOT_ENABLED
                - STRAIGHT_THROUGH_NOT_ENABLED
                - NOT_FOUND
                - METHOD_NOT_ALLOWED
                - IDEMPOTENCY_KEY_REUSED
                - IDEMPOTENCY_REQUEST_IN_PROGRESS
                - QUOTE_EXPIRED
                - QUOTE_ALREADY_INTERESTED
                - QUOTE_ALREADY_ACCEPTED
                - QUOTE_NOT_ACCEPTABLE
                - QUOTE_PRICE_CHANGED
                - APPLICATION_NOT_SENDABLE
                - APPLICATION_PRICE_LAPSED
                - APPLICATION_CANCELED
                - AGREEMENT_ALREADY_SIGNED
                - AGREEMENT_NOT_VOIDABLE
                - APPLICATION_MANAGED_IN_PORTAL
                - RATE_LIMITED
                - INTERNAL
                - IDEMPOTENCY_RECORD_LOST
                - SERVICE_UNAVAILABLE
            message:
              type: string
            param:
              type: string
            details:
              type: array
              items:
                type: object
                required:
                  - code
                  - message
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  param:
                    type: string
            application_id:
              type: string
              description: >-
                Only on QUOTE_ALREADY_ACCEPTED: the id (app_…) of the
                application the quote became. It may have been created by a
                different call than yours.
            doc_url:
              type: string
              format: uri
            request_id:
              type: string
              pattern: ^req_
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: bl_live_… or bl_test_… API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.