POST
/
insurance-aggregator
Insurance ggregator
curl --request POST \
  --url https://staging.yasmina.ai/api/v1/car/insurance-aggregator \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "owner_id": "0123456789",
  "car_year": 2020,
  "car_sequence_number": "123456789",
  "car_price": 150000,
  "insurance_type": "comp"
}'
[
  {
    "id": 123,
    "meta_data": {},
    "start_date": "<string>",
    "provider_policy_id": 123,
    "provider_policy": "<string>",
    "order_status": 123,
    "approval_status": 123,
    "end_date": "<string>",
    "is_claimed": true,
    "created_at": "<string>",
    "updated_at": "<string>",
    "client_id": "<string>",
    "canceled_at": "<string>",
    "invoice": "<string>",
    "cancellation_document": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Success

The response is of type object[].