Skip to main content
POST
Rate Quote (Stateless)

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
data
object
required

The create-quote payload — the flat field bag, unchanged. Custom fields are validated against your company's field configuration (unknown fields rejected, required fields enforced, values matched to their configured types). Embedded exposure values are validated per-field against the Exposure configuration and must reference existing Exposure records by id; each referenced exposure's stored fields are then merged in for rating, with any fields you supply inline winning over the stored values.

ratingWorkflowName
string

The configured rating workflow to run. Required in practice — there is no default even when a single workflow is configured — but it is not schema-required: rather than a shape rejection, a missing or unknown name returns a 400 listing the configured workflow names (and a company with no workflows configured returns a 422), so callers get an actionable error naming the valid options.

Example:

"standard"

Response

The quote data enriched with rating outputs. Nothing is persisted.

data
object
required

The same field bag from the request, enriched with rating outputs (per-exposure exposureRatingResponse, and the full-term policy rating containers).