Risk Item Asset Management
With the InsureHero Shield API you can upload assets in behave of your risk items. This creates a repository of assets for each risk item. Then users can request public URLs to these assets to attach them to: risk items, claims, events and more.
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.
Upload assets
When needed allow users to upload assets to their private repositories.
Upload assets to a risk item
POST
https://app.insurehero.io/api/shield/v1/risk-items/:riskItemId/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
Headers
Request Body
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