quotes:write, quotes:read, applications:read, applications:write and agreements:write.
1. Quote with everything a binding needs
Straight-through binding sends an agreement nobody reviewed, so the quote must state every fact a broker would otherwise confirm. Anything unstated or assumed puts the deal on the portal path instead. This body states them all:quote.json, its id in $QUOTE and its recommended option in $OPTION (this needs jq). Check eligibility.status in quote.json before you go on.
What each part settles:
Some reasons depend on our records or your agency’s setup, not on the body: a carrier we haven’t matched yet, an insured close to but not the same as an existing client, or nobody at your agency able to countersign. The full list is under straight-through reasons.
The quote must also be eligible. The next step accepts its recommended option; to accept another, set
$OPTION to any id in options.
2. Accept and send
Accept the option, name the person who signs for the insured, state your commission on each policy, and ask to send:application.json and its id in $APP.
borrower_contactis required.phoneis optional on a plain accept and required withsend: true.policieshas one entry per policy of the quote, in order. Withsend: trueevery policy needs acommission_rate: a fraction of the base premium, so0.125is 12.5%.- Keep the
Idempotency-Keyuntil you have an answer. See accept with recovery.
201 is the application, now awaiting_signature, and Bridgeline emails the signing request to borrower_contact.email:
201 Created
201 comes back with agreement: null on a fixed price, nothing was sent: call POST /v1/applications/{id}/send, which sends it or tells you why not.
3. When the deal takes the portal path
If anything on the deal needs a person, the accept still succeeds, but nothing is sent. The application waits for your broker in the portal, andstraight_through.reasons lists every reason:
201 Created
portal_url; we don’t notify them. A reason that’s about your data, such as MISSING_POLICY_NUMBER, is best fixed in your system before the next quote.
4. Follow the application
There are no webhooks yet. PollGET /v1/applications/{id} every few minutes and watch status:
Stop polling at
active or canceled. Treat a status you don’t know as still in progress. See applications.
A safe first run
Because accept and send are live only, rehearse on a real but harmless deal:-
Quote a deal with your own details, and accept it with
send: trueand your own inbox asborrower_contact.email. Use an address that isn’t the countersigner’s on the application, or the deal takes the portal path withSIGNER_CONFLICT. - Check the signing email arrives. Don’t sign it.
-
Void it before anyone signs, with
POST /v1/applications/{id}/void:The signing link stops working and the application goes back toready_for_agreement, with the same fixed price. Nothing was signed, so no loan exists and no money moves. -
The application stays in your broker’s portal. A broker or agency admin deletes it there. The quote then reads
acceptedwithapplication_id: nulland can’t be accepted again.