---
title: "Update a form submission"
method: PATCH
path: "/api/forms/{formId}/submissions/{submissionId}"
tags: ["Forms"]
---

# Update a form submission

`PATCH /api/forms/{formId}/submissions/{submissionId}`

Updates a form submission for a given form.

## Path parameters

- `formId` integer, required
- `submissionId` integer, required

## Request body

- PartialUpdateSubmissionRequest — Request model for partial update of a form submission.
  - `jsonData` string, nullable — Stringified form submission data
  - `isComplete` boolean, nullable — Boolean flag to mark the form completion status
  - `currentPage` integer, nullable — The current page of the form
  - `metadata` string, nullable — Stringified metadata related to the form submission

## Response `200`

The form submission was updated successfully.

- PartialUpdateSubmissionResponse — Response model for partially updating a form submission.
  - `id` string
  - `isComplete` boolean
  - `jsonData` string
  - `formId` string
  - `formDefinitionId` string
  - `currentPage` integer, nullable
  - `metadata` string, nullable
  - `token` string, nullable
  - `completedAt` string, date-time, nullable
  - `createdAt` string, date-time
  - `modifiedAt` string, date-time, nullable
  - `status` string
  - `submittedBy` string, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Form submission not found

## Changes

- **2025-11-21** `50eff5014b78` — 1 breaking, 1 info
  - removed the media type `application/problem+json` for the response with the status `400`
  - added the optional property `allOf[#/components/schemas/SubmissionModel]/submittedBy` to the response with the `200` status
- **2025-03-24** `fbc3fe6ecbf1` — 1 warning, 1 info
  - removed the optional property `allOf[#/components/schemas/SubmissionModel]/submittedBy` from the response with the `200` status
  - added the media type `application/problem+json` for the response with the status `400`

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/forms/:formId/submissions/:submissionId/patch.md)

---

[API](https://skmtc.dev/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/revisions/01bd299fd100/schema)
