Quote Travel Insurance
POSThttps://api.verticalinsure.com/v1/quote/travel
Quote Travel Insurance
Request
Responses
- 200
- 201
- 400
- 401
- 422
Quote updated
Quote created
Bad request was sent, most likely from a missing parameter.
Either `x-api-client-id` or `Authorization` header must be provided.
The quote or offer no longer exists but is either a pending or active policy.
Authorization: http
name: basic authtype: httpdescription: `Authorization` header with value of `Basic <auth string>` where the `auth string` value is a base64 encoded string of `<client id>:<client secret>` scheme: basic
- curl
- python
- nodejs
- ruby
- php
- CURL
curl -L 'https://api.verticalinsure.com/v1/quote/travel' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"customer": {
"email_address": "user@example.com",
"state": "MN",
"country": "US",
"postal_code": "string",
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"phone_number": "string",
"street": "string",
"city": "string"
},
"metadata": {},
"partner_id": "string",
"policy_attributes": {
"trip_cost": 0,
"trip_cost_currency": "USD",
"trip_start_date": "2024-07-29",
"trip_end_date": "2024-07-29",
"initial_deposit_date": "2024-07-29",
"origin": {
"state": "string",
"country": "US"
},
"destination_countries": [
"string"
],
"additional_travelers": [
{
"first_name": "string",
"middle_name": "string",
"last_name": "string"
}
],
"coverage_type": "BASIC"
},
"quote_id": "string",
"email_quote": false,
"language": "string",
"currency": "USD"
}'
ResponseClear