{ "id": "app_1rvJBK4j6przAMoe6NxpXJ", "object": "application", "livemode": false, "status": "pending_activation", "created_via": "api", "quote_id": "qte_2lo4LFk5rf8toDFJHSUZ2O", "agreement": {"sent_at": "2026-12-04T15:04:09Z"}, "portal_url": null, // ...pricing, payout, insured, policies, requirements and the rest, // exactly as GET /v1/applications/{id} returns them}
{ "error": { "type": "permission", "code": "TEST_MODE_ONLY", "message": "This endpoint is only available with a test-mode (bl_test_) API key.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
{ "error": { "type": "conflict", "code": "TEST_STEP_OUT_OF_ORDER", "message": "The down payment isn't in yet. Simulate it first: the agent countersigns only after it.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
Test helpers
Simulate a signature on the agreement (test mode)
Test-mode keys only. Acts out a signature on a test application’s sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.
{ "id": "app_1rvJBK4j6przAMoe6NxpXJ", "object": "application", "livemode": false, "status": "pending_activation", "created_via": "api", "quote_id": "qte_2lo4LFk5rf8toDFJHSUZ2O", "agreement": {"sent_at": "2026-12-04T15:04:09Z"}, "portal_url": null, // ...pricing, payout, insured, policies, requirements and the rest, // exactly as GET /v1/applications/{id} returns them}
{ "error": { "type": "permission", "code": "TEST_MODE_ONLY", "message": "This endpoint is only available with a test-mode (bl_test_) API key.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
{ "error": { "type": "conflict", "code": "TEST_STEP_OUT_OF_ORDER", "message": "The down payment isn't in yet. Simulate it first: the agent countersigns only after it.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
Acts out a signature on a test application’s agreement, so you can walk a test send all the way to an active application without anyone signing anything. It returns the application, as GET /v1/applications/{id} would.signer says who signs:
signer
What it acts out
Status afterwards
insured
The insured signs the agreement
awaiting_signature → pending_activation
countersigner
The agent at your agency countersigns. Needs the down payment first
pending_activation → active
Test keys only. A live key gets 403 TEST_MODE_ONLY. The application must be a test application your key can see; anything else is 404 NOT_FOUND.
The live order. Send, then the insured signs, then the down payment, then the countersignature. A step out of order, or one that already happened, is 409 TEST_STEP_OUT_OF_ORDER, and the message names the step that comes first.
Nothing happens outside Bridgeline. No email goes anywhere, nothing is posted, and no loan is booked.
An Idempotency-Key is optional. Send one if you retry on a network error.
{ "id": "app_1rvJBK4j6przAMoe6NxpXJ", "object": "application", "livemode": false, "status": "pending_activation", "created_via": "api", "quote_id": "qte_2lo4LFk5rf8toDFJHSUZ2O", "agreement": {"sent_at": "2026-12-04T15:04:09Z"}, "portal_url": null, // ...pricing, payout, insured, policies, requirements and the rest, // exactly as GET /v1/applications/{id} returns them}
{ "error": { "type": "permission", "code": "TEST_MODE_ONLY", "message": "This endpoint is only available with a test-mode (bl_test_) API key.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
{ "error": { "type": "conflict", "code": "TEST_STEP_OUT_OF_ORDER", "message": "The down payment isn't in yet. Simulate it first: the agent countersigns only after it.", "doc_url": "https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER", "request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv" }}
Authorizations
Authorization
string
header
required
bl_live_… or bl_test_… API key.
Headers
Bridgeline-Version
enum<string>
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.
Available options:
2026-09-23
Idempotency-Key
string
Retrying with the same key and body within 24h replays the original response.
Required string length: 1 - 255
Path Parameters
id
string
required
The test application id (app_…).
Body
application/json
Who signs.
signer
enum<string>
required
insured: the insured signs the agreement (the application moves to pending_activation). countersigner: the agent countersigns, which needs the down payment first, and the application becomes active.
Available options:
insured,
countersigner
Response
The test application, after the signature.
A deal in progress toward a signed premium finance agreement and loan.
id
string
required
app_…
object
string
required
Allowed value: "application"
livemode
boolean
required
status
enum<string>
required
processing, requires_information (an item in requirements.blocking holds the agreement back), ready_for_agreement, awaiting_signature (the agreement was sent), pending_activation (the borrower signed; the loan goes live once the down payment settles and the agreement is countersigned), active (final), canceled (final; cancellation says why). New values may be added: treat an unknown one as "in progress". Additional values may be added.
Available options:
processing,
requires_information,
ready_for_agreement,
awaiting_signature,
pending_activation,
active,
canceled
created_via
enum<string>
required
api: accepted from a quote through the API. portal: created in the Bridgeline portal. email: created from an email to an intake address. Additional values may be added.
Available options:
api,
portal,
email
quote_id
string | null
required
The application's current quote (qte_…), or null when it has none.
accepted_option_id
string | null
required
The option chosen when the application was created from a quote (opt_…): accepted through POST /v1/quotes/{id}/accept, or picked with "I'm interested" on a partner's quote link. Null otherwise. A record of the choice, not a price lock.
pricing
object | null
required
The terms the broker has priced in the portal, which the agreement will carry; once the agreement is sent, its own terms. null until the application reaches pricing. total_of_payments is amount_financed + finance_charge, as on the agreement; total_cost is down_payment + total_of_payments.
Show child attributes
price_guaranteed_until
string | null
required
The accepted quote's price_guaranteed_until: 7 days after that quote was priced. null when the application was not accepted from a quote through the API.
straight_through
object | null
required
Whether this application can go to the insured without a portal visit. null for an application that was not accepted with straight-through binding turned on.
Show child attributes
agreement
object | null
required
The finance agreement, once it has been sent (by your broker or through the API). null before that. Bridgeline emails the signing request to the insured; the application's status says where it stands.
Show child attributes
payout
object | null
required
The agency's commission and agency fee on each policy, and how the financed premium divides between the agency and the billing company. null until every policy has a commission rate. We record exactly what you state and infer nothing.
Show child attributes
cancellation
object | null
required
Why and when the application was canceled. null unless status is canceled. A canceled application is closed for good: create a new quote to start again.
Show child attributes
insured
object
required
Show child attributes
broker
object
required
The broker who owns the application.
Show child attributes
policies
object[]
required
Show child attributes
requirements
object
required
What's left on the deal. New codes may be added: show description for a code you don't know.
Show child attributes
portal_url
string | null
required
Where the broker works on this application in the Bridgeline portal (requires a portal login). Null for a test application (livemode false), which is not shown in the portal.
client_reference_id
string | null
required
metadata
object
required
Show child attributes
created_at
string
required
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bridgeline API","description":"Price premium financing for your clients from your own systems, and send them an interactive quote.","colors":{"primary":"#0F3B35","light":"#9FD4B1","dark":"#0F3B35"},"logo":{"light":"https://mintcdn.com/bridgeline/LUlq8sZzMg546h-x/logo/light.svg?fit=max\u0026auto=format\u0026n=LUlq8sZzMg546h-x\u0026q=85\u0026s=e4498b7e7ed1e1939afcb0a04a17ff86","dark":"https://mintcdn.com/bridgeline/LUlq8sZzMg546h-x/logo/dark.svg?fit=max\u0026auto=format\u0026n=LUlq8sZzMg546h-x\u0026q=85\u0026s=554f25fda27d51a3700f931823e466c8","href":"https://docs.bridgelinepf.com"},"favicon":"https://mintcdn.com/bridgeline/LUlq8sZzMg546h-x/favicon.svg?fit=max\u0026auto=format\u0026n=LUlq8sZzMg546h-x\u0026q=85\u0026s=9028fe1514820c0033deb24370c421a8","api":{"openapi":"api-reference/openapi.json","playground":{"display":"simple"},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"background":{"color":{"light":"#FFFFFF","dark":"#0B1F1C"}},"navbar":{"links":[{"href":"mailto:support@bridgelinepf.com","label":"Contact us"}],"primary":{"type":"button","label":"Bridgeline portal","href":"https://portal.bridgelinepf.com"}},"footer":{"links":[{"header":"Bridgeline","items":[{"label":"bridgelinepf.com","href":"https://bridgelinepf.com"},{"label":"Portal","href":"https://portal.bridgelinepf.com"}]}]},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Switzer","weight":500,"source":"fonts/switzer-500.woff","format":"woff"},"body":{"family":"Switzer","weight":400,"source":"fonts/switzer-400.woff","format":"woff"}},"errors":{"404":{"redirect":false,"title":"We couldn't find that page","description":"It may have moved. Start from the [introduction](/) or search the docs."}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bridgeline","hasAudioNarration":false,"actualSubdomain":"bridgeline","customDomains":["docs.bridgelinepf.com"],"gitSource":{"type":"github","owner":"crosstimbers-capital","repo":"ipf-portal","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":"","_id":"6b11025b9ffae5051c41e5fe"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b130e44fc9d6f8318c4586e","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Error codes","count":41},{"language":"default","tag":"Guides","count":27},{"language":"default","tag":"API reference","count":21},{"language":"default","tag":"404, 405 and 409","count":16},{"language":"default","tag":"403: permission","count":10},{"language":"default","tag":"Partners","count":8},{"language":"default","tag":"Concepts","count":7},{"language":"default","tag":"400 and 422: the request","count":7},{"language":"default","tag":"Quotes","count":5},{"language":"default","tag":"Applications","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/test-helpers/application-sign","slug":"/api-reference/test-helpers/application-sign","pageMetadata":{"openapi":"POST /v1/test_helpers/applications/{id}/sign","title":"Simulate a signature on the agreement (test mode)","description":"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.","href":"/api-reference/test-helpers/application-sign"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Test-mode keys only. Acts out a signature on a test application’s sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Table}=_components;if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Acts out a signature on a test application’s agreement, so you can walk a `,_jsx(_components.a,{href:`/api-reference/applications/send`,children:`test send`}),` all the way to an active application without anyone signing anything. It returns the application, as `,_jsx(_components.a,{href:`/api-reference/applications/retrieve`,children:_jsx(_components.code,{children:`GET /v1/applications/{id}`})}),` would.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`signer`}),` says who signs:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`signer`})}),_jsx(_components.th,{children:`What it acts out`}),_jsx(_components.th,{children:`Status afterwards`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insured`})}),_jsx(_components.td,{children:`The insured signs the agreement`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`awaiting_signature`}),` → `,_jsx(_components.code,{children:`pending_activation`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`countersigner`})}),_jsxs(_components.td,{children:[`The agent at your agency countersigns. Needs the `,_jsx(_components.a,{href:`/api-reference/test-helpers/application-down-payment`,children:`down payment`}),` first`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pending_activation`}),` → `,_jsx(_components.code,{children:`active`})]})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Test keys only.`}),` A live key gets `,_jsx(_components.a,{href:`/errors/TEST_MODE_ONLY`,children:_jsx(_components.code,{children:`403 TEST_MODE_ONLY`})}),`. The application must be a test application your key can see; anything else is `,_jsx(_components.a,{href:`/errors/NOT_FOUND`,children:_jsx(_components.code,{children:`404 NOT_FOUND`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The live order.`}),` Send, then the insured signs, then the down payment, then the countersignature. A step out of order, or one that already happened, is `,_jsx(_components.a,{href:`/errors/TEST_STEP_OUT_OF_ORDER`,children:_jsx(_components.code,{children:`409 TEST_STEP_OUT_OF_ORDER`})}),`, and the `,_jsx(_components.code,{children:`message`}),` names the step that comes first.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nothing happens outside Bridgeline.`}),` No email goes anywhere, nothing is posted, and no loan is booked.`]}),`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.code,{children:`Idempotency-Key`}),` is optional. Send one if you retry on a network error.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`agreements:write`}),` scope.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"POST /v1/test_helpers/applications/{id}/sign","title":"Simulate a signature on the agreement (test mode)","description":"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.","href":"/api-reference/test-helpers/application-sign"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,RequestExample,ResponseExample,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Acts out a signature on a test application’s agreement, so you can walk a `,_jsx(_components.a,{href:`/api-reference/applications/send`,children:`test send`}),` all the way to an active application without anyone signing anything. It returns the application, as `,_jsx(_components.a,{href:`/api-reference/applications/retrieve`,children:_jsx(_components.code,{children:`GET /v1/applications/{id}`})}),` would.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`signer`}),` says who signs:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`signer`})}),_jsx(_components.th,{children:`What it acts out`}),_jsx(_components.th,{children:`Status afterwards`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`insured`})}),_jsx(_components.td,{children:`The insured signs the agreement`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`awaiting_signature`}),` → `,_jsx(_components.code,{children:`pending_activation`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`countersigner`})}),_jsxs(_components.td,{children:[`The agent at your agency countersigns. Needs the `,_jsx(_components.a,{href:`/api-reference/test-helpers/application-down-payment`,children:`down payment`}),` first`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pending_activation`}),` → `,_jsx(_components.code,{children:`active`})]})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Test keys only.`}),` A live key gets `,_jsx(_components.a,{href:`/errors/TEST_MODE_ONLY`,children:_jsx(_components.code,{children:`403 TEST_MODE_ONLY`})}),`. The application must be a test application your key can see; anything else is `,_jsx(_components.a,{href:`/errors/NOT_FOUND`,children:_jsx(_components.code,{children:`404 NOT_FOUND`})}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The live order.`}),` Send, then the insured signs, then the down payment, then the countersignature. A step out of order, or one that already happened, is `,_jsx(_components.a,{href:`/errors/TEST_STEP_OUT_OF_ORDER`,children:_jsx(_components.code,{children:`409 TEST_STEP_OUT_OF_ORDER`})}),`, and the `,_jsx(_components.code,{children:`message`}),` names the step that comes first.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nothing happens outside Bridgeline.`}),` No email goes anywhere, nothing is posted, and no loan is booked.`]}),`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.code,{children:`Idempotency-Key`}),` is optional. Send one if you retry on a network error.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`agreements:write`}),` scope.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://portal.bridgelinepf.com/api/v1/test_helpers/applications/app_1rvJBK4j6przAMoe6NxpXJ/sign`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$BRIDGELINE_TEST_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bridgeline-Version: 2026-09-23\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"signer\": \"insured\"}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node`,numberOfLines:`10`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`https://portal.bridgelinepf.com/api/v1/test_helpers/applications/\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`applicationId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/sign`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`BRIDGELINE_TEST_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bridgeline-Version'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2026-09-23'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signer:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'insured'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` application`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`10`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://portal.bridgelinepf.com/api/v1/test_helpers/applications/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`application_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/sign\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'BRIDGELINE_TEST_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bridgeline-Version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-23\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"signer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"insured\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`application `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`12`,language:`jsonc`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`jsonc`,children:_jsxs(_components.code,{language:`jsonc`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app_1rvJBK4j6przAMoe6NxpXJ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"livemode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending_activation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_via\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quote_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"qte_2lo4LFk5rf8toDFJHSUZ2O\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agreement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sent_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-04T15:04:09Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"portal_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ...pricing, payout, insured, policies, requirements and the rest,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // exactly as GET /v1/applications/{id} returns them`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`403`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"permission\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEST_MODE_ONLY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This endpoint is only available with a test-mode (bl_test_) API key.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"doc_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`409`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"conflict\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEST_STEP_OUT_OF_ORDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The down payment isn't in yet. Simulate it first: the agent countersigns only after it.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"doc_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"POST /v1/test_helpers/applications/{id}/sign","title":"Simulate a signature on the agreement (test mode)","description":"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.","href":"/api-reference/test-helpers/application-sign"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://portal.bridgelinepf.com/api/v1/test_helpers/applications/app_1rvJBK4j6przAMoe6NxpXJ/sign\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$BRIDGELINE_TEST_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Bridgeline-Version: 2026-09-23\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\"signer\": \"insured\"}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> res\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`https://portal.bridgelinepf.com/api/v1/test_helpers/applications/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">applicationId\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/sign`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Authorization:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">process\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">BRIDGELINE_TEST_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bridgeline-Version'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '2026-09-23'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">signer:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'insured'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> application\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> res\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> os\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">res \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://portal.bridgelinepf.com/api/v1/test_helpers/applications/\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">application_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/sign\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">os.environ[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'BRIDGELINE_TEST_API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bridgeline-Version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-23\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"signer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"insured\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> timeout\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">30\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">application \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> res.json()\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"jsonc\">\u003ccode language=\"jsonc\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"app_1rvJBK4j6przAMoe6NxpXJ\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"object\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"livemode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending_activation\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_via\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"api\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"quote_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"qte_2lo4LFk5rf8toDFJHSUZ2O\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"agreement\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"sent_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-12-04T15:04:09Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"portal_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // ...pricing, payout, insured, policies, requirements and the rest,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // exactly as GET /v1/applications/{id} returns them\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"403","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"permission\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"TEST_MODE_ONLY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This endpoint is only available with a test-mode (bl_test_) API key.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"doc_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"409","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"conflict\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"TEST_STEP_OUT_OF_ORDER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The down payment isn't in yet. Simulate it first: the agent countersigns only after it.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"doc_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"testHelperApplicationSign","summary":"Simulate a signature on the agreement (test mode)","description":"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.","tags":["Test helpers"],"security":["a22023bb-4f44-4dfa-9581-94391da2dfd2"],"x-required-scopes":["agreements:write"],"parameters":["0c6833ec-9372-4ba7-912a-71d39d989a16","b26a72be-0cf9-4950-b602-bab225102033","e5bcb0a0-cee1-4c8f-92f8-02947dcb8155"],"requestBody":"a45635d4-c624-4b24-b85d-2fdc3caaa6ca","responses":{"200":"2484d521-79c3-4e59-9672-53681425aa62","400":"e8aabe75-f8eb-4839-9b02-1086ece8ea87","401":"3e4dbfb0-dddf-4d98-bb64-8afec45b9ba1","403":"ef640618-9252-43c6-b09e-9eb308d0b49f","404":"4047564a-31cf-44ec-b7d2-4972a4d72109","409":"ad356e22-e53d-47f4-b6fe-65fe13ee475a","422":"0d049779-5a03-4128-8f79-79395a9a3517","429":"05e1f9f6-a02b-4b7f-b492-b5c91cc89315","500":"aa0d4b30-9ae8-4ddd-ab8c-5ccafcf47b34"},"method":"post","type":"path","servers":["8023b832-7522-40fe-902b-21479c0fbf31"],"path":"/v1/test_helpers/applications/{id}/sign","baseUrlOptions":["https://portal.bridgelinepf.com/api"],"title":"Simulate a signature on the agreement (test mode)","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" https://portal.bridgelinepf.com/api/v1/test_helpers/applications/app_1rvJBK4j6przAMoe6NxpXJ/sign"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Authorization: Bearer "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"$BRIDGELINE_TEST_API_KEY"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Bridgeline-Version: 2026-09-23\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{\"signer\": \"insured\"}'"}}]}},"\n"]}}}},"filename":"cURL"},{"dropdown":false,"language":"javascript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"javascript","children":{"type":"code","key":null,"ref":null,"props":{"language":"javascript","numberOfLines":"10","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" res"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":" fetch"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"`https://portal.bridgelinepf.com/api/v1/test_helpers/applications/"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"applicationId"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"/sign`"}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", {"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" method:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'POST'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" headers:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" Authorization:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" `Bearer "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"process"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"env"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":"BRIDGELINE_TEST_API_KEY"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"`"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Bridgeline-Version'"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":":"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '2026-09-23'"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'Content-Type'"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":":"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'application/json'"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" body:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" JSON"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"stringify"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"({ "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"signer:"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'insured'"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }),"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"})"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" application"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" res"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"json"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"()"}}]}},"\n"]}}}},"filename":"Node"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"10","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" os"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" requests"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"res "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" requests.post("}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":" f"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"https://portal.bridgelinepf.com/api/v1/test_helpers/applications/"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"{"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"application_id"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"/sign\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" headers"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Authorization\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"f"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Bearer "}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"{"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"os.environ["}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"'BRIDGELINE_TEST_API_KEY'"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"]"}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"13","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"14","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Bridgeline-Version\""}},{"type":"span","key":"15","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"16","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-09-23\""}},{"type":"span","key":"17","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"},"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" json"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"signer\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"insured\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"},"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#9CDCFE"},"children":" timeout"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"30"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"application "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" res.json()"}}]}},"\n"]}}}},"filename":"Python"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"jsonc","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"jsonc","children":{"type":"code","key":null,"ref":null,"props":{"language":"jsonc","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"app_1rvJBK4j6przAMoe6NxpXJ\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"object\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"application\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"livemode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"pending_activation\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"created_via\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"api\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"quote_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"qte_2lo4LFk5rf8toDFJHSUZ2O\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"agreement\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"sent_at\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-12-04T15:04:09Z\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"},"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"portal_url\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6E7781","--shiki-dark":"#6A9955"},"children":" // ...pricing, payout, insured, policies, requirements and the rest,"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6E7781","--shiki-dark":"#6A9955"},"children":" // exactly as GET /v1/applications/{id} returns them"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"200"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"9","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"permission\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"TEST_MODE_ONLY\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"This endpoint is only available with a test-mode (bl_test_) API key.\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"doc_url\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"https://docs.bridgelinepf.com/errors#TEST_MODE_ONLY\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"request_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"403"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"9","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"conflict\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"TEST_STEP_OUT_OF_ORDER\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"The down payment isn't in yet. Simulate it first: the agent countersigns only after it.\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"doc_url\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"https://docs.bridgelinepf.com/errors#TEST_STEP_OUT_OF_ORDER\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"request_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"req_8fJ2kQ9xLm4TzW7nB3cY5pDv\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"409"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"0c6833ec-9372-4ba7-912a-71d39d989a16":{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"The test application id (app_…).","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The test application id (app_…)."},"b26a72be-0cf9-4950-b602-bab225102033":{"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"],"isRequired":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.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"e5bcb0a0-cee1-4c8f-92f8-02947dcb8155":{"name":"Idempotency-Key","in":"header","required":false,"description":"Retrying with the same key and body within 24h replays the original response.","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Retrying with the same key and body within 24h replays the original response.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signer":{"type":"string","enum":["insured","countersigner"],"description":"insured: the insured signs the agreement (the application moves to pending_activation). countersigner: the agent countersigns, which needs the down payment first, and the application becomes active.","isRequired":true,"uniqueKey":"signer","typeLabel":"enum\u003cstring>"}},"required":["signer"],"additionalProperties":false,"description":"Who signs.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2484d521-79c3-4e59-9672-53681425aa62":{"description":"The test application, after the signature.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"app_…","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","const":"application","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"livemode":{"type":"boolean","isRequired":true,"uniqueKey":"livemode","typeLabel":"boolean"},"status":{"type":"string","enum":["processing","requires_information","ready_for_agreement","awaiting_signature","pending_activation","active","canceled"],"description":"processing, requires_information (an item in requirements.blocking holds the agreement back), ready_for_agreement, awaiting_signature (the agreement was sent), pending_activation (the borrower signed; the loan goes live once the down payment settles and the agreement is countersigned), active (final), canceled (final; cancellation says why). New values may be added: treat an unknown one as \"in progress\". Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_via":{"type":"string","enum":["api","portal","email"],"description":"api: accepted from a quote through the API. portal: created in the Bridgeline portal. email: created from an email to an intake address. Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"created_via","typeLabel":"enum\u003cstring>"},"quote_id":{"oneOf":[{"description":"The application's current quote (qte_…), or null when it has none.","type":"string","isRequired":true,"uniqueKey":"quote_id.oneOf.0","typeLabel":"string"},{"description":"The application's current quote (qte_…), or null when it has none.","type":"null","isRequired":true,"uniqueKey":"quote_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"quote_id","typeLabel":"string | null"},"accepted_option_id":{"oneOf":[{"description":"The option chosen when the application was created from a quote (opt_…): accepted through POST /v1/quotes/{id}/accept, or picked with \"I'm interested\" on a partner's quote link. Null otherwise. A record of the choice, not a price lock.","type":"string","isRequired":true,"uniqueKey":"accepted_option_id.oneOf.0","typeLabel":"string"},{"description":"The option chosen when the application was created from a quote (opt_…): accepted through POST /v1/quotes/{id}/accept, or picked with \"I'm interested\" on a partner's quote link. Null otherwise. A record of the choice, not a price lock.","type":"null","isRequired":true,"uniqueKey":"accepted_option_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accepted_option_id","typeLabel":"string | null"},"pricing":{"oneOf":[{"type":"object","description":"The terms the broker has priced in the portal, which the agreement will carry; once the agreement is sent, its own terms. null until the application reaches pricing. total_of_payments is amount_financed + finance_charge, as on the agreement; total_cost is down_payment + total_of_payments.","required":["option_id","down_payment_rate","term_months","apr","down_payment","amount_financed","monthly_payment","finance_charge","total_of_payments","total_cost","selected_by"],"properties":{"option_id":{"oneOf":[{"description":"opt_\u003cdown payment percent>_\u003cterm months>; null when the down payment is not a whole percent.","type":"string","isRequired":true,"uniqueKey":"pricing.oneOf.0.option_id.oneOf.0","typeLabel":"string"},{"description":"opt_\u003cdown payment percent>_\u003cterm months>; null when the down payment is not a whole percent.","type":"null","isRequired":true,"uniqueKey":"pricing.oneOf.0.option_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pricing.oneOf.0.option_id","typeLabel":"string | null"},"down_payment_rate":{"type":"number","description":"A fraction: 0.25 means 25%.","isRequired":true,"uniqueKey":"pricing.oneOf.0.down_payment_rate","typeLabel":"number"},"term_months":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"pricing.oneOf.0.term_months","typeLabel":"integer"},"apr":{"type":"number","description":"A fraction: 0.25 means 25%.","isRequired":true,"uniqueKey":"pricing.oneOf.0.apr","typeLabel":"number"},"down_payment":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.down_payment","typeLabel":"string"},"amount_financed":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.amount_financed","typeLabel":"string"},"monthly_payment":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.monthly_payment","typeLabel":"string"},"finance_charge":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.finance_charge","typeLabel":"string"},"total_of_payments":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.total_of_payments","typeLabel":"string"},"total_cost":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"US dollars, a decimal string with two decimal places.","isRequired":true,"uniqueKey":"pricing.oneOf.0.total_cost","typeLabel":"string"},"selected_by":{"type":"string","enum":["broker","system"],"description":"broker: the broker picked these terms in the portal. system: fixed without a broker choosing it: the option accepted through the API on a straight-through application, or our recommended option, which the broker kept. Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"pricing.oneOf.0.selected_by","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"pricing.oneOf.0","typeLabel":"object"},{"type":"null","description":"The terms the broker has priced in the portal, which the agreement will carry; once the agreement is sent, its own terms. null until the application reaches pricing. total_of_payments is amount_financed + finance_charge, as on the agreement; total_cost is down_payment + total_of_payments.","isRequired":true,"uniqueKey":"pricing.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pricing","typeLabel":"object | null"},"price_guaranteed_until":{"oneOf":[{"description":"The accepted quote's price_guaranteed_until: 7 days after that quote was priced. null when the application was not accepted from a quote through the API.","type":"string","isRequired":true,"uniqueKey":"price_guaranteed_until.oneOf.0","typeLabel":"string"},{"description":"The accepted quote's price_guaranteed_until: 7 days after that quote was priced. null when the application was not accepted from a quote through the API.","type":"null","isRequired":true,"uniqueKey":"price_guaranteed_until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"price_guaranteed_until","typeLabel":"string | null"},"straight_through":{"oneOf":[{"type":"object","description":"Whether this application can go to the insured without a portal visit. null for an application that was not accepted with straight-through binding turned on.","required":["route","reasons"],"properties":{"route":{"type":"string","enum":["straight_through","portal_path","managed_in_portal"],"description":"straight_through: the price is fixed at the accepted option and the agreement can be sent through the API. portal_path: the broker reviews, prices and sends in the portal. managed_in_portal: the price was fixed, and an agent has since changed it in the portal; the API no longer sends this application. Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"straight_through.oneOf.0.route","typeLabel":"enum\u003cstring>"},"reasons":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX].code","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX].param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX].param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX].param","typeLabel":"string | null"},"description":{"type":"string","isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX].description","typeLabel":"string"}},"required":["code","param","description"],"uniqueKey":"straight_through.oneOf.0.reasons.items.[INDEX]","typeLabel":"object"},"description":"Why the deal is on the portal path. Empty on the other routes. New codes may be added.","isRequired":true,"uniqueKey":"straight_through.oneOf.0.reasons","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"straight_through.oneOf.0","typeLabel":"object"},{"type":"null","description":"Whether this application can go to the insured without a portal visit. null for an application that was not accepted with straight-through binding turned on.","isRequired":true,"uniqueKey":"straight_through.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"straight_through","typeLabel":"object | null"},"agreement":{"oneOf":[{"type":"object","description":"The finance agreement, once it has been sent (by your broker or through the API). null before that. Bridgeline emails the signing request to the insured; the application's status says where it stands.","required":["sent_at"],"properties":{"sent_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"agreement.oneOf.0.sent_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"agreement.oneOf.0.sent_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agreement.oneOf.0.sent_at","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"agreement.oneOf.0","typeLabel":"object"},{"type":"null","description":"The finance agreement, once it has been sent (by your broker or through the API). null before that. Bridgeline emails the signing request to the insured; the application's status says where it stands.","isRequired":true,"uniqueKey":"agreement.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agreement","typeLabel":"object | null"},"payout":{"oneOf":[{"type":"object","description":"The agency's commission and agency fee on each policy, and how the financed premium divides between the agency and the billing company. null until every policy has a commission rate. We record exactly what you state and infer nothing.","required":["confirmed_at","policies","due_to_agency","due_to_billing_company","total"],"properties":{"confirmed_at":{"oneOf":[{"description":"When these figures were recorded for the agreement that was sent. null before an agreement is sent: the figures are then worked out from what is on each policy now.","type":"string","isRequired":true,"uniqueKey":"payout.oneOf.0.confirmed_at.oneOf.0","typeLabel":"string"},{"description":"When these figures were recorded for the agreement that was sent. null before an agreement is sent: the figures are then worked out from what is on each policy now.","type":"null","isRequired":true,"uniqueKey":"payout.oneOf.0.confirmed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"payout.oneOf.0.confirmed_at","typeLabel":"string | null"},"policies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The policy (pol_…), as in policies.","isRequired":true,"uniqueKey":"payout.oneOf.0.policies.items.[INDEX].id","typeLabel":"string"},"commission_rate":{"type":"number","description":"The agency's commission as a fraction of the policy's base premium: 0.125 means 12.5%.","isRequired":true,"uniqueKey":"payout.oneOf.0.policies.items.[INDEX].commission_rate","typeLabel":"number"},"commission":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Base premium times commission_rate, rounded half up to the cent.","isRequired":true,"uniqueKey":"payout.oneOf.0.policies.items.[INDEX].commission","typeLabel":"string"},"agency_fee":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"The agency's own fee on this policy. 0.00 when the quote stated none.","isRequired":true,"uniqueKey":"payout.oneOf.0.policies.items.[INDEX].agency_fee","typeLabel":"string"}},"required":["id","commission_rate","commission","agency_fee"],"uniqueKey":"payout.oneOf.0.policies.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"payout.oneOf.0.policies","typeLabel":"object[]"},"due_to_agency":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"Every commission plus every agency fee.","isRequired":true,"uniqueKey":"payout.oneOf.0.due_to_agency","typeLabel":"string"},"due_to_billing_company":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"total minus due_to_agency.","isRequired":true,"uniqueKey":"payout.oneOf.0.due_to_billing_company","typeLabel":"string"},"total":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$","description":"The total premium financed: every policy total, taxes, fees and agency fees included.","isRequired":true,"uniqueKey":"payout.oneOf.0.total","typeLabel":"string"}},"isRequired":true,"uniqueKey":"payout.oneOf.0","typeLabel":"object"},{"type":"null","description":"The agency's commission and agency fee on each policy, and how the financed premium divides between the agency and the billing company. null until every policy has a commission rate. We record exactly what you state and infer nothing.","isRequired":true,"uniqueKey":"payout.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"payout","typeLabel":"object | null"},"cancellation":{"oneOf":[{"type":"object","description":"Why and when the application was canceled. null unless status is canceled. A canceled application is closed for good: create a new quote to start again.","required":["reason","at"],"properties":{"reason":{"type":"string","enum":["price_lapsed"],"description":"price_lapsed: the quote behind the fixed price had expired (it was more than 30 days old) when the agreement was about to be sent. New values may be added. Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"cancellation.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"at":{"type":"string","description":"When the application was canceled.","isRequired":true,"uniqueKey":"cancellation.oneOf.0.at","typeLabel":"string"}},"isRequired":true,"uniqueKey":"cancellation.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why and when the application was canceled. null unless status is canceled. A canceled application is closed for good: create a new quote to start again.","isRequired":true,"uniqueKey":"cancellation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cancellation","typeLabel":"object | null"},"insured":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"insured.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"insured.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"insured.name","typeLabel":"string | null"},"address":{"type":"object","properties":{"line1":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"insured.address.line1.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"insured.address.line1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"insured.address.line1","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"insured.address.city.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"insured.address.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"insured.address.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"insured.address.state.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"insured.address.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"insured.address.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"insured.address.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"insured.address.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"insured.address.postal_code","typeLabel":"string | null"}},"required":["line1","city","state","postal_code"],"isRequired":true,"uniqueKey":"insured.address","typeLabel":"object"}},"required":["name","address"],"isRequired":true,"uniqueKey":"insured","typeLabel":"object"},"broker":{"type":"object","properties":{"email":{"type":"string","isRequired":true,"uniqueKey":"broker.email","typeLabel":"string"}},"required":["email"],"description":"The broker who owns the application.","isRequired":true,"uniqueKey":"broker","typeLabel":"object"},"policies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"pol_… (22 characters on an application; a quote's policy ids are 8).","isRequired":true,"uniqueKey":"policies.items.[INDEX].id","typeLabel":"string"},"carrier":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"policies.items.[INDEX].carrier.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"policies.items.[INDEX].carrier.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].carrier.name","typeLabel":"string | null"},"match":{"type":"string","enum":["matched","pending"],"description":"matched once the carrier is linked to our carrier records. Additional values may be added.","x-extensible-enum":true,"isRequired":true,"uniqueKey":"policies.items.[INDEX].carrier.match","typeLabel":"enum\u003cstring>"}},"required":["name","match"],"isRequired":true,"uniqueKey":"policies.items.[INDEX].carrier","typeLabel":"object"},"total":{"oneOf":[{"type":"string","description":"Premium plus all taxes and fees; null when not known yet.","pattern":"^-?\\d+\\.\\d{2}$","isRequired":true,"uniqueKey":"policies.items.[INDEX].total.oneOf.0","typeLabel":"string"},{"type":"null","description":"Premium plus all taxes and fees; null when not known yet.","isRequired":true,"uniqueKey":"policies.items.[INDEX].total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].total","typeLabel":"string | null"},"effective_date":{"oneOf":[{"type":"string","description":"A calendar date, YYYY-MM-DD.","isRequired":true,"uniqueKey":"policies.items.[INDEX].effective_date.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"policies.items.[INDEX].effective_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].effective_date","typeLabel":"string | null"},"expiration_date":{"oneOf":[{"type":"string","description":"A calendar date, YYYY-MM-DD.","isRequired":true,"uniqueKey":"policies.items.[INDEX].expiration_date.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"policies.items.[INDEX].expiration_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].expiration_date","typeLabel":"string | null"},"document_type":{"oneOf":[{"type":"string","description":"Additional values may be added.","enum":["quote","binder","policy"],"x-extensible-enum":true,"isRequired":true,"uniqueKey":"policies.items.[INDEX].document_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"policies.items.[INDEX].document_type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].document_type","typeLabel":"enum\u003cstring> | null"},"policy_number":{"oneOf":[{"description":"null when missing, or when only a placeholder such as \"TBD\" is on file.","type":"string","isRequired":true,"uniqueKey":"policies.items.[INDEX].policy_number.oneOf.0","typeLabel":"string"},{"description":"null when missing, or when only a placeholder such as \"TBD\" is on file.","type":"null","isRequired":true,"uniqueKey":"policies.items.[INDEX].policy_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].policy_number","typeLabel":"string | null"}},"required":["id","carrier","total","effective_date","expiration_date","document_type","policy_number"],"uniqueKey":"policies.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"policies","typeLabel":"object[]"},"requirements":{"type":"object","properties":{"blocking":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Stable, machine-readable code. Branch on this, never on description.","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].code","typeLabel":"string"},"param":{"oneOf":[{"description":"Where the fix goes, e.g. policies[pol_…].policy_number, insured.address, signer.borrower or pricing; null when no single field applies.","type":"string","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].param.oneOf.0","typeLabel":"string"},{"description":"Where the fix goes, e.g. policies[pol_…].policy_number, insured.address, signer.borrower or pricing; null when no single field applies.","type":"null","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].param","typeLabel":"string | null"},"description":{"type":"string","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].description","typeLabel":"string"},"due_by":{"oneOf":[{"type":"string","description":"The date an outstanding policy number or document is owed by: 30 days after the agreement is executed (the carrier notice deadline); null before execution. Always null for blocking items, and for CARRIER_UNMATCHED and INSURED_ADDRESS_INCOMPLETE, which have no deadline of their own.","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].due_by.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date an outstanding policy number or document is owed by: 30 days after the agreement is executed (the carrier notice deadline); null before execution. Always null for blocking items, and for CARRIER_UNMATCHED and INSURED_ADDRESS_INCOMPLETE, which have no deadline of their own.","isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].due_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requirements.blocking.items.[INDEX].due_by","typeLabel":"string | null"}},"required":["code","param","description","due_by"],"uniqueKey":"requirements.blocking.items.[INDEX]","typeLabel":"object"},"description":"Must clear before the agreement can be sent. CARRIER_UNMATCHED and INSURED_ADDRESS_INCOMPLETE are listed here early but do not hold the status back yet. Empty once the agreement is sent (except AGREEMENT_DECLINED).","isRequired":true,"uniqueKey":"requirements.blocking","typeLabel":"object[]"},"outstanding":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Stable, machine-readable code. Branch on this, never on description.","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].code","typeLabel":"string"},"param":{"oneOf":[{"description":"Where the fix goes, e.g. policies[pol_…].policy_number, insured.address, signer.borrower or pricing; null when no single field applies.","type":"string","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].param.oneOf.0","typeLabel":"string"},{"description":"Where the fix goes, e.g. policies[pol_…].policy_number, insured.address, signer.borrower or pricing; null when no single field applies.","type":"null","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].param","typeLabel":"string | null"},"description":{"type":"string","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].description","typeLabel":"string"},"due_by":{"oneOf":[{"type":"string","description":"The date an outstanding policy number or document is owed by: 30 days after the agreement is executed (the carrier notice deadline); null before execution. Always null for blocking items, and for CARRIER_UNMATCHED and INSURED_ADDRESS_INCOMPLETE, which have no deadline of their own.","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].due_by.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date an outstanding policy number or document is owed by: 30 days after the agreement is executed (the carrier notice deadline); null before execution. Always null for blocking items, and for CARRIER_UNMATCHED and INSURED_ADDRESS_INCOMPLETE, which have no deadline of their own.","isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].due_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requirements.outstanding.items.[INDEX].due_by","typeLabel":"string | null"}},"required":["code","param","description","due_by"],"uniqueKey":"requirements.outstanding.items.[INDEX]","typeLabel":"object"},"description":"Owed after signing, by due_by. Never blocks the agreement.","isRequired":true,"uniqueKey":"requirements.outstanding","typeLabel":"object[]"}},"required":["blocking","outstanding"],"description":"What's left on the deal. New codes may be added: show description for a code you don't know.","isRequired":true,"uniqueKey":"requirements","typeLabel":"object"},"portal_url":{"oneOf":[{"description":"Where the broker works on this application in the Bridgeline portal (requires a portal login). Null for a test application (livemode false), which is not shown in the portal.","type":"string","isRequired":true,"uniqueKey":"portal_url.oneOf.0","typeLabel":"string"},{"description":"Where the broker works on this application in the Bridgeline portal (requires a portal login). Null for a test application (livemode false), which is not shown in the portal.","type":"null","isRequired":true,"uniqueKey":"portal_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"portal_url","typeLabel":"string | null"},"client_reference_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"client_reference_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"client_reference_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"client_reference_id","typeLabel":"string | null"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string"}},"required":["id","object","livemode","status","created_via","quote_id","accepted_option_id","pricing","price_guaranteed_until","straight_through","agreement","payout","cancellation","insured","broker","policies","requirements","portal_url","client_reference_id","metadata","created_at"],"description":"A deal in progress toward a signed premium finance agreement and loan.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","object":"application","livemode":true,"status":"processing","created_via":"api","quote_id":"\u003cstring>","accepted_option_id":"\u003cstring>","pricing":{"option_id":"\u003cstring>","down_payment_rate":123,"term_months":0,"apr":123,"down_payment":"\u003cstring>","amount_financed":"\u003cstring>","monthly_payment":"\u003cstring>","finance_charge":"\u003cstring>","total_of_payments":"\u003cstring>","total_cost":"\u003cstring>","selected_by":"broker"},"price_guaranteed_until":"\u003cstring>","straight_through":{"route":"straight_through","reasons":[{"code":"\u003cstring>","param":"\u003cstring>","description":"\u003cstring>"}]},"agreement":{"sent_at":"\u003cstring>"},"payout":{"confirmed_at":"\u003cstring>","policies":[{"id":"\u003cstring>","commission_rate":123,"commission":"\u003cstring>","agency_fee":"\u003cstring>"}],"due_to_agency":"\u003cstring>","due_to_billing_company":"\u003cstring>","total":"\u003cstring>"},"cancellation":{"reason":"price_lapsed","at":"\u003cstring>"},"insured":{"name":"\u003cstring>","address":{"line1":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","postal_code":"\u003cstring>"}},"broker":{"email":"\u003cstring>"},"policies":[{"id":"\u003cstring>","carrier":{"name":"\u003cstring>","match":"matched"},"total":"\u003cstring>","effective_date":"\u003cstring>","expiration_date":"\u003cstring>","document_type":"quote","policy_number":"\u003cstring>"}],"requirements":{"blocking":[{"code":"\u003cstring>","param":"\u003cstring>","description":"\u003cstring>","due_by":"\u003cstring>"}],"outstanding":[{"code":"\u003cstring>","param":"\u003cstring>","description":"\u003cstring>","due_by":"\u003cstring>"}]},"portal_url":"\u003cstring>","client_reference_id":"\u003cstring>","metadata":{},"created_at":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e8aabe75-f8eb-4839-9b02-1086ece8ea87":{"description":"Malformed request (bad JSON, version or header).","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3e4dbfb0-dddf-4d98-bb64-8afec45b9ba1":{"description":"Missing, invalid, revoked or expired API key.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ef640618-9252-43c6-b09e-9eb308d0b49f":{"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. TEST_MODE_ONLY: this endpoint takes test-mode (bl_test_) keys only.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4047564a-31cf-44ec-b7d2-4972a4d72109":{"description":"Not found (also returned for other agencies' ids).","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ad356e22-e53d-47f4-b6fe-65fe13ee475a":{"description":"Idempotency-Key reused with a different request, or still in flight.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0d049779-5a03-4128-8f79-79395a9a3517":{"description":"Validation failed.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"05e1f9f6-a02b-4b7f-b492-b5c91cc89315":{"description":"Rate limited. See Retry-After.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"aa0d4b30-9ae8-4ddd-ab8c-5ccafcf47b34":{"description":"Internal error. Safe to retry with the same Idempotency-Key.","content":{"application/json":{"schema":{"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,"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"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","TEST_STEP_OUT_OF_ORDER","RATE_LIMITED","INTERNAL","IDEMPOTENCY_RECORD_LOST","SERVICE_UNAVAILABLE"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"request_id":{"type":"string","pattern":"^req_","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.details.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"},"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.","uniqueKey":"error.application_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"INVALID_REQUEST","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":[{"code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>"}],"application_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a22023bb-4f44-4dfa-9581-94391da2dfd2":{"bearerAuth":{"type":"http","scheme":"bearer","description":"bl_live_… or bl_test_… API key.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"8023b832-7522-40fe-902b-21479c0fbf31":{"url":"https://portal.bridgelinepf.com/api","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"bl_live_… or bl_test_… API key.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"bl_live_… or bl_test_… API key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"bridgeline","siteName":"Bridgeline API","title":"Simulate a signature on the agreement (test mode) - Bridgeline API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T19:02:38.375Z","originalFileLocation":"api-reference/test-helpers/application-sign.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Test-mode keys only. Acts out a signature on a test application\u0026#x27;s sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bridgeline API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Simulate a signature on the agreement (test mode) - Bridgeline API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Test-mode keys only. Acts out a signature on a test application\u0026#x27;s sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bridgeline API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bridgeline.mintlify.site/_mintlify/api/og/v2?division=Test+helpers\u0026amp;title=Simulate+a+signature+on+the+agreement+%28test+mode%29\u0026amp;description=Test-mode+keys+only.+Acts+out+a+signature+on+a+test+application%27s+sent+agreement%2C+in+the+live+order%3A+the+insured+signs+first%2C+then+%28after+the+down+payment%29+the+\u0026amp;theme=7e39ab30fb737f45294908d0\u0026amp;signature=7f9c1112c275687a9fdbe841bca87d58e7743e8cd58e5b9113ddfe48222a43cc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Simulate a signature on the agreement (test mode) - Bridgeline API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Test-mode keys only. Acts out a signature on a test application\u0026#x27;s sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bridgeline.mintlify.site/_mintlify/api/og/v2?division=Test+helpers\u0026amp;title=Simulate+a+signature+on+the+agreement+%28test+mode%29\u0026amp;description=Test-mode+keys+only.+Acts+out+a+signature+on+a+test+application%27s+sent+agreement%2C+in+the+live+order%3A+the+insured+signs+first%2C+then+%28after+the+down+payment%29+the+\u0026amp;theme=7e39ab30fb737f45294908d0\u0026amp;signature=7f9c1112c275687a9fdbe841bca87d58e7743e8cd58e5b9113ddfe48222a43cc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bridgeline/yStK6AGkuVumefxF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bridgeline API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F3B35\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/test-helpers/application-sign.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bridgelinepf.com/#organization\",\"name\":\"Bridgeline API\",\"url\":\"https://docs.bridgelinepf.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bridgeline/LUlq8sZzMg546h-x/logo/light.svg?fit=max\u0026auto=format\u0026n=LUlq8sZzMg546h-x\u0026q=85\u0026s=e4498b7e7ed1e1939afcb0a04a17ff86\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bridgelinepf.com#website\",\"name\":\"Bridgeline API\",\"url\":\"https://docs.bridgelinepf.com\",\"publisher\":{\"@id\":\"https://docs.bridgelinepf.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign#webpage\",\"url\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign\",\"name\":\"Simulate a signature on the agreement (test mode)\",\"description\":\"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\",\"dateModified\":\"2026-12-04T19:02:38.375Z\",\"isPartOf\":{\"@id\":\"https://docs.bridgelinepf.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Test helpers\",\"item\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/quote-interest\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulate a signature on the agreement (test mode)\",\"item\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign#apireference\",\"headline\":\"Simulate a signature on the agreement (test mode)\",\"name\":\"Simulate a signature on the agreement (test mode)\",\"description\":\"Test-mode keys only. Acts out a signature on a test application's sent agreement, in the live order: the insured signs first, then (after the down payment) the agent countersigns and the application becomes active. Nothing is emailed, and no loan is booked. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.\",\"url\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bridgelinepf.com/api-reference/test-helpers/application-sign#webpage\"},\"dateModified\":\"2026-12-04T19:02:38.375Z\",\"publisher\":{\"@id\":\"https://docs.bridgelinepf.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bridgelinepf.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bridgeline API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bridgeline API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/test-helpers/application-sign.md","siteName":"Bridgeline API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Quotes","pages":[{"openapi":"POST /v1/quotes","title":"Create a quote","href":"/api-reference/quotes/create"},{"openapi":"GET /v1/quotes","sidebarTitle":"List quotes","title":"List quotes","href":"/api-reference/quotes/list"},{"openapi":"GET /v1/quotes/{id}","title":"Retrieve a quote","href":"/api-reference/quotes/retrieve"},{"openapi":"POST /v1/quotes/{id}/hosted-link","title":"Get a new hosted link for a quote","href":"/api-reference/quotes/hosted-link"},{"openapi":"POST /v1/quotes/{id}/accept","title":"Accept a quote","href":"/api-reference/quotes/accept"}]},{"group":"Applications","pages":[{"openapi":"GET /v1/applications","title":"List applications","href":"/api-reference/applications/list"},{"openapi":"GET /v1/applications/{id}","title":"Retrieve an application","href":"/api-reference/applications/retrieve"},{"openapi":"POST /v1/applications/{id}/send","title":"Send the agreement","href":"/api-reference/applications/send"},{"openapi":"POST /v1/applications/{id}/void","title":"Void the agreement","href":"/api-reference/applications/void"}]},{"group":"Reference data","pages":[{"openapi":"GET /v1/coverage-types","title":"List coverage types","href":"/api-reference/coverage-types"}]},{"group":"Keys","pages":[{"openapi":"GET /v1/whoami","sidebarTitle":"Check an API key","title":"Introspect the calling API key","href":"/api-reference/whoami"}]},{"group":"Test helpers","pages":[{"openapi":"POST /v1/test_helpers/quotes/{id}/interest","title":"Simulate the insured saying they are interested (test mode)","description":"Test-mode keys only. Does what the insured's \"I'm interested\" on the hosted page does: the quote becomes interested with this option and note. Nothing is emailed or posted anywhere; interest.broker_notification is skipped with reason test_mode. One time per quote, like the hosted page. A live key gets 403 TEST_MODE_ONLY.","href":"/api-reference/test-helpers/quote-interest"},{"openapi":"POST /v1/test_helpers/applications/{id}/sign","title":"Simulate a signature on the agreement (test mode)","href":"/api-reference/test-helpers/application-sign"},{"openapi":"POST /v1/test_helpers/applications/{id}/down_payment","title":"Simulate the down payment (test mode)","description":"Test-mode keys only. Acts out the insured paying the down payment on a test application whose agreement the insured has signed, as the borrower portal would. No money moves. The agent can then countersign. A step out of order is 409 TEST_STEP_OUT_OF_ORDER. A live key gets 403 TEST_MODE_ONLY.","href":"/api-reference/test-helpers/application-down-payment"}]},{"group":"Partners","pages":[{"openapi":"POST /v1/partner/quotes","sidebarTitle":"Create a partner quote","title":"Create a partner quote","href":"/api-reference/partner/quotes/create"},{"openapi":"GET /v1/partner/quotes","sidebarTitle":"List partner quotes","title":"List partner quotes","href":"/api-reference/partner/quotes/list"},{"openapi":"GET /v1/partner/quotes/{id}","sidebarTitle":"Retrieve a partner quote","title":"Retrieve a partner quote","href":"/api-reference/partner/quotes/retrieve"},{"openapi":"POST /v1/partner/quotes/{id}/hosted-link","sidebarTitle":"Create a link to a partner quote","title":"Create a link to a partner quote","href":"/api-reference/partner/quotes/hosted-link"},{"openapi":"GET /v1/partner/coverage-types","sidebarTitle":"List coverage types (partner keys)","title":"List coverage types (partner keys)","href":"/api-reference/partner/coverage-types"},{"openapi":"GET /v1/partner/whoami","sidebarTitle":"Check a partner API key","title":"Introspect the calling partner API key","href":"/api-reference/partner/whoami"}]}]},{"tab":"Error codes","pages":[{"title":"Error codes","href":"/errors"}]}]},"basePath":"","title":"Simulate a signature on the agreement (test mode) - Bridgeline API","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}