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 Files

post

Add Files

Add a file to the document

Resource URL

https://test-apis.ap-southeast-1.libertymutual.com/api/th/claims /file

Header Parameters

Name Values Description
x-api-key
(required)

Api key to access the API

x-auth-token
(required)

Authentication token to access the API (Get from user service resource /auth/login)

Body Parameters

Name Values Description
documentId
(required)

Document id

fileType
(required)

File type

Attachments


Name Value Description
file
(required)

File

Request Body

Definitions


Name Type Description

documentId

(required)

string

Document id

fileType

(required)

string

File type

file

(required)

file

File

Responses

Code Examples

Try it out !!

Add a file to the document

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Content Type

multipart/form-data

Category

Document

Schema:

HTTP Code Description

401

Unauthorized

403

Forbidden

404

Not Found

Working...