retrievePropertyInfoFromZip
Given a zip code and a business state, looks up and returns the Cities and Counties related to that Zip Code as determined by the Geography table, and a flag to determine if the zip code is valid in our data set. Counties are then cross-referenced with business locations
Code
retrievePropertyInfoFromZip › Responses
successmessagedataadd_policies_to_existing_groups
Receives a list of policy dictionaries and assigns it to the given policy_group_id.
Code
add_policies_to_existing_groups › Request Body
policiesReturns-------successmessagesadd_policies_to_existing_groups › Responses
successmessagedataapplication_signature_event_callback
Triggers processing for a created, signed, canceled or signed-by-all Policy Application.
Code
application_signature_event_callback › Request Body
policy_idsigner_namesignature_urlevent_typefile_idapplication_signature_event_callback › Responses
successmessagedatacancel_policy_v2
Code
cancel_policy_v2 › Request Body
policy_idThe UUID of the policy to cancel
cancellation_date^\d{4}-\d{2}-\d{2}$ · requiredThe cancellation date in YYYY-MM-DD format. Must not be in the future.
policy_term_idThe UUID of the policy term to cancel
policy_term_external_system_referenceThe external system reference for the policy term
cancellation_reason_idThe UUID of the cancellation reason from the cancellation_reasons table
cancellation_reasonThe cancellation reason text
cancellation_pending_date^\d{4}-\d{2}-\d{2}$The cancellation pending date in YYYY-MM-DD format. Takes precedence over cancel_date.
print_descriptionOptional print description for the cancellation. Used in cancellation documents and notices.
additional_descriptionOptional additional description or notes for the cancellation. For internal use and documentation.
apply_mepWhether to apply minimum earned premium (MEP) when calculating cancellation refund. When true, ensures the earned premium meets the minimum earned premium requirement configured in the policy lifecycle. Defaults to false.
cancel_policy_v2 › Responses
successWhether the operation was successful
create_policy
Creates a new policy.
Code
create_policy › Request Body
policy_numberinception_dateterm_typeexpiration_daterenewal_term_typeis_renewalunderwriting_questionsunderwriting_optionsas_agentmanual_policy_numberpolicy_type_ideffective_dateexternal_system_referenceproperty_zipsave_policy_typecreate_policy › Responses
successmessagedatacreate_quote_extended
Create a new quote using the API.
Code
create_quote_extended › Request Body
Information about the quote content, or a previously created stateless_quote_id
run_statelessIf true, run the quote in stateless mode. This will create a stateless_quote_id in response. If 'debug', it will run the quote and include execution details, but NOT create a stateless_quote_id. If false (default), the quote will be stored in the database and a policy number/ID is returned.
run_uw_rulesRun Underwriting Rules and calculate limits of Property Items. If run_stateless is set, this will be ignored, as Underwriting Rules are always run in stateless mode.
requoteOnly works when run_stateless is false.
create_quote_extended › Responses
successIndicates if the request was successful
messagesAny messages or errors related to the request
create_quote_extended_async
Create a quote as a background job from the API. This shares functionality with the 'create_quote_extended' endpoint.
Code
create_quote_extended_async › Request Body
run_uw_rulesquote_infoReturns-------successmessagedatacreate_quote_extended_async › Responses
successmessagedatadelete_loss_dispute
Mark a loss_dispute as deleted This is not going to delete the db register, but set the dispute as deleted Parameters ---------- dispute_id : UUID Returns ------- success : bool True if successful, False if not message : list of str Human-readable messages with error.
delete_loss_dispute › Responses
successmessagedataget_loss_disputes
Retrieve a loss dispute or a list of loss disputes Parameters ---------- property_id : UUID Returns ------- success : bool True if successful, False if not message : list of str Human-readable messages with error. data: list of dict with loss_dispute data
get_loss_disputes › Responses
successmessagedataget_policies
Retrieves paginated policies related to contact.
Code
get_policies › Request Body
contact_idfrom_dateto_datesorting_orderpage_numberpage_sizeinclude_policy_photoinclude_canceledpolicy_statusesget_policies › Responses
successmessagedataget_policy_number_history
Every policy holding the number, each flagged is_current. Unranked.
Code
get_policy_number_history › Request Body
policy_numberThe policy number for search.
get_policy_number_history › Responses
Every policy holding the requested number, current holder included. Empty when nothing matches. Order is stable but carries no preference: the caller chooses, using is_current.
successIndicates if the request was successful
get_underlying_policy_changes
Check for underlying policy changes between revisions. This takes the umbrella revision id, and compares the corresponding underlying revision and the previous one.
Code
get_underlying_policy_changes › Request Body
revision_idThe UUID of the current umbrella revision
get_underlying_policy_changes › Responses
import_iso_protection_classes
Import a ISO Protection Classes result. Parameters ---------- property_id : str The UUID of the property to update protection_class: str The ISO Protection Class fire_district: str The ISO Fire District effective_date: Optional[str] The Effective Date county_fips: Optional[str] The County FIPS county_name: Optional[str] The County Name bcegs_year: Optional[str] The BCEGS (Building Code Effectiveness Grading Schedule) Year bcegs_code: Optional[str] The BCEGS (Building Code Effectiveness Grading Schedule) Code bcegs_positive_hit: bool, default to False The BCEGS (Building Code Effectiveness Grading Schedule) Positive Hit distance_to_coast_range_code: Optional[int] The Distance to Coast Range Code distance_to_coast_range_name: Optional[str] The Distance to Coast Range Name distance_to_coast_fips: Optional[str] The Distance to Coast Range Code distance_to_coast_county_name: Optional[str] The Distance to Coast County Name distance_to_coast_ocean_gulf_name: Optional[str] The Distance to Coast Ocean Gulf Name retrieval_date: str The date the ISO Protection Classes result was retrieved
Code
import_iso_protection_classes › Request Body
property_idprotection_classfire_districteffective_datecounty_fipscounty_namebcegs_yearbcegs_codebcegs_positive_hitdistance_to_coast_range_codedistance_to_coast_range_namedistance_to_coast_fipsdistance_to_coast_county_namedistance_to_coast_ocean_gulf_nameretrieval_dateimport_iso_protection_classes › Responses
successmessagedataimport_munichre_eligibility
Import a MunichRe Inland Flood Coverage Eligibility result. Parameters ---------- property_id : str The UUID of the property to update is_eligible : bool Whether the property is eligible for MunichRe Inland Flood Coverage score : str The score returned by MunichRe Inland Flood Coverage Lookup retrieval_date : str The date the lookup was performed, in the format YYYY-MM-DD. Optional. Returns ------- success : bool True if successful, False if not message: str Human-readable error message
import_munichre_eligibility › Responses
successmessagedatais_stp_enabled
Check if STP is enabled for a revision.
Code
is_stp_enabled › Request Body
revision_idRevision ID to check STP enablement for
is_stp_enabled › Responses
successlink_underlying_policy
Links an underlying policy to the current policy revision.
Code
link_underlying_policy › Request Body
revision_idThe UUID of the target revision to link underlying policy to
underlying_policy_idThe UUID of the underlying policy to copy from
link_underlying_policy › Responses
successTrue if the operation was successful, false otherwise
messagesList of human-readable messages (errors or informational)
Response data containing confirmation of successful operation
list_policy_parties
Contacts currently party to the given policies, one row per contact.
Code
list_policy_parties › Request Body
policy_idsPolicies to collect parties from. Several ids at once are supported (a policy group).
rolesRestrict to these roles. A contact is included when it holds at least one requested role, and its roles list is intersected with the request. Omitted: all party roles.
list_policy_parties › Responses
successIndicates if the request was successful
messagesAny messages or errors related to the request
reinstate_policy
Code
reinstate_policy › Request Body
policy_idThe UUID of the policy to reinstate
policy_term_idThe UUID of the policy term to reinstate. Optional: the service falls back to the term on the resolved revision, which is correct for a single-term policy and ambiguous otherwise.
revision_idThe UUID of the revision to reinstate from. Optional: the service resolves the cancelling revision when omitted.
reinstatement_date^\d{4}-\d{2}-\d{2}$Effective date of the reinstatement in YYYY-MM-DD format. Required when lapse is true.
reinstate_reasonThe UUID of a configured reinstatement reason, recorded as the policy status reason
assess_feeWhich reinstatement fee to assess. Mirrors REINSTATEMENT_FEE_TYPES, which the request schema validates with OneOf. Omit to let the policy life cycle decide; sending a value overrides it.
custom_reinstatement_feeOverrides the configured fee amount. Decimal sent as a string to avoid float rounding.
lapseReinstate on a date AFTER the cancel date, leaving a gap in coverage. The service computes and books the gap-credit premium for the uncovered window. Requires reinstatement_date.
propagateWhether legacy accounting recursively reinstates future terms. The billing engine sets this false so cross-term reinstatement is represented by explicit engine events and audit rows.
create_notice_deliverableExpired path only, and therefore inert on this endpoint, which cannot reach expired policies. The Notice of Reinstatement on the Cancelled path is gated on the policy life cycle's send_notice_on_reinstatement, not on this flag.
push_invoice_datesExpired path only, and therefore inert on this endpoint. Pushes out due and cancel dates on renewal invoices.
date_cursorProcessing date-time. Omit to use now.
reinstate_policy › Responses
successWhether the operation was successful
messagesAny messages or errors related to the request
resolve_property_geolocation
Resolve a property's address to a point through a provider, and persist it.
Code
resolve_property_geolocation › Request Body
The property and the address to resolve. Accepts the same shape as update_property_location: 'id' selects the property, and every other recognised key is compared against the stored value and written only when it differs. A key left out is left alone; an empty value clears the column. Unrecognised keys are ignored rather than rejected.
context_identifierReported to integration logging. Usually the policy number.
resolve_property_geolocation › Responses
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: success, data | |
| type = object · requires: success, messages, data |
successThe property's own serialization (Property.to_dict(), which is SNAKE_CASE) plus the keys below. Additional properties are permitted deliberately: the body carries every column and grows with the model.
messagesretrieve_account_history
Retrieves account payment history details for a given policy_id and policy_term_id, optionally taking in filter paramaters.
Code
retrieve_account_history › Request Body
policy_idpolicy_term_idfilter_dictcurrent_pagepage_sizeretrieve_account_history › Responses
successmessagedataretrieve_billing_schedule_options
Retrieves the list of billing schedules associated to a given policy through its policy life cycle.
Code
retrieve_billing_schedule_options › Request Body
policy_numberpolicy_term_idignore_billing_schedule_rolesretrieve_billing_schedule_options › Responses
successmessagedataretrieve_policy
Retrieves top-level information about a policy
Code
retrieve_policy › Request Body
policy_idpolicy_numberrevision_staterevision_idReturns-------successmessagesdataretrieve_policy › Responses
successmessagedataretrieve_policy_change_logs
Code
retrieve_policy_change_logs › Request Body
api_keyAPI key for authentication
filter_byThe date field to filter by. 'date_stamp' - The date the change was made (in CST timezone). Supports time-based filtering if 'allow_timestamp' is set to True. 'date_cursor' - The calculated date in effect upon revision commit. Does not support time-based filtering. 'revision_commit_date_time' - The date and time when the revision was committed. Supports time-based filtering if 'allow_timestamp' is set to True.
from_dateThe start date of the search. If allow_timestamp is True and filter_by is 'date_stamp' or 'revision_commit_date_time', format is 'YYYY-mm-dd HH:MM:SS'. Otherwise, format is 'YYYY-mm-dd'.
to_dateThe end date of the search. If allow_timestamp is True and filter_by is 'date_stamp' or 'revision_commit_date_time', format is 'YYYY-mm-dd HH:MM:SS'. Otherwise, format is 'YYYY-mm-dd'.
allow_timestampIf True and 'filter_by' is set to 'date_stamp' or 'revision_commit_date_time', the 'from_date' and 'to_date' arguments will be treated as datetime with format 'YYYY-mm-dd HH:MM:SS'. If False or not provided, or if 'filter_by' is 'date_cursor', the 'from_date' and 'to_date' arguments will be treated as date with format 'YYYY-mm-dd'.
transactionsLimit the search to the specified transactions
policy_type_idsLimit the search to the specified policy types
revision_idsLimit the search to the specified revisions
policy_idsLimit the search to the specified policies
retrieve_policy_change_logs › Responses
successIndicates if the request was successful
Contains policy change log info as well as revision timestamps
retrieve_policy_snapshot
Retrieves a snapshot of a policy's state as of a specific date.
Code
retrieve_policy_snapshot › Request Body
policy_numberThe policy number to retrieve snapshot information for
dateThe date for which to retrieve the policy snapshot (YYYY-MM-DD)
retrieve_policy_snapshot › Responses
successIndicates if the request was successful
retrieve_revision_billing_schedule_context
BC-22886: gating signals for the Builder's Change Billing Schedule dialog.
Code
retrieve_revision_billing_schedule_context › Request Body
policy_idID of the policy whose term is inspected.
revision_idOptional. ID of the revision being edited in the Builder. When supplied, the gating signals are computed from this revision's own policy term rather than the policy's in-force term, so the dialog stays suppressed on a manual renewal (whose revision lives on a new term with no committed revisions). Omitted -> the policy's current term is used.
retrieve_revision_billing_schedule_context › Responses
messagesAny messages or errors related to the request.
Gating signals for the policy's current term. Defaults (false / empty) when the policy has no current term (new business).
successTrue when the signals were computed successfully.
retrieve_risk_details
Retrieves risk details similar to details in retrieve_risks, but with the addition of extra details like mortgagees and rating information
Code
retrieve_risk_details › Request Body
risk_idThe UUID of an existing risk/property
retrieve_risk_details › Responses
successreview_revision
Manually trigger STP for a revision and update review workflow state.
Code
review_revision › Request Body
revision_idRevision ID to run STP against
review_revision › Responses
successrewrite_policy
API endpoint to rewrite a full quote
rewrite_policy › Request Body
rewritten_revision_external_system_referenceThe external system reference of the revision of the rewritten policy
policy_number_optionThe option to use for the policy number of the policy to be rewritten
effective_dateThe effective date of the policy to be rewritten
revision_idThe revision ID of the policy to be rewritten
revision_external_system_referenceThe external system reference of the revision of the policy to be rewritten
policy_numberThe policy number of the policy to be rewritten
rewritten_policy_numberThe policy number of the rewritten policy
termThe term of the policy to be rewritten
reasonThe reason for rewriting the policy
reason_idThe ID of the reason for rewriting the policy
expiration_dateThe expiration date of the policy to be rewritten
at_renewal_set_policy_term_toThe term to be set to the policy at renewal
rewrite_policy › Responses
successIndicates if the request was successful
run_property_lookup
Code
run_property_lookup › Request Body
property_idUUID of the Property to look up. Required.
integration_instance_idUUID of the IntegrationInstance to run. Required when headless is omitted or false. Ignored when headless is true or a PropertyLookupOptions string.
When true, run every PROPERTY_LOOKUP instance on the property's policy type (integration_instance_id is not required). When a string, run only instances whose property-lookup-options setting includes that option. Quote Wizard property-details save sends runWhenQWUserSavesPropertyDetails.
Optional rating values to persist on the property before the vendor call. Each entry is a category or a user-input label.
run_property_lookup › Responses
successTrue when the lookup ran. False when validation failed, the revision is not open, the vendor errored, or the property address is incomplete.
messagesEmpty on success. On failure: missing mandatories, unknown ids, closed revision, missing address fields, or the vendor error string.
One lookup result when a single integration_instance_id was run. A list of lookup results when headless. An empty array on failure (and also on a successful headless run with no matching instances).
search
Returns a JSON string containing the policies matching the search string entered by the user.
Code
search › Request Body
search_stringstatusespolicy_typesrevision_statesreview_statessort_objcurrent_pagepage_sizesearch › Responses
successmessagedataset_binder_to_active
Code
set_binder_to_active › Request Body
revision_idThe revision ID to bind
external_system_referenceReference to the revision in an external system. If provided, and multiple revisions are found, the latest non archived revision will be used.
set_binder_to_active › Responses
Data related to the request
successIndicates if the request was successful
store_policy_information_extended
Store contact, property and other policy information via the API as part of the create_quote_extended logic.
Code
store_policy_information_extended › Request Body
quote_infopolicy_datarun_uw_rulesstore_policy_information_extended › Responses
successmessagedatasync_underlying_policy_changes
Detect and synchronize underlying policy changes to the current umbrella revision.
Code
sync_underlying_policy_changes › Request Body
revision_idThe UUID of the current umbrella revision
sync_underlying_policy_changes › Responses
update_billing_schedule
update_billing_schedule
update_billing_schedule › Request Body
policy_idID of the policy to update
billing_scheduleID of the billing schedule to apply
policy_term_idOptional ID of the specific policy term to update. If not provided, the current term will be used.
update_billing_schedule › Responses
dataEmpty object when successful
successIndicates if the request was successful
update_contact_interest
Updates the contact's interest. Additional interests may be an additional insured, a land contract holder, a loss payee, a joint interest, or a liability interest.
Code
update_contact_interest › Request Body
revision_idx_revisions_contact_idinterestupdate_contact_interest › Responses
successmessagedataupdate_effective_and_expiration_date
Updates the effective date, expiration date and policy term.
Code
update_effective_and_expiration_date › Request Body
policy_ideffective_dateexpiration_datepolicy_term_typepolicy_type_idupdate_effective_and_expiration_date › Responses
successmessagedataupdate_inactive_policy_groups
Take an iterable of policy_group_ids, determine which policy groups are inactive (have fewer than at least two policies), remove the policy_group_id from each associated policy, and delete each inactive policy group.
Code
update_inactive_policy_groups › Responses
successmessagedataupdate_quote_details
PATCH endpoint for updating answers / limits / deductibles on an existing revision, addressed by human-readable identifiers.
Code
update_quote_details › Request Body
idRevision id. One of id, external_system_reference, or property_id is required.
external_system_referenceCaller-side reference; alternative to id.
property_idProperty id. Derives the revision (via Property.revision_id) and scopes PropertyItem name resolution to this property. RevisionItem (policy-wide) name resolution is unaffected.
Revision-level UW questions, PATCH-merged into the existing list by questionId. Each entry takes questionId or questionText (case-insensitive substring of yes_no_question, scoped to this policy type's effective version) plus yesNoAnswer and optional explanation.
rerateWhen true, the revision is rated synchronously after updates are applied.
run_uw_rulesWhen true, the UW rules engine is run after updates are applied. Useful for callers that want dynamic item mandatoriness recomputed on the new answers.
update_quote_details › Responses
Current full-quote state after the PATCH was applied. Shape matches CreateFullQuoteResponseModel (the same shape returned by create_full_quote, modify_full_quote, and bind_full_quote).
successupdate_rating_information
Updates an existing property/revision's rating information.
Code
update_rating_information › Request Body
property/revision'property_id''revision_id''items']'reset_premiums'Note----If any key is empty, we assume you want to clear it.If you do not want to clear a field, leave the key out of your request.In other words, every key/value pair you send will be checked for discrepencieswith the current data, and changes will be made.update_rating_information › Responses
successmessagedatavehicle_in_force_status
Which of this carrier's policies is a vehicle on, and is each policy's coverage active on a date? (BC-23144 - backs the NCIVS insurance verification adapter.)
Code
vehicle_in_force_status › Request Body
vehicle_vinVehicle Identification Number to resolve; matched case/whitespace-insensitively
as_of_dateThe YYYY-MM-DD date coverage is checked for; any in-term date is supported
policy_type_idsOptional hard filter: only these policy types are considered. Omitted/null returns all policy types and the caller filters on policy_type_id.
vehicle_in_force_status › Responses
successIndicates if the request was successful
