Claims Asset Management
With the InsureHero Shield API you can upload assets in behalf of your claims. This creates a repository of assets for each claim.
Good to know
Attaching assets to entities like claims & events is a 2 step process.
First assets are uploaded to a private repository. A public URL is returned for each of the uploaded assets.
Then you create/update an entity with the given URLs.
Endpoints
POST
Upload assets
When needed allow users to upload assets to their private repositories.
Upload assets to a claim
POST
https://app.insurehero.io/api/shield/v1/claims/:claimId/assets
When you need to add documents, videos or any other type of asset to backup a claim or attach evidence to a risk item event, you will first need to upload those assets to a risk item.
Path Parameters
claimId*
string
The id of a given claim
name
string
Provides descriptive context for the file being uploaded. If you do not provide a name, the name of each loaded asset will be taken as the value
Headers
Authorization*
string
Bearer access token
Content-Type*
string
multipart/form-data
Request Body
files*
Blob[]
The list of files to be uploaded
Each file will be returned with a success or fail status and a public URL in the case of a success.
Keep in mind
The maximum file size is 4Mb per file.
Only images, videos & PDF MIME types are supported.
Last updated