Risk Item management
Last updated
Last updated
Adding a Risk Item to a policy defines the "insured subject," such as personal items (eyewear, bicycles), larger assets (vehicles), an individual's life or health, and shipping cargo. This step tailors the subject to specific coverage plans, optimizing pricing and operational efficiency.
For practical guidance, we encourage you to explore our , showcasing pre-configured payloads. These examples are illustrative, and adjustments may be necessary based on the insurance product and jurisdiction.
POST
POST
GET
GET
GET
GET
PATCH
DELETE
To gather the requisite data for creating a risk-item, it's advisable to utilize the endpoints detailed in the policy management section. There, you can access information on available policies, enabling you to procure the necessary details for the required package. This facilitates obtaining insights into the package's variants and coverages.
POST
https://app.insurehero.io/api/shield/v1/risk-items
Authorization*
string
Bearer access token
package_uid*
string
The uid of the package to subscribe to.
policy_uid*
string
The uid of the policy associated.
start_date*
string
Risk item starting date (ISO 8601 format)
end_date*
string
Risk item ending date (ISO 8601 format)
insured_subject*
object
Insured information to be included in the risk item. identifier_value and identifier_type are required fields.
uid*
string
Unique identifier
beneficiaries
object []
List of users who could be beneficiaries. Email or phone are the only required field, the others are optional.
authorized_claimants
object []
List of users who would be authorized claimants. Email is the only required field, the others are optional.
metadata
object
Additional data to include in the risk item
data
object
Object containing information about a risk item
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
object []
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data
Add a new event with asynchronous data to a risk item
POST
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId/events
Authorization*
string
Bearer access token
riskItemId*
string
Risk item identifier
event_data*
object
Additional data related to an event. "start_date" and "end_date" are obligatory
metadata
object
Additional data to include in the event
uid
text
Unique identifier for the event
data
object
Contains event details
id
uuid
Unique identifier for the event
risk_item_id
uuid
Unique identifier for the associated risk item
event_data
object
Event-related details
event_data.start_date
string
Start date of the event
event_data.end_date
string
End date of the event
metadata
object
Additional event metadata
metadata.description
string
Description of the event
uid
string
Unique event identifier
Paginated list of all risk items. Page size cannot exceed 100 records at a time.
GET
https://app.insurehero.io/api/shield/v1/risk-items
Authorization*
string
Bearer access token
from*
string
Starting record index
to*
string
Ending record index
data
object []
List of risk items
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
object []
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data
GET
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId
Authorization*
string
Bearer access token
riskItemId*
string
Risk item identifier
data
object
Object containing information about a risk item
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
object []
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data
GET
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId/events
Events in a risk item
Authorization*
string
Bearer access token
riskItemId*
string
The id of the risk item associated with the events
GET
https://app.insurehero.io/api/shield/v1/users/:userId/risk-items
Authorization*
string
Bearer access token
userId*
string
user identifier
data
object []
List of risk items associated with a user
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
object []
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data
You can cancel a Risk Item by modifying its end-date
PATCH
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId/cancel
Authorization*
string
Bearer access token
riskItemId
*
string
Risk item identifier
end_date*
date
End date of the Risk item. If you send "cancel" the current date is sent.
data
object
Object containing information about a risk item
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
object []
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data
This endpoint is useful to cancel a risk-item immediately
DELETE
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId/rescission
Authorization*
string
Bearer access token
riskItemId
*
string
Risk item identifier
data
object
Object containing information about a risk item
id
uuid
Unique identifier for the risk item
policy_id
uuid
Unique identifier for the associated policy
authorized_claimants
object []
List of authorized claimants
authorized_claimants.email
string
Email of the authorized claimant
authorized_claimants.name
string
Name of the authorized claimant
authorized_claimants.phone
string
Phone number of the authorized claimant
package_id
uuid
Unique identifier for the coverage package
start_date
string
Start date of the coverage period
end_date
string
End date of the coverage period
beneficiaries
array
List of beneficiaries
beneficiaries.email
string
Email of the beneficiary
beneficiaries.name
string
Name of the beneficiary
beneficiaries.phone
string
Phone number of the beneficiary
beneficiaries.group_uid
string
Unique identifier for the beneficiary’s group
insured_subject
object
Details of the insured subject
insured_subject.identifier_value
string
Identifier of the insured subject
insured_subject.identifier_type
string
Type of identifier
insured_subject.ruc
string
Taxpayer identification number
insured_subject.driver_id
string
Driver's identification number
insured_subject.group_uid
string
Unique identifier of the insured group
insured_subject.group_name
string
Name of the insured group
insured_subject.policy_note
string
Policy coverage notes
insured_subject.guide_number
string
Tracking number for the shipment
insured_subject.plate_number
string
License plate of the transport vehicle
insured_subject.subject_type
string
Type of insured subject
insured_subject.invoice_count
number
Number of invoices related to the insured subject
insured_subject.departure_city
string
City of departure
insured_subject.departure_date
string
Departure date and time
insured_subject.content_category
string
Category of the transported content
insured_subject.departure_coords
string
GPS coordinates of departure location
insured_subject.destination_city
string
Destination city
insured_subject.driver_full_name
string
Full name of the driver
insured_subject.primary_category
string
Main category of insured items
insured_subject.business_industry
string
Industry related to the insured subject
insured_subject.policy_observations
string
Additional observations about the policy
insured_subject.total_insured_value
number
Total insured value in policy currency
status
string
Current status of the risk item
uid
string
Unique identifier
assets
object []
List of associated assets
metadata
object
Additional structured data