---
title: "Restoring a Form"
method: POST
path: "/v1/projects/{projectId}/forms/{id}/restore"
tags: ["Individual Form"]
---

# Restoring a Form

`POST /v1/projects/{projectId}/forms/{id}/restore`

_(introduced: version 1.4)_

Deleted forms can now be restored (as long as they have been in the Trash less than 30 days and have not been purged). However, a deleted Form with the same `xmlFormId` as an active Form cannot be restored while that other Form is active.

A Form also cannot be restored if a related Dataset has been deleted or if a Dataset property that the Form wrote to has been deleted since the Form was deleted. In that case, a 409 is returned.

This `/restore` URL uses the numeric ID of the Form (now returned by the `/forms?deleted=true` endpoint) rather than the `xmlFormId` to unambigously restore. Note that the numeric ID of a Form is not returned by default on the [Form list](/central-api-form-management/#list-all-forms) and is only returned when listing deleted Forms.

## Path parameters

- `projectId` number, required
- `id` string, required

## Response `200`

OK

- Success
  - `success` boolean, required

## Other responses

- `409` — Conflict

## Changes

- **2026-04-03** `2aed27d9e013` — 1 info
  - added the non-success response with the status `409`
- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `Restoring a Form` removed and replaced with `restoreForm`
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-13** `e8c2858fd4eb` — 3 info
  - api operation id `restoreForm` removed and replaced with `Restoring a Form`
  - added the non-success response with the status `403`
  - removed the non-success response with the status `409`

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/projects/:projectId/forms/:id/restore/post.md)

---

[API](https://skmtc.dev/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.dev/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getodk/odk-central-api/revisions/d4f5ba77f644/schema)
