---
title: "Deliverables"
description: "List the deliverables of a completed envelope and download the signed PDF with the SignatureAPI CLI deliverables commands."
canonical: "https://signatureapi.com/docs/cli/deliverables"
source: "https://signatureapi.com/docs/cli/deliverables.md"
last_verified_api_version: "1.18.1"
---

# Deliverables

List the deliverables of a completed envelope and download the signed PDF with the SignatureAPI CLI deliverables commands.

_Last verified against API version 1.18.1._

A [deliverable](https://signatureapi.com/docs/api/resources/deliverables/object) is the signed PDF that SignatureAPI generates when an envelope completes, with the audit log by default. The `deliverables` commands find it and give you its download URL. Each one sends the same request as the matching API operation:

| Command             | API operation                                                                          |
| ------------------- | -------------------------------------------------------------------------------------- |
| `deliverables list` | [List deliverables](https://signatureapi.com/docs/api/resources/deliverables/list)     |
| `deliverables get`  | [Retrieve a deliverable](https://signatureapi.com/docs/api/resources/deliverables/get) |

They act in test mode unless you pass `--mode live` or use a live API key. See [Working with resources](https://signatureapi.com/docs/cli/working-with-resources) for modes and credentials.

## Download the signed PDF

1. **Find the deliverable**

   A deliverable exists once the envelope is completed. Its PDF is ready a little later, when the deliverable is generated. List the envelope's deliverables:

   ```bash
   npx signatureapi deliverables list --envelope eb4cf433-a8af-4161-b37b-7ef57d423e56
   ```

   Each line shows the deliverable ID (`del_...`) and its status. The PDF is ready when the status is `generated`.

2. **Get its URL**

   ```bash
   npx signatureapi deliverables get del_6FF89lKNyTNamOJCJd1tLL
   ```

   The output shows the status and the URL of the signed PDF.

3. **Download the file**

   In a script, read the URL from the `--json` result and download it:

   ```bash
   url=$(npx signatureapi deliverables get del_6FF89lKNyTNamOJCJd1tLL --json | jq -r 'select(.type == "result") | .data.url')
   curl -sSfo signed.pdf "$url"
   ```

By default, the URL expires after one hour. Run `deliverables get` again for a fresh one. Anyone with the URL can download the document until then, so keep it out of shared logs.

To download it as soon as it is ready, [wait for `deliverable.generated`](https://signatureapi.com/docs/cli/events#wait-until-the-signed-pdf-is-ready) first. Until then, the status is `pending` or `processing` and `url` is `null`. The [deliverable lifecycle](https://signatureapi.com/docs/api/resources/deliverables/lifecycle) explains each status.

## Command reference

Generated from the help of the published `signatureapi` package.

Commands of the `signatureapi` CLI, version 0.7.1. Run `npx signatureapi <command> --help` for the same text in a terminal.

### `deliverables list`

List the deliverables of an envelope, newest first. A deliverable exists once the envelope is completed.

```bash
npx signatureapi deliverables list --envelope <envelope-id> [options]
```

Options:

- `--envelope <envelope-id>`: Envelope whose deliverables to list (required)
- `--limit <count>`: Deliverables per page, 1 to 20 (default: 20)
- `--cursor <cursor>`: Cursor of the page to get, from a previous result's next_cursor

Global options: `--mode`, `--api-key-var`, `--credential-store`, `--json`.

List a completed envelope's deliverables:

```bash
npx signatureapi deliverables list --envelope 5e5ace5e-...
```

Related: https://signatureapi.com/docs/api/resources/deliverables/object

### `deliverables get`

Show a deliverable: its status and the URL of the signed documents.

```bash
npx signatureapi deliverables get <deliverable-id> [options]
```

Arguments:

- `<deliverable-id>`: ID of the deliverable (del_...), as deliverables list shows it

Global options: `--mode`, `--api-key-var`, `--credential-store`, `--json`.

Show a deliverable:

```bash
npx signatureapi deliverables get del_...
```

Related: https://signatureapi.com/docs/api/resources/deliverables/object
