curl -X POST https://portal.bridgelinepf.com/api/v1/partner/quotes/pqt_3kBdws4Iboz3EfcUQN2z68/hosted-link \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23" \
-H "Idempotency-Key: $(uuidgen)"
const res = await fetch(`https://portal.bridgelinepf.com/api/v1/partner/quotes/${quoteId}/hosted-link`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Bridgeline-Version': '2026-09-23',
'Idempotency-Key': crypto.randomUUID(),
},
})
const { url } = await res.json()
import os
import uuid
import requests
res = requests.post(
f"https://portal.bridgelinepf.com/api/v1/partner/quotes/{quote_id}/hosted-link",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Bridgeline-Version": "2026-09-23",
"Idempotency-Key": str(uuid.uuid4()),
},
timeout=30,
)
url = res.json()["url"]
{
"object": "partner_hosted_link",
"quote_id": "pqt_3kBdws4Iboz3EfcUQN2z68",
"client_reference_id": "SUB-2026-0412",
"url": "https://portal.bridgelinepf.com/p/4nHnCzyp1YZ78mOscafTROmG9hSYlXaplWVeA8CeU90",
"expires_at": "2026-11-11T15:04:05Z"
}
{
"error": {
"type": "not_found",
"code": "NOT_FOUND",
"message": "No such quote.",
"param": "id",
"doc_url": "https://docs.bridgelinepf.com/errors#NOT_FOUND",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "conflict",
"code": "QUOTE_EXPIRED",
"message": "Create a new quote; an expired quote can't get a new link.",
"doc_url": "https://docs.bridgelinepf.com/errors#QUOTE_EXPIRED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
Partners
Create a link to a partner quote
Returns a link to a page that shows this quote, in your brand, to the agency you are quoting for: the insured’s name, the policies and every option at the agency’s cost. Each call replaces the previous link, which stops working at once; nothing else about the quote changes, and expires_at never moves. An expired quote is a 409 QUOTE_EXPIRED. Retrying with the same Idempotency-Key returns the same link without replacing it again. A quote created by anyone else, or with a key of the other mode, is a 404.
POST
/
v1
/
partner
/
quotes
/
{id}
/
hosted-link
curl -X POST https://portal.bridgelinepf.com/api/v1/partner/quotes/pqt_3kBdws4Iboz3EfcUQN2z68/hosted-link \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23" \
-H "Idempotency-Key: $(uuidgen)"
const res = await fetch(`https://portal.bridgelinepf.com/api/v1/partner/quotes/${quoteId}/hosted-link`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Bridgeline-Version': '2026-09-23',
'Idempotency-Key': crypto.randomUUID(),
},
})
const { url } = await res.json()
import os
import uuid
import requests
res = requests.post(
f"https://portal.bridgelinepf.com/api/v1/partner/quotes/{quote_id}/hosted-link",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Bridgeline-Version": "2026-09-23",
"Idempotency-Key": str(uuid.uuid4()),
},
timeout=30,
)
url = res.json()["url"]
{
"object": "partner_hosted_link",
"quote_id": "pqt_3kBdws4Iboz3EfcUQN2z68",
"client_reference_id": "SUB-2026-0412",
"url": "https://portal.bridgelinepf.com/p/4nHnCzyp1YZ78mOscafTROmG9hSYlXaplWVeA8CeU90",
"expires_at": "2026-11-11T15:04:05Z"
}
{
"error": {
"type": "not_found",
"code": "NOT_FOUND",
"message": "No such quote.",
"param": "id",
"doc_url": "https://docs.bridgelinepf.com/errors#NOT_FOUND",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "conflict",
"code": "QUOTE_EXPIRED",
"message": "Create a new quote; an expired quote can't get a new link.",
"doc_url": "https://docs.bridgelinepf.com/errors#QUOTE_EXPIRED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
For partner API keys. Returns a link to a page that shows the quote to the agency you’re quoting for: your logo and colour, the insured’s name, the policies, and every option at the agency’s cost. See send the quote to the agency.
- Each call replaces the link. The previous one stops working at once, for everyone, and shows the same page as a link that never existed. That is how you stop a link you sent by mistake.
- Nothing else about the quote changes, and
expires_atnever moves. An expired quote returns409 QUOTE_EXPIRED; create a new quote instead. - The same
Idempotency-Keyreturns the same link without replacing it again. A new key, or no key, replaces the last link and makes another. - The link is returned here only. The quote keeps only a hash of the link’s token, so store
urlif you’ll need it again. A response stored for anIdempotency-Keyreplay holds the link for up to 24 hours. - You can make a link only for a quote your partner account created, with a key of the same mode. Any other id is a
404 NOT_FOUND. - A test key can make a link. The page then says the quote was made with a test key.
- The response has the same core shape as an agency’s hosted link (
quote_id,url,expires_at), plusclient_reference_id. Itsobjectispartner_hosted_link. quote_idis the quote’spqt_id. The path takes that id, or theqte_id a quote created before 2026-11-27 was returned with.- An
Idempotency-Keyis tied to the exact path, so retry with the same form of the id you first sent: switching betweenqte_andpqt_under one key is a409 IDEMPOTENCY_KEY_REUSED.
curl -X POST https://portal.bridgelinepf.com/api/v1/partner/quotes/pqt_3kBdws4Iboz3EfcUQN2z68/hosted-link \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Bridgeline-Version: 2026-09-23" \
-H "Idempotency-Key: $(uuidgen)"
const res = await fetch(`https://portal.bridgelinepf.com/api/v1/partner/quotes/${quoteId}/hosted-link`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Bridgeline-Version': '2026-09-23',
'Idempotency-Key': crypto.randomUUID(),
},
})
const { url } = await res.json()
import os
import uuid
import requests
res = requests.post(
f"https://portal.bridgelinepf.com/api/v1/partner/quotes/{quote_id}/hosted-link",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Bridgeline-Version": "2026-09-23",
"Idempotency-Key": str(uuid.uuid4()),
},
timeout=30,
)
url = res.json()["url"]
{
"object": "partner_hosted_link",
"quote_id": "pqt_3kBdws4Iboz3EfcUQN2z68",
"client_reference_id": "SUB-2026-0412",
"url": "https://portal.bridgelinepf.com/p/4nHnCzyp1YZ78mOscafTROmG9hSYlXaplWVeA8CeU90",
"expires_at": "2026-11-11T15:04:05Z"
}
{
"error": {
"type": "not_found",
"code": "NOT_FOUND",
"message": "No such quote.",
"param": "id",
"doc_url": "https://docs.bridgelinepf.com/errors#NOT_FOUND",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "conflict",
"code": "QUOTE_EXPIRED",
"message": "Create a new quote; an expired quote can't get a new link.",
"doc_url": "https://docs.bridgelinepf.com/errors#QUOTE_EXPIRED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
Headers
Path Parameters
Response
The new link.
A link to a partner quote page. Requesting a new one replaces it.