Claims Management
Last updated
Last updated
To initiate a claim using the Shield API, the user creating the claim must first be registered. For security reasons, we recommend using the Once verified, follow this workflow: retrieve the user’s active risk items, which include items where they are the authorized claimant. Present these items to the user for selection. Upon selection, you can use the risk item UID to retrieve the available variants. With the claimant, risk item, and variant details established, a claim can be created, tying together the claimant, the risk item, and the contested variant. A claim allows you to explain what happened to a single risk item with regard to a specific variant, which has its own rules and exceptions. During the claim process, the user might be asked to provide additional information to corroborate their claim; this information is archivable using the communication endpoints.
GET
GET
GET
GET
POST
GET
GET
GET
POST
POST
GET
To initiate a claim using the Shield API, the user creating the claim must first be registered. For security reasons, this is accomplished via an OTP (One-Time Password) confirmation code sent to the user’s email to confirm that they are the owner of the email submitting the claim.
Once verified, the workflow is as follows: retrieve the user’s active risk items, which include items where they are either the holder or an authorized claimant. Present these items to the user for selection. Upon selection, you can now use the risk item UID to retrieve the available coverages by identifying the correct variant. With the claimant, risk item, and coverage details established, a claim can then be created, tying together the claimant, the risk item, the contested coverage, and the relevant policy. A claim allows you to explain what happened to a single risk item in regards to a specific coverage, which has its own rules and exceptions. During the claim process, the user might be asked to provide additional information to corroborate their claim.
You can identify the user using its uid or id.
GET
https://api.insurehero.io/api/shield/v1/users/:userId
Authorization*
string
Bearer access token
userId*
string
Either user_id or uid
searchBy
id | uid
Field use to search for a matching user. Default to 'id'
Or using its email.
GET
https://api.insurehero.io/api/shield/v1/users/by-email/:userEmail
userEmail*
string
The user email
data
object
Object containing information about a user
channel_id
uuid
Unique identifier of the channel.
string
User's email address.
first_name
string
User's first name.
last_name
string
User's last name.
phone
string
User's phone number.
uid
string
Unique user identifier.
gender
string
User's gender.
dob
string
Date of birth in ISO 8601 format.
address
string
User's address.
document_type
string
Type of document.
document_number
string
User's document number.
bank_accounts
object[]
List of user's personal bank accounts.
company_name
string
Name of the user's company.
company_role
string
User's role in the company.
company_email
string
Company email address.
company_identifier
object
Identification details of the company.
company_address
string
Address of the company.
company_bank_accounts
object []
List of company's bank accounts.
group_id
uuid
Identifier of the user's group.
metadata
jsonb
Additional user metadata.
Bank Account Structure
account_name
string
Name of the account holder.
bank_name
string
Name of the bank.
account_number
string
User's account number.
bic_swift
string
Bank's BIC/SWIFT code.
iban
string
International Bank Account Number (IBAN).
routing_number
string
Routing number for the account.
country
uuid
Country identifier.
currency
uuid
Currency identifier.
account_type
string
Type of account.
bank_address
string
Address of the bank.
additional_info
string
Additional details.
Company Identifier
type
string
Type of company identifier.
value
string
The actual identifier value.
After retrieving user information, you can access all risk items associated with them. It's important to note that this association relies on the 'authorized_claimants' array within the risk items. Each object inside this array must include the 'email' key with the user's email address, which should be registered using the user post route. These email addresses must correspond to existing entries in the user table for the association to be valid.
GET
https://api.insurehero.io/api/shield/v1/users/:userId/risk-items
Authorization*
string
Bearer access token
userId*
string
Either user_id or uid
searchBy
id | uid
Field use to search for a matching user. Default to 'id'
id
uuid
Unique identifier of the risk item.
policy_id
uuid
Identifier of the associated policy.
authorized_claimants
object[]
List of authorized claimants.
package_id
uuid
Identifier of the insurance package.
start_date
string
Start date of the coverage.
end_date
string
End date of the coverage.
beneficiaries
object[]
List of beneficiaries.
insured_subject
object
Information about the insured subject.
status
string
Status of the risk item.
uid
string
User identifier.
assets
object[]
List of associated assets.
metadata
jsonb
Additional metadata.
string
Email of the authorized claimant.
string
Email of the beneficiary.
identifier_value
string
Unique identifier value of the insured subject.
identifier_type
string
Type of identifier.
You can get all the variants available that cover a Risk Item
GET
https://api.insurehero.io/api/shield/v1/risk-items/:riskItemId/variants
Authorization*
string
Bearer access token
riskItemId*
string
The risk item ID
id
uuid
Unique identifier of the variant.
uid
string
User identifier.
name
string
Name of the variant.
channel_id
uuid
Identifier of the channel.
conditions
string
Conditions associated with the variant.
created_at
string
Date and time of creation.
deductible
string
Deductible amount.
deleted_at
string
Deletion timestamp.
exclusions
string
Exclusions related to the variant.
updated_at
string
Last update timestamp.
coverage_id
uuid
Identifier of the associated coverage.
description
string
Description of the variant.
gross_price
string
Gross price of the variant.
claim_schema
jsonb
Claim schema for this variant.
Once you have all the information you can create the claim.
Good to know
It's very likely that the UID of the variants might not be descriptive enough or could even be confusing (imagine a variant named "life_insurance_up_to_1,000"). Therefore, we recommend displaying the variant's description and/or name when selecting it, while sending us the variant UID in the background.
POST
https://app.insurehero.io/api/shield/v1/claims
Authorization*
string
Bearer access token
User-Authorization*
string
risk_item_id*
string
Item being claimed
variant_id*
string
The coverage variant chosen for this claim
metadata
object
Additional data of this claim
subject*
string
A sentence describing the claim
incident*
IncidentType
Incident data
claim_amount
number
A positive number requested to be paid
IncidentType
date*
date
summary
string
details*
DetailsType
adittional_properties*
JSON
DetailsType
transaction*
TransactionType
description
string
TransactionType
date
string
amount
number
method
VISA, MASTERCARD, AMEX, DISCOVER o TRANSFER
retailer
string
description
string
Fetch all claims from a given user
GET
https://api.insurehero.io/api/shield/v1/users/:userId/claims
userId*
string
Either user_id or uid
searchBy
id | uid
Field use to search for a matching user. Default to 'id'
Authorization*
string
Bearer access token
data
object
Claims data List of claims related to the user.
id
uuid
Unique identifier of the claim
package_id
string
Identifier of the associated package
subject
string
Subject or title of the claim
claimant_id
string
Unique identifier of the claimant
risk_item_id
uuid
Identifier of the associated risk item
variant_id
uuid
Identifier of the policy variant
type
string
Type of insurance claim
status
string
Current status of the claim
uid
string
Unique identifier of the claim in external systems
insurer_claim_number
string
Claim number assigned by the insurer
internal_claim_number
number
Internal claim number assigned by the system
incident_date
string
Date and time of the incident (ISO 8601 format)
consent_date
string
Date when consent was given, if applicable
resolution_date
string
Date when the claim was resolved, if applicable
assets
object[]
List of associated assets
incident
object
Contains information about the reported incident, including date, details, and additional properties.
claim_amount
number
Total amount claimed
communications
object[]
List of communications related to the claim
metadata
object
Additional metadata about the claim
policy_reference
object
Holds policy-related details, including policy ID, number, coverage variant, and pricing information.
claimant_data
object
Stores personal information about the claimant, such as name, contact details, and identification data.
GET
https://app.insurehero.io/api/shield/v1/claims
A paginated list of all claims.
Page size cannot exceed 100 records at a time.
Authorization*
string
Bearer access token
from*
string
Starting record index
to*
string
Ending record index
comm_info
boolean
Communication information for that claim
policy_ref
boolean
The policy detail for that claim
general
boolean
The details of the claim
data
object []
List of claims related to the user.
id
uuid
Unique identifier of the claim
communications
object []
List of communications related to the claim
policy_reference
object
Reference to the associated policy and its details
created_at
string
Date and time when the claim was created
updated_at
string
Date and time when the claim was last updated
deleted_at
string
Date and time when the claim was deleted (if any)
risk_item_id
uuid
Identifier of the related risk item
claimant_id
uuid
Identifier of the claimant
channel_id
uuid
Identifier of the communication channel
subject
string
Brief description of the claim
insurer_claim_number
string
Claim number assigned by the insurer
internal_claim_number
number
Internal claim number for tracking
status
string
Current status of the claim
incident_date
string
Date and time of the incident
resolution_date
string
Date and time when the claim was resolved (if any)
claim_amount
string
Amount claimed
payout_amount
string
Amount paid by the insurer
metadata
object
Additional metadata for the claim
assets
object []
List of assets related to the claim
type
string
Type of insurance claim
consent_date
string
Date when consent was given (if required)
incident
object
Details about the incident
package_id
uuid
Identifier of the related insurance package
transaction_date
string
Date of the related transaction
uid
string
Unique identifier for the claim (if available)
variant_id
uuid
Identifier of the associated policy variant
claimant_data
object
Personal and contact details of the claimant
required_documents
object
List of required documents for the claim
owner_id
uuid
Identifier of the claim owner
asignee_id
uuid
Identifier of the person assigned to the claim
GET
https://app.insurehero.io/api/shield/v1/claims/:claimId
Authorization*
string
Bearer access token
claimId*
string
Claim identifier
Query Params
comm_info
boolean
Communication information for that claim
policy_ref
boolean
The policy detail for that claim
general
boolean
The details of the claim
id
uuid
Unique identifier of the claim
communications
object []
List of communications related to the claim
policy_reference
object
Reference to the associated policy and its details
created_at
string
Date and time when the claim was created
updated_at
string
Date and time when the claim was last updated
deleted_at
string
Date and time when the claim was deleted (if any)
risk_item_id
uuid
Identifier of the related risk item
claimant_id
uuid
Identifier of the claimant
channel_id
uuid
Identifier of the communication channel
subject
string
Brief description of the claim
insurer_claim_number
string
Claim number assigned by the insurer
internal_claim_number
number
Internal claim number for tracking
status
string
Current status of the claim
incident_date
string
Date and time of the incident
resolution_date
string
Date and time when the claim was resolved (if any)
claim_amount
string
Amount claimed
payout_amount
string
Amount paid by the insurer
metadata
object
Additional metadata for the claim
assets
object []
List of assets related to the claim
type
string
Type of insurance claim
consent_date
string
Date when consent was given (if required)
incident
object
Details about the incident
package_id
uuid
Identifier of the related insurance package
transaction_date
string
Date of the related transaction
uid
string
Unique identifier for the claim (if available)
variant_id
uuid
Identifier of the associated policy variant
claimant_data
object
Personal and contact details of the claimant
required_documents
object
List of required documents for the claim
owner_id
uuid
Identifier of the claim owner
asignee_id
uuid
Identifier of the person assigned to the claim
Add a new event with asynchronous data to a claim
POST
https://app.insurehero.io/api/shield/v1/claims/:claimId/events
Authorization*
string
Bearer access token
ClaimId*
string
Claim 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
metadata
object
Additional metadata related to the event.
additional_properties
string
Additional custom properties.
event_data
object
Details of the event.
start_date
string
Event start date.
end_date
string
Event end date.
amountPaid
number
Amount paid in the event.
eventType
string
Type of event.
GET
https://app.insurehero.io/api/shield/v1/claims/:claimId/events
Events in a claim
Authorization*
string
Bearer access token
ClaimId*
string
The id of the claim associated with the events
id
uuid
Unique identifier of the claim
communications
object []
List of communications related to the claim
policy_reference
object
Reference to the associated policy and its details
created_at
string
Date and time when the claim was created
updated_at
string
Date and time when the claim was last updated
deleted_at
string
Date and time when the claim was deleted (if any)
risk_item_id
uuid
Identifier of the related risk item
claimant_id
uuid
Identifier of the claimant
channel_id
uuid
Identifier of the communication channel
subject
string
Brief description of the claim
insurer_claim_number
string
Claim number assigned by the insurer
internal_claim_number
number
Internal claim number for tracking
status
string
Current status of the claim
incident_date
string
Date and time of the incident
resolution_date
string
Date and time when the claim was resolved (if any)
claim_amount
string
Amount claimed
payout_amount
string
Amount paid by the insurer
metadata
object
Additional metadata for the claim
assets
object []
List of assets related to the claim
type
string
Type of insurance claim
consent_date
string
Date when consent was given (if required)
incident
object
Details about the incident
package_id
uuid
Identifier of the related insurance package
transaction_date
string
Date of the related transaction
uid
string
Unique identifier for the claim (if available)
variant_id
uuid
Identifier of the associated policy variant
claimant_data
object
Personal and contact details of the claimant
required_documents
object
List of required documents for the claim
owner_id
uuid
Identifier of the claim owner
asignee_id
uuid
Identifier of the person assigned to the claim
claims_events
object []
List of events associated with the claim
To create a claim without User-Authorization token, you will need to contact our support team. Once you have requested authorization and it has been granted, you will be provided with the specific instructions to carry out this action.
You can still use the method of sending the token and not sending the claimant_email even if your channel has permissions.
POST
https://app.insurehero.io/api/shield/v1/claims
Authorization*
string
Bearer access token
risk_item_id*
string
Item being claimed
claimant_email*
string
Claimant email
variant_id*
string
The coverage variant chosen for this claim
metadata
object
Additional data of this claim
subject*
string
A sentence describing the claim
incident*
IncidentType
Incident data
claim_amount
number
A positive number requested to be paid
Types of responses
IncidentType
date*
date
summary
string
details*
DetailsType
adittional_properties*
JSON
DetailsType
transaction*
TransactionType
description
string
TransactionType
date
string
amount
number
method
VISA, MASTERCARD, AMEX, DISCOVER o TRANSFER
retailer
string
description
string
claimant_data
object
Information about the claimant.
id
uuid
Unique identifier of the claimant.
dob
string
Date of birth of the claimant.
uid
string
Unique user identifier.
name
string
Full name of the claimant.
string
Email address of the claimant.
phone
string
Phone number of the claimant.
gender
string
Gender of the claimant.
address
string
Address of the claimant.
group_id
uuid
Group identifier associated with the claimant.
metadata
object
Additional metadata related to the claimant.
channel_id
uuid
Identifier of the communication channel.
company_name
string
Name of the company associated with the claimant.
company_role
string
Role of the claimant within the company.
bank_accounts
object []
List of bank accounts associated with the claimant.
company_email
string
Corporate email of the claimant.
document_type
string
Type of identification document.
company_address
string
Address of the company associated with the claimant.
document_number
string
Identification document number.
company_identifier
object
Company identification details.
company_bank_accounts
object []
List of corporate bank accounts.
policy
object
Contains information about the insurance policy.
id
uuid
Unique identifier of the policy.
uid
string
Unique identifier of the policy.
version
number
Version number of the policy.
metadata
object
Additional metadata related to the policy.
policy_number
string
Policy number assigned by the insurer.
total_gross_price
string
Total gross price of the policy (can include calculations).
taxes
object []
List of taxes applied to the policy.
name
string
Name of the tax.
rate
number
Tax rate or amount applied.
markup
object []
List of markups applied to the policy.
owner
string
Entity responsible for the markup.
taxes
object []
List of taxes associated with the markup.
net_price
string
Net price of the markup.
gross_price
string
Gross price of the markup.
variant
object
Variant information.
id
string
Unique identifier.
name
string
Name of the variant.
taxes
object []
List of taxes applied.
markup
object []
List of markups applied.
conditions
string
Conditions associated with variant.
created_at
string
Creation timestamp.
exclusions
string
Exclusions for the variant.
description
string
Description.
gross_price
string
Gross price of the variant.
pricing_type
string
Type of pricing.
pricing_rules
object
Pricing rules configuration.
coverage_limits
number
Coverage limits applied.