---
title: "Download Deliverable Source File"
description: "Downloads the generated document in its source format, a Word (.docx) or PowerPoint (.pptx) file, as an attachment. Your plan must include file downloads."
url: "https://docs.turbodocx.com/docs/API/download-deliverable-source-file"
---

# Download Deliverable Source File

> Downloads the generated document in its source format, a Word (.docx) or PowerPoint (.pptx) file, as an attachment. Your plan must include file downloads.

`GET https://api.turbodocx.com/v1/deliverable/file/{deliverableId}`

```bash
curl -X GET "https://api.turbodocx.com/v1/deliverable/file/{deliverableId}" \
  -H "Authorization: Bearer $TURBODOCX_API_KEY" \
  -H "x-rapiddocx-org-id: $TURBODOCX_ORG_ID"
```

  Request



### Path parameters

- `deliverableId` (string, required): The deliverable ID.

### Responses

#### 200

The file. `Content-Type` is the Word or PowerPoint MIME type and `Content-Disposition` names the file after the deliverable.

#### 400

Your organization's plan does not include file downloads.

```json
{
  "message": "Please contact support, it appears you are missing a feature entitlement.",
  "type": "MissingEntitlement",
  "data": {
    "explanation": "Missing Entitlement for this feature.",
    "context": ""
  }
}
```

#### 401

Missing or invalid API key, or the organization ID header is missing or is not an organization the key belongs to. The response has no body.

#### 403

The key's role cannot download files (viewers cannot). The response has no body.

#### 404

No deliverable with this ID exists in your organization (no JSON body), or its file could not be loaded (JSON body below).

```json
{
  "message": "There was an issue loading your file",
  "error": "ServerError",
  "data": {
    "explanation": "There was an issue loading your file. Please contact support.",
    "context": ""
  }
}
```
