---
title: "Getting Draft Form Details"
method: GET
path: "/v1/projects/{projectId}/forms/{xmlFormId}/draft"
tags: ["Draft Form"]
---

# Getting Draft Form Details

`GET /v1/projects/{projectId}/forms/{xmlFormId}/draft`

The response here will include standard overall Form metadata, like `xmlFormId`, in addition to the Draft-specific information.

## Path parameters

- `projectId` number, required
- `xmlFormId` string, required

## Response `200`

OK

- DraftForm
  - `projectId` number, required — The `id` of the project this form belongs to.
  - `xmlFormId` string, required — The `id` of this form as given in its XForms XML definition
  - `name` string — The friendly name of this form. It is given by the `<title>` in the XForms XML definition.
  - `version` string, required — The `version` of this form as given in its XForms XML definition. If no `version` was specified in the Form, a blank string will be given.
  - `enketoId` string — If it exists, this is the survey ID of this draft Form on Enketo at `/-`. Authentication is not needed to access the draft form through Enketo.
  - `hash` string, required — An MD5 sum automatically computed based on the XForms XML definition. This is required for OpenRosa compliance.
  - `keyId` number — If a public encryption key is present on the form, its numeric ID as tracked by Central is given here.
  - `state` 'open' | 'closing' | 'closed', required
  - `publishedAt` string — Indicates when a draft has most recently been published for this Form. If this value is `null`, this Form has never been published yet, and contains only a draft.
  - `createdAt` string, required — ISO date format
  - `updatedAt` string — ISO date format
  - `webformsEnabled` boolean — Enables use of ODK Web Forms instead of Enketo for filling Forms via web browsers.
  - `draftToken` string, required — The test token to use to submit to this draft form. See [Draft Testing Endpoints](/central-api-submission-management/#draft-submissions).

## Changes

- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `Getting Draft Form Details` removed and replaced with `getDraftFormDetails`
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-13** `e8c2858fd4eb` — 2 info
  - api operation id `getDraftFormDetails` removed and replaced with `Getting Draft Form Details`
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/projects/:projectId/forms/:xmlFormId/draft/get.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)
