A message for our valued customers and partners: This site is retiring, including accounts and API keys, as we migrate to the new developer portal. If you use existing API keys you will be contacted with further migration instructions. Accounts and API keys are not shared between this developer portal and the new developer portal. We recommend you review the new portal's Get Started guide for details on registering a new developer account and requesting new API keys.

Add Document to Submission Request

post

Add Document to Submission Request

Step 2. Upload a document and associate it with a particular Submission Request Id returned from the POST Submission Request operation. File size limit for these documents is 10 MB. This step must be executed after the submission request data was sent to Liberty Mutual. Documents are uploaded one at a time, and after all documents are uploaded, the submission request will need to be submitted. Note: This endpoint is not our preferred approach for uploading documents and is therefore temporary. API consumers should move to supporting the use of presigned URLs and utilize /document-upload-url.

Resource URL

https://test-apis.us-east-1.libertymutual.com/v1 /partner/{partnerId}/submission-request/{submissionRequestId}/document-upload

Header Parameters

Name Description
file-name
(required)

File name including extension which will be used for display purposes in Liberty's document management system

document-type

Document Type code for the uploaded document: * `COVG` - Coverage * `EXPS` - Exposures * `LCI` - Loss/Claims Information * `MVR` - Motor Vehicle Record (MVR)/Driver & Vehicle Info * `SCHD` - Schedules/Worksheets * `SOV` - Statement Of Values * `SUBM` - Submission/Application/Supplemental

mime-type
(required)

Mime type of the document

Body Parameters

Name Description
body

Request Body

Definitions


Name Type Description

Responses

Code Examples

Resource Summary

Security

Content Type

application/octet-stream

Category

submit submission request

Schema:

HTTP Code Description

400

Bad Request

404

Submission Request Id Not Found

413

Request Entity Too Large. The file being uploaded is over the 10MB limit.

500

Internal Server Error

501

Not Implemented

Working...