Quote Event Host Cancellation Insurance PP
Authorization header with value of Basic <auth string> where the auth string value
is a base64 encoded string of <client id>:<client secret>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
emailSHA-256 hash of normalized email (trimmed + lowercase), represented as a 64-character hex string.
^[A-Fa-f0-9]{64}$2-character state code. Either state or postal_code is required when requesting a quote.
1 <= lengthISO 3166-1 code
2 <= length <= 6"US"Value in
- "US"
- "CA"
- "AU"
- "NZ"
- "GB-SCT"
Either state or postal_code is required when requesting a quote.
1 <= length1 <= length1 <= length1 <= length1 <= lengthUnit, apartment or suite for the mailing address. Appended to street.
1 <= lengthRequired for renters and probate bond products.
dateThis field overrides the partner associated with the policy. This is not required as we typically retrieve the partner information off of the provided credentials.
Optional named insured information for the policy. Only required if the named insured is different than the applicant (customer).
State as a 2-letter code or full name, example "MI", for Michigan
2-character country code
"US"Value in
- "US"
Contact information regarding policy if policy is being purchased on behalf of the policy holder.
int321 <= valueProvide all events happening within the overall event. For example, if the overall event is a wedding, you may have a ceremony, and a reception.
Each item:
datedateint321 <= valueThe total expense budget for the event, in dollars.
int64Additional Questions
Is your event located indoors?
Will all necessary arrangements be made at least 14 days prior to the event start date?
Are there any known circumstances that could lead to a loss?
Does the selected limit accurately encompass all of your costs, as closely as possible?
I understand the COVID exclusion.
I confirm all information provided is true and accurate.
Reference an existing quote. Only required if attempting to update an existing quote.
Send an email to the customer with the quote and option to purchase. Not required.
falseValue in
- "USD"
- "CAD"
- "AUD"
- "NZD"
- "GBP"
- "EUR"
- "CHF"
- "JPY"
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/quote/event-host-cancellation-pp" \ -H "Content-Type: application/json" \ -d '{ "customer": { "email_address": "user@example.com", "first_name": "string", "last_name": "string" } }'{ "policy_attributes": { "named_insured": { "name": "string", "street": "string", "city": "string", "state": "MI", "postal_code": "string", "country": "US" }, "contact": { "name": "string", "email_address": "string", "phone_number": "string" }, "number_of_events": 1, "events": [ { "event_name": "string", "event_start_date": "2019-08-24", "event_end_date": "2019-08-24", "event_location": { "venue_name": "string", "venue_street_address": "string", "venue_city": "string", "venue_state": "string", "venue_zip_code": "string", "venue_country": "string" }, "event_type": "string", "max_daily_attendees": 1 } ], "total_event_expense_budget": 0, "additional_questions": { "event_indoors": true, "event_arrangements": true, "event_exposure": true, "limit_confirmation": true, "event_exclusion": true, "event_certification": true } }, "premium_amount": 1, "policy_number": "string", "partner": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_business_name": "string" }, "policy_documents": [ { "document_type": "POLICY", "url": "string" } ], "policy_status": "ACTIVE", "issued_date": "2019-08-24T14:15:22Z", "expiration_date": "string", "effective_date": "string", "quote_date": "2019-08-24T14:15:22Z", "product": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "event-participation-cancellation-insurance", "friendly_name": "string", "abbreviation": "string", "enabled": true, "description": "string", "peril_heading": "string", "perils": [ "string" ], "descriptors": [ "string" ], "promotional_header": "string", "promotional_description": "string", "accept_action_text": "string", "decline_action_text": "string", "legal_disclaimer": "string", "privacy_policy_url": "string", "terms_conditions_url": "string", "additional_policy_purchase_email_message": "string", "layout": "string", "recommended_badge_text": "string", "carrier_logo_url": "string", "carrier_name": "string", "carrier_email": "string", "carrier_phone": "string", "claims_url": "string" }, "endorsement_price_changes": 0, "subscription_premium": { "payments_required": 0, "payment_amount": 0, "initial_payment_amount": 0, "can_cancel": true }, "currency": "USD", "language": "string", "total": 0, "taxes_and_fees": [ { "amount": 0, "description": "string", "type": "fee", "included_in_premium": true, "include_in_marketing_share": true, "refundable": true, "taxable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "version": 0, "quote_id": "string", "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf", "distribution_channel": "string", "is_test": true, "metadata": { "property1": "string", "property2": "string" }, "checkout_url": "string", "recommendation": { "message": "string", "enabled": true }, "policy_holder": { "first_name": "string", "middle_name": "string", "last_name": "string", "email_address": "string", "email_address_hash": "string", "phone_number": "string", "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "birth_date": "2019-08-24" }}{ "policy_attributes": { "named_insured": { "name": "string", "street": "string", "city": "string", "state": "MI", "postal_code": "string", "country": "US" }, "contact": { "name": "string", "email_address": "string", "phone_number": "string" }, "number_of_events": 1, "events": [ { "event_name": "string", "event_start_date": "2019-08-24", "event_end_date": "2019-08-24", "event_location": { "venue_name": "string", "venue_street_address": "string", "venue_city": "string", "venue_state": "string", "venue_zip_code": "string", "venue_country": "string" }, "event_type": "string", "max_daily_attendees": 1 } ], "total_event_expense_budget": 0, "additional_questions": { "event_indoors": true, "event_arrangements": true, "event_exposure": true, "limit_confirmation": true, "event_exclusion": true, "event_certification": true } }, "premium_amount": 1, "policy_number": "string", "partner": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_business_name": "string" }, "policy_documents": [ { "document_type": "POLICY", "url": "string" } ], "policy_status": "ACTIVE", "issued_date": "2019-08-24T14:15:22Z", "expiration_date": "string", "effective_date": "string", "quote_date": "2019-08-24T14:15:22Z", "product": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "event-participation-cancellation-insurance", "friendly_name": "string", "abbreviation": "string", "enabled": true, "description": "string", "peril_heading": "string", "perils": [ "string" ], "descriptors": [ "string" ], "promotional_header": "string", "promotional_description": "string", "accept_action_text": "string", "decline_action_text": "string", "legal_disclaimer": "string", "privacy_policy_url": "string", "terms_conditions_url": "string", "additional_policy_purchase_email_message": "string", "layout": "string", "recommended_badge_text": "string", "carrier_logo_url": "string", "carrier_name": "string", "carrier_email": "string", "carrier_phone": "string", "claims_url": "string" }, "endorsement_price_changes": 0, "subscription_premium": { "payments_required": 0, "payment_amount": 0, "initial_payment_amount": 0, "can_cancel": true }, "currency": "USD", "language": "string", "total": 0, "taxes_and_fees": [ { "amount": 0, "description": "string", "type": "fee", "included_in_premium": true, "include_in_marketing_share": true, "refundable": true, "taxable": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "version": 0, "quote_id": "string", "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf", "distribution_channel": "string", "is_test": true, "metadata": { "property1": "string", "property2": "string" }, "checkout_url": "string", "recommendation": { "message": "string", "enabled": true }, "policy_holder": { "first_name": "string", "middle_name": "string", "last_name": "string", "email_address": "string", "email_address_hash": "string", "phone_number": "string", "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "birth_date": "2019-08-24" }}{ "error": "string", "error_code": "string", "message": "string", "reason": "string", "status": 0}{ "error": "string", "error_code": "string", "message": "string", "reason": "string", "status": 0}