curl "https://portal.bridgelinepf.com/api/v1/quotes?interested=true&limit=1" \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23"
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)
}
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"]
{
"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"
}
{
"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"
}
}
Quotes
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/ 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.
GET
/
v1
/
quotes
curl "https://portal.bridgelinepf.com/api/v1/quotes?interested=true&limit=1" \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23"
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)
}
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"]
{
"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"
}
{
"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"
}
}
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 returns,
The figures in this example are illustrative.
status and interest included, exactly as it was priced. hosted_url is always null here, as on retrieve.
- Paging. Up to
limitquotes (1 to 100, default 20). Whenhas_moreistrue, passnext_cursorasstarting_afterto get the next page. Astarting_afteryour key can’t see is a400 INVALID_PAGINATION. - Your own reference.
client_reference_idreturns only the quotes created with exactly that value. - Status.
statustakes the values a quote’sstatuscan have, worked out the same way at the moment of the request:acceptedonce the quote is accepted, otherwiseinterestedonce your client has responded, otherwiseexpiredfromexpires_aton, otherwiseactive. See quote status. - Interest.
interested=truereturns the quotes your client has said they’re interested in: the ones whoseinterestis set. That includes an accepted quote your client had responded to, so it can differ fromstatus=interested.interested=falsereturns the rest.
status or interested value not listed here, any other query parameter, or a parameter given twice, is a 422 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.
curl "https://portal.bridgelinepf.com/api/v1/quotes?interested=true&limit=1" \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23"
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)
}
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"]
{
"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"
}
{
"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"
}
}