1
Get an API key
Bridgeline turns on the API for your agency, then an agency admin creates a key in the Bridgeline portal under API Keys. The full key is shown once, so put it straight into your secret manager.Start with a test key if you can. A
bl_test_ key gets real pricing with no real-world effects: nobody is emailed, and test quotes are kept apart from live ones. Test mode is enabled per agency, so ask your Bridgeline contact to enable test mode. Live keys (bl_live_) are by invitation during the beta, and they’re safe to build with too: creating a quote prices it and stores it, and nothing reaches your client until you send them the link. See test and live mode.Store the key in an environment variable:2
Check the key
GET /v1/whoami tells you which agency the key belongs to and which broker it acts as.Response
403 with API_ACCESS_NOT_ENABLED (a live key) or TEST_MODE_NOT_ENABLED (a test key) means that mode isn’t switched on for your agency yet. Ask your Bridgeline contact.3
Create a quote
Send the insured’s name and state, and for each policy its premium, minimum earned premium, dates, carrier and coverage. That’s enough to price.The state must be a two-letter USPS code, such as Money is a decimal string (
TX. A full name like "Texas" is refused with a 422 whose message names the code to send (Use the two-letter state code, e.g. "TX" for Texas.). Today we finance insureds in Texas; any other valid code still gets a quote, marked ineligible."46100.00") and rates are fractions (0.25 means 25%). The policy dates must be within the last 30 days or in the future; change them if you run this later.The quote comes back as 201 Created. If you’re quoting for a colleague, add "broker_email" to the body; otherwise the quote belongs to the key’s default broker.4
Read the options
The response is the whole quote. These are the parts you’ll use first (abridged, illustrative figures):
201 Created
optionsis every down payment and term we can offer: 30 of them here, five down payments by six terms.recommended_option_idis a sensible one to show first. It’s a default, not advice.assumptionslists what we filled in because you didn’t send it. Send the real value and quote again to remove one.eligibility.statusiseligibleorineligible. A deal we can’t finance still returns201, with the reasons and no options.
policies, totals, warnings and binding_readiness. Quote in one call walks through all of it.5
Send your client the link
hosted_url opens a page where your client compares every option, picks one and taps I’m interested. Email or text it to them yourself; we don’t send it for you.When your client responds, we email your broker, and GET /v1/quotes/{id} shows status: "interested" with their choice and note.Next steps
Quote in one call
Taxes and fees, several policies, your own ids, and every field in the response.
The interactive quote
What your client sees and how their response reaches you.
Retries and idempotency
Make every call safe to retry.
Errors
Branch on stable codes, not messages.