POST
cURL

Authorizations

Authorization
string
header
required

JWT bearer token. App-user tokens are issued by POST /auth/token (the partner backend calls it as its platform service account); admin and dashboard tokens are issued via OIDC login.

Path Parameters

user_id
string
required

User ID

Body

application/json
benefit_id
string
required
dependant_ids
string[]
required
questionnaire_responses
object[] | null

Response

Premium preview

benefit_name
string
required
coverage_amount
object
required
duration
object
required

A length of time expressed in a single unit.

Wire format: externally-tagged union — single-key object whose key is the unit name (days / months / years) and whose value is the integer count. Example: {"months": 12} or {"years": 1}.

members
object[]
required
nominee_required
boolean
required
plan_code
string
required
premium_amounts
object
required
grace_period_days
integer<int32> | null