🛫
XClaim API Partner Docs
  • Introduction
  • Authentication
  • Claim Creation Workflows
    • Appendix
  • First Notice Of Loss (FNOL)
    • Get Claim Selector
    • Get Claim Types
    • Get Fnol
  • Claims
    • Create a new Claim
    • List of all claims
    • Update an existing Claim
    • Get Claim
    • Claim Policy Details
    • List of claims by booking reference
    • List of claims by claim type
    • Claim Files
      • Upload File
      • Upload File for an Existing Claim
      • List of Files by Claim
      • Get File
      • Delete File
  • Webhooks
    • Overview
    • Verifying signatures
    • Claim Webhooks
  • Integrations
    • Cancel For Any Reason (CFAR)
    • Claim Eligibility
      • Get Claim Eligibility Check
Powered by GitBook
On this page
  1. Claims
  2. Claim Files

Upload File for an Existing Claim

Upload a file with and attach it to a claim that has already been submitted

Upload File for an Existing Claim

POST https://staging.api.xclaim.xcover.com/partners/{partnerCode}/claims/{claimUuid}/files

Upload a file with and attach it to a claim that has already been submitted. Note that the section_field_id in this request can be obtained from the FNOL request for a given claim type.

Path Parameters

Name
Type
Description

partnerCode*

String

eg. XYZ999

Headers

Name
Type
Description

Authorization*

String

Bearer {{JWT token}}

{
    "file": "dummy.pdf <file-resource>",
    "section_field_id": null
}
{
    "type": "exception",
    "message": "422 Unprocessable Content",
    "errors": {
        "sectionFieldId": [
            "The section field id must be a valid UUID."
        ]
    }
}
{
    "file": "dummy.pdf <file-resource>",
    "section_field_id": "96f13930-f64b-4f00-90cd-7b6983edfb91"
}
{
    "type": "exception",
    "message": "Could not find the claim with id of fd98bfd5-7702-4ede-afdc-78686b3bdf99"
}
{
    "file": "dummy.pdf <file-resource>",
    "section_field_id": "96f13930-f64b-4f00-90cd-7b6983edfb91"
}
{
    "data": {
        "id": "017dc109-10a6-4163-8a11-2d54b3093ffe",
        "claimId": "fd98bfd5-7702-4ede-afdc-78686b3bdfb9",
        "location": "claim_files/f76698c4-5360-11ee-9151-41990e09938a.pdf",
        "meta": {
            "dirname": ".",
            "basename": "dummy.pdf",
            "extension": "pdf",
            "filename": "dummy"
        },
        "createdAt": "2023-09-15T00:44:02+00:00",
        "updatedAt": "2023-09-15T00:44:02+00:00"
    }
}
PreviousUpload FileNextList of Files by Claim

Last updated 1 year ago