> For the complete documentation index, see [llms.txt](https://partner-docs.covergenius.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://partner-docs.covergenius.com/xclaim/claims/get-claim-by-claim-reference.md).

# Get Claim By Claim Reference

Returns a single claim by Claim Uuid.

## Get Claim

<mark style="color:blue;">`GET`</mark> `https://api.xclaim.xcover-staging.com/v2/partners/{partnerCode}/claims/{claimReference}`

Returns a single claim by Claim Reference (CLA) that belongs to the partner.

#### Path Parameters

| Name                                          | Type   | Description |
| --------------------------------------------- | ------ | ----------- |
| partnerCode<mark style="color:red;">\*</mark> | String | eg. XYZ999  |

#### Headers

| Name                                            | Type   | Description          |
| ----------------------------------------------- | ------ | -------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer {{JWT token}} |

{% tabs %}
{% tab title="200: OK " %}
{% tabs %}
{% tab title="Response" %}

```json
{
    "data": {
        "id": "5f86af5e-76c0-478d-b2e0-21aa7384f6bc",
        "claim_reference": "CNVWE-83D8H-CLA",
        "booking_reference": "V7GRN-MZ6W3-INS",
        "quote_reference": "1e8eec04-acdb-4990-9658-fdf0b4cdd7a7",
        "status": "Submitted",
        "language": "en",
        "is_closed": false,
        "claimant": {
            "first_name": "first_name",
            "last_name": "last_name",
            "email": "name@email.com",
            "phone": null,
            "country": null
        }
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="202: Accepted" %}
{% tabs %}
{% tab title="Response " %}

```json
{
    "data": {
        "claim_reference": "4FD44-DGXGT-CLA",
        "booking_reference": "V7GRN-MZ6W3-INS",
        "quote_reference": "1e8eec04-acdb-4990-9658-fdf0b4cdd7a7",
        "processing_status": "pending",
        "failure_reason": null
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="403: Forbidden" %}
{% tabs %}
{% tab title="Response" %}

```json
{
    "message": "This action is unauthorized."
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404: Not Found " %}
{% tabs %}
{% tab title="Response" %}

```json
{
    "message": "Claim not found"
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="409: Conflict" %}
{% tabs %}
{% tab title="Response" %}

```json
{
    "data": {
        "claim_reference": "4FD44-DGXGT-CLA",
        "booking_reference": "V7GRN-MZ6W3-INS",
        "quote_reference": "1e8eec04-acdb-4990-9658-fdf0b4cdd7a7",
        "processing_status": "failed",
        "failure_reason": "duplicate_claim"
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="422: Unprocesable Entity" %}
{% tabs %}
{% tab title="Response" %}

```json
{                                                                                                                                                                                                              
  "data": {                                                                                                                                                                                                  
      "claim_reference": "CLM-2024-00012345",                                                                                                                                                                
      "booking_reference": "BK-987654",                                                                                                                                                                      
      "quote_reference": "QT-123456",                                                                                                                                                                        
      "processing_status": "failed",                                                                                                                                                                         
      "failure_reason": "validation_error"                                                                                                                                                                   
  }                                                                                                                                                                                                          
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="500: Internal Server Error" %}
{% tabs %}
{% tab title="Resposne" %}

```json
{                                                                                                                                                                                                              
  "data": {                                                                                                                                                                                                  
    "claim_reference": "CLM-2024-00012345",                                                                                                                                                                
    "booking_reference": "BK-987654",                                                                                                                                                                      
    "quote_reference": "QT-123456",                                                                                                                                                                        
    "processing_status": "failed",                                                                                                                                                                         
    "failure_reason": "internal_error"                                                                                                                                                                     
  }                                                                                                                                                                                                          
}  
```

{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://partner-docs.covergenius.com/xclaim/claims/get-claim-by-claim-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
