> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 4.8 Uploads

> Request evidence upload and submit claims for processing.

Request evidence upload and submit claims for processing. All operations require the `EntraBearer` HTTP bearer scheme.

## Request an evidence upload

`POST /v1/claims/{claim_id}/uploads`

For the owning Customer, creates a short-lived direct-to-Blob upload grant for evidence belonging to the claim. Upload the file to `upload_url` using the returned `required_headers`; the Blob request is not an API operation.

**Path parameters**

**claim\_id** `string` *required*

Unique identifier of the claim.

**Request body** (`application/json`, required): [`UploadRequest`](https://docs.khanhng.com/decision-lane/api-reference/models#uploadrequest)

**Responses**

| Status | Description | Body |
| - | - | - |
| 200 | Successful Response | [`UploadGrant`](https://docs.khanhng.com/decision-lane/api-reference/models#uploadgrant) |
| 400 | The request is invalid or violates a business rule. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 401 | The bearer token is missing or invalid. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 403 | The authenticated user does not have a required role. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 404 | The requested resource was not found. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 409 | The request conflicts with the resource's current state. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 422 | Validation Error | [`HTTPValidationError`](https://docs.khanhng.com/decision-lane/api-reference/models#httpvalidationerror) |

## Verify an evidence upload

`POST /v1/claims/{claim_id}/uploads/{document_id}/complete`

For the owning Customer, verifies the uploaded Blob size, content type, file signature, and file structure before marking the document as verified.

**Path parameters**

**claim\_id** `string` *required*

Unique identifier of the claim.

**document\_id** `string` *required*

Unique identifier of the uploaded document.

**Responses**

| Status | Description | Body |
| - | - | - |
| 202 | Successful Response | [`UploadCompleteResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#uploadcompleteresponse) |
| 400 | The request is invalid or violates a business rule. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 401 | The bearer token is missing or invalid. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 403 | The authenticated user does not have a required role. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 404 | The requested resource was not found. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 422 | Validation Error | [`HTTPValidationError`](https://docs.khanhng.com/decision-lane/api-reference/models#httpvalidationerror) |

## Submit a claim for processing

`POST /v1/claims/{claim_id}/submit`

For the owning Customer, starts the refund assessment workflow after at least one evidence file has been added to the claim.

**Path parameters**

**claim\_id** `string` *required*

Unique identifier of the claim.

**Responses**

| Status | Description | Body |
| - | - | - |
| 202 | Successful Response | [`ClaimSubmissionResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#claimsubmissionresponse) |
| 400 | The request is invalid or violates a business rule. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 401 | The bearer token is missing or invalid. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 403 | The authenticated user does not have a required role. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 404 | The requested resource was not found. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 409 | The request conflicts with the resource's current state. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 422 | Validation Error | [`HTTPValidationError`](https://docs.khanhng.com/decision-lane/api-reference/models#httpvalidationerror) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.