Request a carrier quote for one application
const url = 'https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/applications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/request-quote';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"operation_id":"example","expected_answer_revision":1,"expected_schema_fingerprint":"example","expected_fact_revision":1,"expected_selection_revision":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/applications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/request-quote \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "operation_id": "example", "expected_answer_revision": 1, "expected_schema_fingerprint": "example", "expected_fact_revision": 1, "expected_selection_revision": 1 }'Queues the indication + quote request for the reviewed application.
Every revision token in the body must match the application you
read (409 otherwise); the application must be ready_for_quote
(422) and its program selected for quoting (409). Returns the
request ledger row (request_id, request_status: queued or
unconfirmed). Track it on the workspace’s application
(request_state, result) or via the api-quotes session. Requires
the broker_submit scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Request a quote for one application; every revision token must match the application you reviewed (409 otherwise).
object
Examplegenerated
{ "operation_id": "example", "expected_answer_revision": 1, "expected_schema_fingerprint": "example", "expected_fact_revision": 1, "expected_selection_revision": 1}Responses
Section titled “Responses”Quote request ledger row ({request_id, request_status, …})
Broker_submit scope required
Submission or application not found
Reviewed application changed
Application not ready for a quote