Getting Policies
Get details for a policy
Getting a Policy
Once you have the id of the policy that’s been created, you can get the details of the policy using [.h-code]GET[.h-code] [.h-endpoint-link]/policies/{policy_id}[.h-endpoint-link]. The policy response will provide you details such as the policy number, coverage values, files, and more. Here’s a sample policy response:
As you can see in the example above, the policy response provides details such as the prices and the coverage details on the policy. Some details to call out:
- The policy_number is the policy number provided by the institution, unlike the id which is the unique id provided by Herald.
- Every policy has a files array containing relevant policy files. Check out our list of supported file types, and read our guide to getting files to learn more about downloading the contents of a file.
- A policy may require actions. If the actions array contains actions with an open status, you should complete these actions to prevent the policy from being cancelled. Learn more in our guide to completing actions.
- Price expectations for the policy response are similar to prices in the quote response and in fact there may be fewer details (ie discounts). Note, the price may change between the time a quote is received and a policy is bound, therefore the prices may not be the same in each response.
- The time that a policy was created is communicated in the created_at property, but Herald currently does not provide a policy status. To check the status of the policy, you should direct users to the portal_link.