Skip to content

Instant quotes

Some markets quote through their own systems. POST /submissions/{id}/instant-quotes asks the connected markets that fit the file.

What happens depends on Valjean’s setting:

Setting Response What happens
A broker approves each ask status: "pending" The ask appears on the file; nothing goes to a carrier until a broker approves
Automatic status: "done", results[] Connected markets are asked at once
Off 403 not_offered Your broker markets the file as usual

Either way the file has to be ready and pass Valjean’s rules (a signed agreement, a complete file, and any approval rules), and a price reaches you only once it’s presented. In automatic mode a result’s outcome is quoted, referred, declined, error, or blocked when a rule stopped it; a quoted result carries the quote only if it could be presented to you at once.

When no connected market fits you get 409 no_instant_market, and your broker markets the file as usual. A file that is already quoted or closed returns 409 not_open.