---
title: "Add evidence to a claim"
method: PATCH
path: "/api/v1/claims/{claimId}/evidence"
tags: ["Claims"]
---

# Add evidence to a claim

`PATCH /api/v1/claims/{claimId}/evidence`

## Request

- Base URL: `http://localhost:8090`
- URL: `http://localhost:8090/api/v1/claims/{claimId}/evidence`
- Auth: none declared

## Path parameters

- `claimId` string, uuid, required

## Request body

- ClaimEvidenceRequestBody: evidence data
  - `id` string, uuid: The unique ID for the evidence
  - `fileKey` string, required: The file key for the evidence
  - `fileSize` integer, required: The file size for the evidence
  - `submittedOn` string, date-time: The date and time the evidence was submitted

## Response `201`

Evidence added to claim successfully

- AddClaimEvidenceResponse
  - `id` string, uuid

## Other responses

- `400`: Invalid request body
- `403`: Forbidden

## Changes

- **2026-07-13** `bc1032512b4b`: 1 info
  - added the new optional request property `submittedOn`
- **2026-07-13** `5687569af02f`: 1 info
  - added the new optional request property `id`
- **2026-07-13** `693b485f81be`: 1 breaking, 1 info
  - the `id` response's property type changed from `integer` to `string`, and format from `int64` to `uuid` for status `201`
  - for the `path` request parameter `claimId`, the type was generalized from `integer` to `string`, and format from `int64` to `uuid`
- **2026-05-20** `d1eb32be5002`: 1 breaking
  - added the new required request property `fileSize`
- **2026-05-18** `a0c2063407bb`: 2 breaking, 3 info
  - the request property `fileKey` became required
  - removed the success response with the status `204`
  - added the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - …1 more

[Operation history](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/changes/api/v1/claims/:claimId/evidence/patch.md)

---

[API](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api.md) - [All operations](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ministryofjustice/apis/ministry-of-justice-stub-civil-claims-api/revisions/2380e2ea7c1d?raw)
