---
title: "Retrieving Draft Form XLS(X)"
method: GET
path: "/v1/projects/{projectId}/forms/{xmlFormId}/draft.xlsx"
tags: ["Draft Form"]
---

# Retrieving Draft Form XLS(X)

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

If a Draft Form was created with an Excel file (`.xls` or `.xlsx`), you can get that file back by adding `.xls` or `.xlsx` as appropriate to the Draft Form resource path.
This endpoint supports `ETag`, which can be used to avoid downloading the same content more than once. When an API consumer calls this endpoint, it returns a value in `ETag` header, you can pass this value in the header `If-None-Match` of subsequent requests. If the file has not been changed since the previous request, you will receive `304 Not Modified` response otherwise you'll get the latest file.

## Path parameters

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

## Response `200`

OK

---

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