---
title: "Quickstart"
description: "Send your first document for signature with SignatureAPI: create a test envelope with curl, sign it as the recipient, and download the signed PDF."
canonical: "https://signatureapi.com/docs/api/guides/quickstart"
source: "https://signatureapi.com/docs/api/guides/quickstart.md"
last_verified_api_version: "1.18.0"
last_modified: "2026-11-18T17:41:33Z"
---

# Quickstart

Send your first document for signature with SignatureAPI: create a test envelope with curl, sign it as the recipient, and download the signed PDF.

_Last verified against API version 1.18.0._

## Introduction

In this quickstart, we'll walk you through sending a sample service agreement to Jane Doe (at jane.doe​@​example.com) for her signature.

## Get your API key

To get started, [sign up](https://accounts.signatureapi.com/sign-up) for a free test [API key](https://signatureapi.com/docs/api/authentication). This test API key allows you to create [test envelopes](https://signatureapi.com/docs/api/test-mode) without any legal effect and at no cost.

Copy your test API key (it starts with `key_test_`) and store it in an environment variable named `SIGNATUREAPI_KEY` in your terminal, so the commands below can read it.

## Create your first envelope

An [envelope](https://signatureapi.com/docs/api/resources/envelopes/object) is a container that holds the documents you need to send for signing. Each envelope can include one or more documents and can be sent to one or multiple signers.

In this quickstart, we will create an envelope with one document, one recipient, and a single signing place. We'll use `curl` and the command line for this example. Paste this command into your terminal:

```shell
curl -X POST https://api.signatureapi.com/v1/envelopes \
     -H "X-API-Key: $SIGNATUREAPI_KEY" \
     -H "Content-Type: application/json" \
     -d '{
           "title": "Service Agreement",
           "message": "Please review and sign the Service Agreement.",
           "documents": [
             {
               "url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
               "format": "pdf",
               "places": [
                 {
                   "key": "client_signature",
                   "type": "signature",
                   "recipient_key": "client"
                 }
               ],
               "fixed_positions": [
                 {
                   "place_key": "client_signature",
                   "page": 1,
                   "top": 270,
                   "left": 72
                 }
               ]
             }
           ],
           "recipients": [
             {
               "key": "client",
               "type": "signer",
               "name": "Jane Doe",
               "email": "jane.doe@example.com"
             }
           ]
         }'
```

#### Explain the request

This request creates an envelope titled `Service Agreement` with a message that is included in the emails sent to the recipient.

The envelope has one recipient, identified by the key `client`. This recipient is a signer named `Jane Doe`, with the email `jane.doe@example.com`.

The envelope contains one document, a sample PDF hosted at `https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf`.

The document includes a place for the recipient `client` to sign. The place is of type `signature`, and [`fixed_positions`](https://signatureapi.com/docs/api/resources/places/positioning#fixed-positions) puts it on page 1, with its bottom-left corner 270 points from the top and 72 points from the left edge.

Once you've sent the request, you should see a `201 Created` response like this one. Copy the envelope `id` from it: you need it later.

### Example: Quickstart

One document, one signer, one signature place.

Response 201 Created:

```json
{
  "id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
  "title": "Service Agreement",
  "label": null,
  "message": "Please review and sign the Service Agreement.",
  "status": "processing",
  "mode": "test",
  "routing": "sequential",
  "language": "en",
  "timezone": "UTC",
  "timestamp_format": "MM/DD/YYYY HH:mm:ss",
  "attestation": "none",
  "branding": {
    "logo": null,
    "accent_color": "#2463EB",
    "email": {
      "footer": null,
      "logo_position": "left",
      "from": "noreply@signatureapi.com"
    }
  },
  "sender": {
    "name": "Acme Corp Legal",
    "email": "legal@acme.example",
    "organization": "Acme Corp"
  },
  "topics": [],
  "metadata": {},
  "documents": [
    {
      "id": "doc_4YvlxUZN28CeonDq6rTbvk",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "key": "document_0",
      "title": null,
      "page_count": 1,
      "url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
      "format": "pdf",
      "fixed_positions": [
        {
          "place_key": "client_signature",
          "page": 1,
          "top": 270,
          "left": 72
        }
      ],
      "places": [
        {
          "key": "client_signature",
          "type": "signature",
          "recipient_key": "client",
          "height": 60
        }
      ]
    }
  ],
  "recipients": [
    {
      "id": "re_49r1R2jpPDz8hSpP75ZkPp",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "type": "signer",
      "key": "client",
      "email": "jane.doe@example.com",
      "name": "Jane Doe",
      "ceremony": {
        "authentication": [
          {
            "type": "email_link",
            "subject_override": null,
            "message_override": null
          }
        ],
        "embeddable_in": [],
        "redirect_url": null,
        "redirect_delay": 3,
        "url": null,
        "url_variant": "standard"
      },
      "ceremony_creation": "automatic",
      "delivery_type": "email",
      "signature_options": [
        "typed",
        "drawn"
      ],
      "status": "pending",
      "status_updated_at": "2026-11-02T14:03:11.000Z",
      "completed_at": null
    }
  ],
  "deliverable": {
    "id": "del_6FF89lKNyTNamOJCJd1tLL",
    "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
    "name": null,
    "status": "pending",
    "type": "standard",
    "url": null,
    "password": null,
    "created_at": "2026-11-02T14:03:11.000Z",
    "generated_at": null,
    "timezone": "UTC",
    "language": "en",
    "timestamp_format": "MM/DD/YYYY HH:mm:ss",
    "included_documents": [
      "document_0"
    ]
  },
  "captures": {},
  "snapshot_url": null,
  "created_at": "2026-11-02T14:03:11.000Z",
  "completed_at": null
}
```

Response 422 Unprocessable Content:

```json
{
  "type": "https://signatureapi.com/docs/v1/errors/validation-error",
  "title": "Validation Error",
  "status": 422,
  "detail": "The request body contains validation errors.",
  "errors": [
    "recipients[0].email must be a valid email address"
  ]
}
```

The envelope starts in `processing` and moves to `in_progress` once SignatureAPI has prepared the document and sent the signing request.

## Check the sent email

Although test API keys don't send real emails, you can view the email that would be sent in the Dashboard.

1. Log in to your Dashboard.
2. Navigate to the **Envelopes** list and select your newly created envelope.

![The Envelopes page in test mode, with the Service Agreement envelope listed as In Progress](https://signatureapi.com/docs/images/quickstart-dashboard-envelopes.webp)

*Envelopes*

In the envelope details, scroll down to the **Emails** section and click on the email sent to Jane Doe.

![The Service Agreement envelope page with its details, Jane Doe listed under Recipients with status Sent, and her signing request email under Emails](https://signatureapi.com/docs/images/quickstart-dashboard-envelope.webp)

*Envelopes > Service Agreement*

You'll be able to preview the email and see how it would appear if it were sent to the recipient. In test mode, however, emails are not actually sent to recipients.

![The preview of the signing request email to Jane Doe, with the envelope title Service Agreement and a View and Sign button](https://signatureapi.com/docs/images/quickstart-dashboard-email.webp)

*Emails > Service Agreement*

Click the **View and Sign** button in the email preview to go to the signing ceremony as Jane.

## Sign the envelope as Jane

Now, you'll step into Jane Doe's shoes as the signer. Go through the signing ceremony and sign the document as Jane would.

![The signing ceremony showing the first page of the sample Service Agreement, marked as a non-binding test document, under a Start button](https://signatureapi.com/docs/images/quickstart-ceremony.webp)

*The signing ceremony, as Jane Doe*

## Check the envelope in the API

Once Jane has signed the document, check the status of the envelope and its recipient. Replace `ENVELOPE_ID` with the envelope `id` from the first response:

```shell
curl https://api.signatureapi.com/v1/envelopes/ENVELOPE_ID \
     -H "X-API-Key: $SIGNATUREAPI_KEY"
```

The response is the same envelope, now completed:

### Example: Signed

Jane signed; the deliverable is still being generated.

Response 200 OK:

```json
{
  "id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
  "title": "Service Agreement",
  "label": null,
  "message": "Please review and sign the Service Agreement.",
  "status": "completed",
  "mode": "test",
  "routing": "sequential",
  "language": "en",
  "timezone": "UTC",
  "timestamp_format": "MM/DD/YYYY HH:mm:ss",
  "attestation": "none",
  "branding": {
    "logo": null,
    "accent_color": "#2463EB",
    "email": {
      "footer": null,
      "logo_position": "left",
      "from": "noreply@signatureapi.com"
    }
  },
  "sender": {
    "name": "Acme Corp Legal",
    "email": "legal@acme.example",
    "organization": "Acme Corp"
  },
  "topics": [],
  "metadata": {},
  "documents": [
    {
      "id": "doc_4YvlxUZN28CeonDq6rTbvk",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "key": "document_0",
      "title": null,
      "page_count": 1,
      "url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
      "format": "pdf",
      "fixed_positions": [
        {
          "place_key": "client_signature",
          "page": 1,
          "top": 270,
          "left": 72
        }
      ],
      "places": [
        {
          "key": "client_signature",
          "type": "signature",
          "recipient_key": "client",
          "height": 60
        }
      ]
    }
  ],
  "recipients": [
    {
      "id": "re_49r1R2jpPDz8hSpP75ZkPp",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "type": "signer",
      "key": "client",
      "email": "jane.doe@example.com",
      "name": "Jane Doe",
      "ceremony": {
        "authentication": [
          {
            "type": "email_link",
            "subject_override": null,
            "message_override": null
          }
        ],
        "embeddable_in": [],
        "redirect_url": null,
        "redirect_delay": 3,
        "url": null,
        "url_variant": "standard"
      },
      "ceremony_creation": "automatic",
      "delivery_type": "email",
      "signature_options": [
        "typed",
        "drawn"
      ],
      "status": "completed",
      "status_updated_at": "2026-11-02T15:21:40.000Z",
      "completed_at": "2026-11-02T15:21:40.000Z"
    }
  ],
  "deliverable": {
    "id": "del_6FF89lKNyTNamOJCJd1tLL",
    "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
    "name": null,
    "status": "processing",
    "type": "standard",
    "url": null,
    "password": null,
    "created_at": "2026-11-02T14:03:11.000Z",
    "generated_at": null,
    "timezone": "UTC",
    "language": "en",
    "timestamp_format": "MM/DD/YYYY HH:mm:ss",
    "included_documents": [
      "document_0"
    ]
  },
  "captures": {},
  "snapshot_url": null,
  "created_at": "2026-11-02T14:03:11.000Z",
  "completed_at": "2026-11-02T15:21:40.000Z"
}
```

Response 404 Not Found:

```json
{
  "type": "https://signatureapi.com/docs/v1/errors/not-found",
  "title": "Not Found",
  "status": 404,
  "detail": "The envelope was not found."
}
```

Here's what to check:

- **Recipient Status**: Inside the `recipients` array, the status should be marked as `completed`. This confirms Jane signed the document.
- **Envelope Status**: The envelope (root) object's status should also be set to `completed`, meaning the envelope process is finished as all the recipients signed the envelope.
- **Deliverable Status**: The deliverable object may initially show a `processing` status, which indicates SignatureAPI is still generating the final signed document. This can take up to two minutes. You can repeat the GET request to check when it's ready.

Once it's ready, the deliverable status changes to `generated`, and its `url` is a download link for the signed PDF:

### Example: Deliverable ready

The deliverable is generated and has a download URL.

Response 200 OK:

```json
{
  "id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
  "title": "Service Agreement",
  "label": null,
  "message": "Please review and sign the Service Agreement.",
  "status": "completed",
  "mode": "test",
  "routing": "sequential",
  "language": "en",
  "timezone": "UTC",
  "timestamp_format": "MM/DD/YYYY HH:mm:ss",
  "attestation": "none",
  "branding": {
    "logo": null,
    "accent_color": "#2463EB",
    "email": {
      "footer": null,
      "logo_position": "left",
      "from": "noreply@signatureapi.com"
    }
  },
  "sender": {
    "name": "Acme Corp Legal",
    "email": "legal@acme.example",
    "organization": "Acme Corp"
  },
  "topics": [],
  "metadata": {},
  "documents": [
    {
      "id": "doc_4YvlxUZN28CeonDq6rTbvk",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "key": "document_0",
      "title": null,
      "page_count": 1,
      "url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/service-agreement.pdf",
      "format": "pdf",
      "fixed_positions": [
        {
          "place_key": "client_signature",
          "page": 1,
          "top": 270,
          "left": 72
        }
      ],
      "places": [
        {
          "key": "client_signature",
          "type": "signature",
          "recipient_key": "client",
          "height": 60
        }
      ]
    }
  ],
  "recipients": [
    {
      "id": "re_49r1R2jpPDz8hSpP75ZkPp",
      "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
      "type": "signer",
      "key": "client",
      "email": "jane.doe@example.com",
      "name": "Jane Doe",
      "ceremony": {
        "authentication": [
          {
            "type": "email_link",
            "subject_override": null,
            "message_override": null
          }
        ],
        "embeddable_in": [],
        "redirect_url": null,
        "redirect_delay": 3,
        "url": null,
        "url_variant": "standard"
      },
      "ceremony_creation": "automatic",
      "delivery_type": "email",
      "signature_options": [
        "typed",
        "drawn"
      ],
      "status": "completed",
      "status_updated_at": "2026-11-02T15:21:40.000Z",
      "completed_at": "2026-11-02T15:21:40.000Z"
    }
  ],
  "deliverable": {
    "id": "del_6FF89lKNyTNamOJCJd1tLL",
    "envelope_id": "eb4cf433-a8af-4161-b37b-7ef57d423e56",
    "name": null,
    "status": "generated",
    "type": "standard",
    "url": "https://vault.signatureapi.com/envelopes/eb4cf433-a8af-4161-b37b-7ef57d423e56/deliverables/del_6FF89lKNyTNamOJCJd1tLL/sealed.pdf?Signature=...",
    "password": null,
    "created_at": "2026-11-02T14:03:11.000Z",
    "generated_at": "2026-11-02T15:21:45.000Z",
    "timezone": "UTC",
    "language": "en",
    "timestamp_format": "MM/DD/YYYY HH:mm:ss",
    "included_documents": [
      "document_0"
    ]
  },
  "captures": {},
  "snapshot_url": null,
  "created_at": "2026-11-02T14:03:11.000Z",
  "completed_at": "2026-11-02T15:21:40.000Z"
}
```

## Check the envelope in the Dashboard

The deliverable is also sent to the recipients. In this case, Jane. To view the email Jane received with the completed document, follow these steps:

1. Go to the envelope page in your Dashboard.
2. Verify that the envelope is marked as completed.
3. In the **Emails** section, you'll see all the emails related to this envelope. Look for the one sent to Jane titled "Completed: Service Agreement".

![The completed Service Agreement envelope page with the Download button, Jane Doe's status Completed, and its emails, including Completed: Service Agreement sent to Jane Doe](https://signatureapi.com/docs/images/quickstart-dashboard-deliverable.webp)

*Envelopes > Service Agreement, completed*

You'll also notice that two additional notifications were sent to the account owner. These notify you that Jane signed the envelope and that the envelope process is fully completed.

From the envelope page, you can download the signed document (the deliverable) by clicking the **Download** button.

## What's Next

You've just scratched the surface of what SignatureAPI can do. Here are a few features to explore next:

- Add multiple [documents](https://signatureapi.com/docs/api/resources/documents/object) and [recipients](https://signatureapi.com/docs/api/resources/recipients/object) to a single envelope for more complex workflows.
- [Customize envelope branding](https://signatureapi.com/docs/api/resources/envelopes/branding) with your company logo, colors, and email customizations for a professional experience.
- [Embed the signing interface](https://signatureapi.com/docs/embedded/introduction) directly into your web or mobile application, so users sign without leaving it.
- [Generate documents from templates](https://signatureapi.com/docs/api/resources/documents/templates) with customizable fields and conditional logic for dynamic document creation.
- [Upload documents and templates](https://signatureapi.com/docs/api/resources/uploads/create) to SignatureAPI, so you don’t have to host them yourself.
- Add [signatures](https://signatureapi.com/docs/api/resources/places/signature), [dates](https://signatureapi.com/docs/api/resources/places/date), or text fields to documents using either [placeholders](https://signatureapi.com/docs/api/resources/places/positioning#placeholders) or [fixed positions](https://signatureapi.com/docs/api/resources/places/positioning#fixed-positions) for precise placement.
- Use [webhooks](https://signatureapi.com/docs/api/webhooks) to receive real-time notifications in your application when events happen.
- Customize the [language](https://signatureapi.com/docs/api/resources/envelopes/language) of recipient interfaces and emails to match your audience.
- Adjust the [timestamp formats](https://signatureapi.com/docs/api/resources/envelopes/timestamp-format) and [time zones](https://signatureapi.com/docs/api/resources/envelopes/timezone) to suit your location and preferences.
