Skip to content

Request quotes for the file's ready markets

POST
/broker/submissions/{submission_id}/quote
curl --request POST \
--url https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "program_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "producer_email": "example" }'

Requests each ready market (all, or program_ids) through Hedge’s durable quote request; the result arrives on GET .../instant-quotes and GET .../quotes. A market that is not ready says why in results[]: not_ready (a 409 item with its missing[]), not_a_fit (with reason), preparing, already_quoting or already_quoted. The response is 200 when at least one market was requested or is already quoting or quoted, else 409 with the same body. Submit scope.

submission_id
required
string format: uuid
Media typeapplication/json
object
program_ids
Array<string>
<= 30 items
producer_email

REQUIRED with a machine credential.

string
Examplegenerated
{
"program_ids": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
],
"producer_email": "example"
}

The file’s state and each market’s outcome

Media typeapplication/json
object
submission_id
required
string format: uuid
client_reference
string
nullable
portal_url
required
string
automatic_quoting
required

Created with quote: true: each market quotes as soon as it is ready.

boolean
markets
required
Array<object>

One Hedge Instant Quote program on the file and where it stands.

object
program_id
required
string format: uuid
program
required
string
market_id
string format: uuid
nullable
market
required
string
lines
Array<string>
state
required

preparing: Hedge is preparing the application (poll). needs_answers: answer missing[]. ready: request the quote. quoting: requested. quoted: quote is set. declined / not_a_fit: closed, with reason.

string
Allowed values: preparing needs_answers ready quoting quoted declined not_a_fit
status_label
required

Plain words: Preparing · Needs 2 answers · Ready to quote · Quoting · Quoted · $1,234.00 · Declined · reason · Not a fit · reason.

string
missing
required
Array<object>
object
key

The canonical key (what shared_answers takes); null for a file-level gap.

string
nullable
id

The market’s own question id (what answers[program_id] takes).

string
nullable
label
required
string
message
required

Plain-language note on what to do. A gap in the business’s own name, address, contact or effective date names the call that sets it: PATCH /broker/submissions/{id}/business and its field.

string
reason
string
nullable
quote
object
quote_id
required
string
kind
required
string
Allowed values: quote indication
premium

Dollars.

number
nullable
total

Dollars

number
nullable
suggested
required
Array<object>

A class Hedge picked, or ranked for an unanswered class question, that you must confirm (the same ranking POST /broker/appetite/instant returns). Confirm it with confirm_suggestions, by answering with the same value, or answer another.

object
program_id
required
string format: uuid
key
string
nullable
id
required
string
label
required
string
value
required
value_label
string
nullable
message
required
string
warnings
required
Array<string>
results
Array<object>
object
program_id
required
string format: uuid
outcome
required
string
Allowed values: requested already_quoting already_quoted not_ready not_a_fit preparing
status
integer
nullable
reason
string
nullable
missing
Array<object>
object
key

The canonical key (what shared_answers takes); null for a file-level gap.

string
nullable
id

The market’s own question id (what answers[program_id] takes).

string
nullable
label
required
string
message
required

Plain-language note on what to do. A gap in the business’s own name, address, contact or effective date names the call that sets it: PATCH /broker/submissions/{id}/business and its field.

string
Example
{
"markets": [
{
"state": "preparing",
"quote": {
"kind": "quote"
}
}
],
"results": [
{
"outcome": "requested"
}
]
}

No market was requested (see results), or not_instant_flow: the file was not created through this flow