# E-Signature Envelopes

Source: https://docs.autessa.com/docs/api/poweruser/esignature-envelopes

> Poweruser endpoints for creating, sending, tracking, and downloading e-signature envelopes.

# E-Signature Envelopes

Drive the full document-signing lifecycle programmatically: upload a PDF, place fields, assign recipients to signer slots, send for signature, chase pending signers, and download the sealed result with its audit trail.

> All paths on this page are relative to `https://api.autessa.com/autessa_poweruser/e-signature`. Every request is a POST with a JSON body. Unlike most Poweruser resources, envelope, recipient, and field IDs are **UUID strings**; user IDs are the usual opaque ID strings. See the [Poweruser API overview](/docs/api/poweruser.md) for authentication and conventions.

---

## Envelope lifecycle

An envelope is one PDF plus its recipients, fields, and audit trail. It moves
through these statuses:

| Status | Meaning |
|--------|---------|
| `DRAFT` | Being assembled — recipients, fields, and prefill values are editable. |
| `SENT` | Signing links emailed; signers are working through it. Structure is frozen. |
| `COMPLETED` | All required signatures collected; the sealed PDF and certificate of completion exist. |
| `REJECTED` | A signer declined, with a reason recorded on the recipient. |
| `VOIDED` | The owner cancelled it after sending. |
| `EXPIRED` | Signing links passed their TTL before completion. |

The typical build-and-send sequence:

1. [`/generate-file-upload-link`](#generate-a-file-upload-link), then `PUT` the
   PDF to the returned URL.
2. [`/envelope/create`](#create-an-envelope) with the returned `s3Uri`.
3. [`/envelope/recipients`](#set-recipients) to set signers, viewers, signing
   order, and completion policy.
4. [`/envelope/fields`](#set-fields) to place signature and input fields, and
   optionally [`/envelope/prefill`](#set-prefill-values) to fill `PREFILL` fields.
5. [`/envelope/send`](#send-an-envelope) to email signing links.

### Recipients and signer slots

Each recipient is a `SIGNER` (assigned fields, must act) or a `VIEWER`
(CC — emailed a read-only link and the sealed copy, never signs). Signers
occupy **signer slots** via `signingGroup` (1-based): recipients sharing a
slot form a client group, and any one of them signing satisfies the slot. A null
`signingGroup` gives the recipient their own slot.

Two envelope-level knobs control flow:

- `signingOrder` — `PARALLEL` (everyone at once, default) or `SEQUENTIAL`
  (one at a time by `orderIndex`).
- `completionPolicy` — `ALL` (every slot must be satisfied, default) or
  `ANY_ONE` (first signature completes and seals the envelope; remaining
  recipients become `NOT_REQUIRED`). `ANY_ONE` is only valid with
  `PARALLEL`.

Recipient statuses: `PENDING`, `VIEWED`, `OTP_VERIFIED`, `SIGNED`,
`REJECTED`, `EXPIRED`, `NOT_REQUIRED`, and `NOTIFIED` (terminal status for
viewers).

Signers authenticate by possession of their emailed signing link, which is
the credential — there is no separate one-time-code step. `OTP_VERIFIED` and
`otpVerifiedAt` are retained for backward compatibility and are not set by the
current signing flow.

### Field placement

Fields are placed by page and percentage coordinates (`pageIndex`, `xPct`,
`yPct`, `widthPct`, `heightPct`), so layouts survive PDF scaling. Every
field has a `fillSource`:

- **`SIGNER`** — filled by a recipient at sign time. Requires `recipientId`.
  Types: `SIGNATURE`, `INITIALS`, `NAME`, `EMAIL`, `DATE_SIGNED`,
  `TEXT_INPUT`, `CHECKBOX`, `DROPDOWN`.
- **`PREFILL`** — filled by you before sending, rendered into the PDF.
  Types: `TEXT_STATIC`, `DATE_STATIC`, `IMAGE_STATIC`.

> Assign every signer at least one `SIGNER` field. Fields bound to a recipient
> who has nothing to sign — or signers with no fields — are the most common
> cause of envelopes that "complete" without the signature you expected.

---

## The envelope object

Returned by create, get, recipients, fields, prefill, send, void,
resend-link, and remind.

- `id` (uuid) — Unique envelope identifier.
- `companyId` (string) — Owning company.
- `ownerUserId` (string) — The user who owns the envelope.
- `title` (string) — Display title.
- `status` (string) — `DRAFT`, `SENT`, `COMPLETED`, `REJECTED`, `VOIDED`, or `EXPIRED`.
- `signingOrder` (string) — `PARALLEL` or `SEQUENTIAL`.
- `completionPolicy` (string) — `ALL` or `ANY_ONE`.
- `createdAt` (string) — ISO-8601 creation timestamp.
- `sentAt` (string) — When signing links were emailed, or absent while `DRAFT`.
- `completedAt` (string) — When the envelope completed.
- `lastActivityAt` (string) — Timestamp of the most recent audit event.
- `expiresAt` (string) — When outstanding signing links expire.
- `sha256Original` (string) — SHA-256 of the uploaded PDF.
- `sha256Prefilled` (string) — SHA-256 of the PDF after prefill rendering.
- `sha256Sealed` (string) — SHA-256 of the sealed, completed PDF.
- `viewPdfUrl` (string) — Presigned URL for the current-state PDF (original, prefilled, or sealed depending on status).
- `recipients` (array<Recipient>) — Recipients: `id` (uuid), `email`, `name`, `orderIndex`, `signingGroup`, `recipientKind` (`SIGNER` or `VIEWER`), `status`, plus timestamps (`invitedAt`, `firstViewedAt`, `otpVerifiedAt`, `signedAt`, `rejectedAt`) and signing evidence (`rejectionReason`, `signerIp`, `signerUserAgent`, `signerCertSerial`).
- `fields` (array<Field>) — Fields: `id` (uuid), `fillSource`, `recipientId`, `fieldType`, placement (`pageIndex`, `xPct`, `yPct`, `widthPct`, `heightPct`, `rotation`), `required`, `value`, `valueImageUrl` (presigned URL for image blobs), and font styling (`fontFamily`, `fontSize`, `fontColor`).
- `auditTrail` (array<AuditEvent>) — Hash-chained audit events: `id`, `seq`, `eventType`, `recipientId`, `actorEmail`, `ip`, `userAgent`, `occurredAt`, `payloadJson`, `rowHash`.
- `auditChainValid` (boolean) — Whether the audit-trail hash chain verifies.
- `sharingLevel` (string) — Baseline visibility: `PRIVATE`, `SPECIFIC_MEMBER`, or `COMPANY`.
- `shares` (array<SharePermission>) — Per-user grants (`userId`, `userEmail`, `userName`, `accessLevel`, `grantedBy`, `grantedByName`, `createdAt`). The owner is not listed — they have implicit ADMIN.
- `myAccessLevel` (string) — The calling user's effective access level: `READ`, `WRITE`, `PUBLISH`, or `ADMIN`.
- `iAmOwner` (boolean) — Whether the calling user owns the envelope.

```json title="Envelope object (truncated)"
{
  "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
  "companyId": "cP2mK7dX4v",
  "ownerUserId": "uB7nT2wQ9k",
  "title": "Consulting Agreement — Acme Corp",
  "status": "SENT",
  "signingOrder": "PARALLEL",
  "completionPolicy": "ALL",
  "createdAt": "2026-06-29T15:10:02",
  "sentAt": "2026-06-29T16:00:41",
  "expiresAt": "2026-07-13T16:00:41",
  "sha256Original": "9c56cc51...",
  "viewPdfUrl": "https://s3.amazonaws.com/autessa-esign/...",
  "recipients": [
    {
      "id": "7f2a4b1c-8d3e-4f5a-9b0c-1d2e3f4a5b6c",
      "email": "sam@acme.com",
      "name": "Sam Rivera",
      "orderIndex": 1,
      "signingGroup": 1,
      "recipientKind": "SIGNER",
      "status": "VIEWED",
      "invitedAt": "2026-06-29T16:00:41",
      "firstViewedAt": "2026-06-30T08:12:19"
    }
  ],
  "fields": [
    {
      "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
      "fillSource": "SIGNER",
      "recipientId": "7f2a4b1c-8d3e-4f5a-9b0c-1d2e3f4a5b6c",
      "fieldType": "SIGNATURE",
      "pageIndex": 2,
      "xPct": 12.5,
      "yPct": 78.0,
      "widthPct": 30.0,
      "heightPct": 5.0,
      "required": true
    }
  ],
  "auditChainValid": true,
  "sharingLevel": "PRIVATE",
  "shares": [],
  "myAccessLevel": "ADMIN",
  "iAmOwner": true
}
```

---

## Generate a file upload link

**POST** `/e-signature/generate-file-upload-link`

Returns a pre-signed S3 URL for uploading the envelope's PDF. `PUT` the file
bytes to `uploadUrl`, then pass the returned `s3Uri` to
[`/envelope/create`](#create-an-envelope).

### Request parameters

- `fileExtension` (string) — File extension — use `"pdf"`.

### Response

- `uploadUrl` (string) — Pre-signed URL; `PUT` the file bytes here.
- `s3Uri` (string) — Key of the uploaded file. Pass it as `s3Uri` on envelope or template creation.
- `mimeType` (string) — MIME type to send as `Content-Type` on the upload.
- `expiresInSeconds` (integer) — How long the upload URL stays valid.
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/generate-file-upload-link \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "fileExtension": "pdf" }'

# Then upload the PDF:
curl -X PUT "$UPLOAD_URL" \
  -H "Content-Type: application/pdf" \
  --data-binary '@agreement.pdf'
```

```json title="Response"
{
  "uploadUrl": "https://s3.amazonaws.com/autessa-files/...",
  "s3Uri": "temp/esignature/1024/9d1e4a6f.pdf",
  "mimeType": "application/pdf",
  "expiresInSeconds": 3600,
  "errors": []
}
```

---

## Create an envelope

**POST** `/e-signature/envelope/create`

Registers a `DRAFT` envelope around a PDF already uploaded via
[`/generate-file-upload-link`](#generate-a-file-upload-link). Add recipients
and fields next, then send. To start from a reusable layout instead, see
[template instantiation](/docs/api/poweruser/esignature-templates.md#create-an-envelope-from-a-template).

### Request parameters

- `title` (string, required) — Envelope title, shown to signers and in emails.
- `s3Uri` (string, required) — The `s3Uri` key returned by the file-upload-link flow. The older `s3://` form is still accepted.

### Response

- `envelope` (Envelope) — The new envelope in `DRAFT` status. See [the envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

**cURL:**

```bash
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/create \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Consulting Agreement — Acme Corp",
    "s3Uri": "temp/esignature/1024/9d1e4a6f.pdf"
  }'
```

**JavaScript:**

```javascript
const response = await fetch(
  'https://api.autessa.com/autessa_poweruser/e-signature/envelope/create',
  {
    method: 'POST',
    headers: {
      'Authorization': process.env.POWERUSER_KEY,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      title: 'Consulting Agreement — Acme Corp',
      s3Uri: 'temp/esignature/1024/9d1e4a6f.pdf'
    })
  }
);

const { envelope } = await response.json();
console.log(envelope.id, envelope.status); // DRAFT
```

**Python:**

```python
import os
import requests

response = requests.post(
    'https://api.autessa.com/autessa_poweruser/e-signature/envelope/create',
    headers={'Authorization': os.environ['POWERUSER_KEY']},
    json={
        'title': 'Consulting Agreement — Acme Corp',
        's3Uri': 'temp/esignature/1024/9d1e4a6f.pdf'
    }
)

envelope = response.json()['envelope']
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "title": "Consulting Agreement — Acme Corp",
    "status": "DRAFT",
    "signingOrder": "PARALLEL",
    "completionPolicy": "ALL",
    "recipients": [],
    "fields": [],
    "iAmOwner": true
  },
  "errors": []
}
```

---

## Get an envelope

**POST** `/e-signature/envelope/get`

Retrieves an envelope's full state — recipients, fields, audit trail, and a
presigned URL for the current-state PDF.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to fetch.

### Response

- `envelope` (Envelope) — The [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/get \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13" }'
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "title": "Consulting Agreement — Acme Corp",
    "status": "SENT",
    "recipients": [
      { "email": "sam@acme.com", "status": "VIEWED", "signingGroup": 1 }
    ],
    "auditChainValid": true
  },
  "errors": []
}
```

---

## List envelopes

**POST** `/e-signature/envelope/list`

Lists envelopes visible to the linked user, with filtering, search, sorting,
and pagination. Entries are compact summaries — use
[`/envelope/get`](#get-an-envelope) for full detail.

### Request parameters

- `statusFilter` (array<string>) — Restrict to these statuses (`DRAFT`, `SENT`, `COMPLETED`, `REJECTED`, `VOIDED`, `EXPIRED`).
- `search` (string) — Title search string.
- `sortBy` (string) — `"created"`, `"lastActivity"`, or `"title"`. Defaults to `lastActivity`.
- `sortDir` (string) — `"asc"` or `"desc"`. Defaults to `desc`.
- `page` (integer) — Page index.
- `pageSize` (integer) — Entries per page.

### Response

- `envelopes` (array<EnvelopeSummary>) — Summaries: `id`, `title`, `status`, `completionPolicy`, lifecycle timestamps, `recipientCount`, `completedRecipientCount`, `requiredSignatureCount` and `collectedSignatureCount` (signer-slot progress), `recipientEmails`, `sharingLevel`, `myAccessLevel`, `iAmOwner`, `ownerUserId`.
- `total` (integer) — Total envelopes across all pages.
- `page` (integer) — The page returned.
- `pageSize` (integer) — Entries per page.
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/list \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "statusFilter": ["SENT"],
    "sortBy": "lastActivity",
    "sortDir": "desc",
    "page": 0,
    "pageSize": 20
  }'
```

```json title="Response"
{
  "envelopes": [
    {
      "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
      "title": "Consulting Agreement — Acme Corp",
      "status": "SENT",
      "completionPolicy": "ALL",
      "recipientCount": 2,
      "completedRecipientCount": 0,
      "requiredSignatureCount": 2,
      "collectedSignatureCount": 0,
      "recipientEmails": ["sam@acme.com", "lee@acme.com"],
      "sharingLevel": "PRIVATE",
      "myAccessLevel": "ADMIN",
      "iAmOwner": true,
      "ownerUserId": "uB7nT2wQ9k"
    }
  ],
  "total": 14,
  "page": 0,
  "pageSize": 20,
  "errors": []
}
```

---

## View the current PDF

**POST** `/e-signature/envelope/view`

Returns a presigned read URL for the envelope's current-state PDF — the
original while drafting, the prefilled render once sent, or the sealed
document when completed.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to view.

### Response

- `pdfUrl` (string) — Time-boxed presigned URL for the PDF.
- `expiresInSeconds` (integer) — How long the URL stays valid.
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/view \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13" }'
```

```json title="Response"
{
  "pdfUrl": "https://s3.amazonaws.com/autessa-esign/...",
  "expiresInSeconds": 900,
  "errors": []
}
```

---

## Set recipients

**POST** `/e-signature/envelope/recipients`

Replaces the envelope's recipient list and sets the signing order and
completion policy. Include `id` on an entry to update an existing recipient;
omit it to create a new one.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to update.
- `signingOrder` (string) — `PARALLEL` or `SEQUENTIAL`.
- `completionPolicy` (string) — `ALL` or `ANY_ONE`. Null means `ALL`. `ANY_ONE` requires `PARALLEL`.
- `recipients` (array<RecipientInput>, required) — The full recipient list.
- `recipients[].id` (uuid) — Present when updating an existing recipient; omit when adding.
- `recipients[].email` (string, required) — Recipient email — signing links are sent here.
- `recipients[].name` (string, required) — Recipient display name, affirmed at sign time.
- `recipients[].orderIndex` (integer) — 1-based position for `SEQUENTIAL` signing; ignored for `PARALLEL`.
- `recipients[].signingGroup` (integer) — Signer slot (1-based). Recipients sharing a slot form a client group — any one of them signing satisfies it. Null means own slot.
- `recipients[].recipientKind` (string) — `SIGNER` (default) or `VIEWER`.

### Response

- `envelope` (Envelope) — The updated [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

**cURL:**

```bash
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/recipients \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "signingOrder": "PARALLEL",
    "completionPolicy": "ALL",
    "recipients": [
      {
        "email": "sam@acme.com",
        "name": "Sam Rivera",
        "signingGroup": 1,
        "recipientKind": "SIGNER"
      },
      {
        "email": "legal@acme.com",
        "name": "Acme Legal",
        "recipientKind": "VIEWER"
      }
    ]
  }'
```

**JavaScript:**

```javascript
await fetch(
  'https://api.autessa.com/autessa_poweruser/e-signature/envelope/recipients',
  {
    method: 'POST',
    headers: {
      'Authorization': process.env.POWERUSER_KEY,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      envelopeId: 'e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13',
      signingOrder: 'PARALLEL',
      recipients: [
        { email: 'sam@acme.com', name: 'Sam Rivera', signingGroup: 1 },
        // Same slot — a client group; either signature satisfies it
        { email: 'jordan@acme.com', name: 'Jordan Kim', signingGroup: 1 }
      ]
    })
  }
);
```

**Python:**

```python
import os
import requests

requests.post(
    'https://api.autessa.com/autessa_poweruser/e-signature/envelope/recipients',
    headers={'Authorization': os.environ['POWERUSER_KEY']},
    json={
        'envelopeId': 'e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13',
        'signingOrder': 'PARALLEL',
        'recipients': [
            {'email': 'sam@acme.com', 'name': 'Sam Rivera', 'signingGroup': 1}
        ]
    }
)
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "status": "DRAFT",
    "recipients": [
      {
        "id": "7f2a4b1c-8d3e-4f5a-9b0c-1d2e3f4a5b6c",
        "email": "sam@acme.com",
        "name": "Sam Rivera",
        "signingGroup": 1,
        "recipientKind": "SIGNER",
        "status": "PENDING"
      }
    ]
  },
  "errors": []
}
```

---

## Set fields

**POST** `/e-signature/envelope/fields`

**Fully replaces** the envelope's field set — send every field you want to
keep, not just changes. Include `id` to preserve/update an existing field.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to update.
- `fields` (array<FieldInput>, required) — The complete field set.
- `fields[].id` (uuid) — Optional on create, required when editing an existing field.
- `fields[].fillSource` (string, required) — `SIGNER` or `PREFILL`.
- `fields[].recipientId` (uuid) — Required when `fillSource` is `SIGNER` — the recipient who fills the field.
- `fields[].fieldType` (string, required) — `SIGNER`: `SIGNATURE`, `INITIALS`, `NAME`, `EMAIL`, `DATE_SIGNED`, `TEXT_INPUT`, `CHECKBOX`, `DROPDOWN`. `PREFILL`: `TEXT_STATIC`, `DATE_STATIC`, `IMAGE_STATIC`.
- `fields[].pageIndex` (integer, required) — Zero-based PDF page.
- `fields[].xPct` (number, required) — Left edge as a percentage of page width.
- `fields[].yPct` (number, required) — Top edge as a percentage of page height.
- `fields[].widthPct` (number, required) — Width as a percentage of page width.
- `fields[].heightPct` (number, required) — Height as a percentage of page height.
- `fields[].rotation` (integer) — Rotation in degrees.
- `fields[].required` (boolean, required) — Whether the signer must fill it.
- `fields[].value` (string) — Static text (`PREFILL`) or baseline display value; for `DROPDOWN`, the options.
- `fields[].valueImageS3Key` (string) — For `PREFILL` `IMAGE_STATIC` — S3 key uploaded via the file-upload-link flow.
- `fields[].fontFamily` (string) — Render font.
- `fields[].fontSize` (integer) — Render font size.
- `fields[].fontColor` (string) — Render font color.

### Response

- `envelope` (Envelope) — The updated [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/fields \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "fields": [
      {
        "fillSource": "SIGNER",
        "recipientId": "7f2a4b1c-8d3e-4f5a-9b0c-1d2e3f4a5b6c",
        "fieldType": "SIGNATURE",
        "pageIndex": 2,
        "xPct": 12.5, "yPct": 78.0,
        "widthPct": 30.0, "heightPct": 5.0,
        "required": true
      },
      {
        "fillSource": "PREFILL",
        "fieldType": "TEXT_STATIC",
        "pageIndex": 0,
        "xPct": 20.0, "yPct": 30.5,
        "widthPct": 40.0, "heightPct": 3.0,
        "value": "Acme Corp"
      }
    ]
  }'
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "status": "DRAFT",
    "fields": [
      { "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", "fieldType": "SIGNATURE" },
      { "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e", "fieldType": "TEXT_STATIC" }
    ]
  },
  "errors": []
}
```

---

## Set prefill values

**POST** `/e-signature/envelope/prefill`

Populates `PREFILL` fields with values before sending — contract amounts,
names, dates, or a static image (for example a company stamp).

### Request parameters

- `envelopeId` (uuid, required) — The envelope to update.
- `values` (array<PrefillValueInput>, required) — Values to set.
- `values[].fieldId` (uuid, required) — The `PREFILL` field to populate.
- `values[].value` (string) — The text or date value.
- `values[].valueImageS3Key` (string) — For `IMAGE_STATIC` — S3 key of the uploaded PNG.

### Response

- `envelope` (Envelope) — The updated [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/prefill \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "values": [
      {
        "fieldId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
        "value": "$12,000.00"
      }
    ]
  }'
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "status": "DRAFT"
  },
  "errors": []
}
```

---

## Send an envelope

**POST** `/e-signature/envelope/send`

Moves the envelope from `DRAFT` to `SENT`: renders prefill values into the
PDF and emails each recipient a tokenized signing link. With `SEQUENTIAL`
ordering only the first signer is invited; each completion invites the next.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to send.
- `linkTtlDays` (integer) — Override the default signing-link TTL, in days.

### Response

- `envelope` (Envelope) — The envelope, now `SENT`, with `sentAt` and `expiresAt` populated.
- `errors` (array<string>) — Error messages, if any occurred (for example no recipients, or a signer with no fields).

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/send \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "linkTtlDays": 14
  }'
```

```json title="Response (truncated)"
{
  "envelope": {
    "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "status": "SENT",
    "sentAt": "2026-06-29T16:00:41",
    "expiresAt": "2026-07-13T16:00:41"
  },
  "errors": []
}
```

---

## Resend a signing link

**POST** `/e-signature/envelope/resend-link`

Issues a fresh signing link to one recipient and emails it. Use when a link
expired or the original email was lost.

### Request parameters

- `envelopeId` (uuid, required) — The envelope.
- `recipientId` (uuid, required) — The recipient to re-invite.

### Response

- `envelope` (Envelope) — The current [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/resend-link \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "recipientId": "7f2a4b1c-8d3e-4f5a-9b0c-1d2e3f4a5b6c"
  }'
```

```json title="Response (truncated)"
{
  "envelope": { "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13", "status": "SENT" },
  "errors": []
}
```

---

## Remind pending signers

**POST** `/e-signature/envelope/remind`

Sends reminder emails to recipients who have not yet signed.

### Request parameters

- `envelopeId` (uuid, required) — The envelope.
- `recipientIds` (array<uuid>) — Recipients to remind. Null or empty reminds every pending recipient.

### Response

- `envelope` (Envelope) — The current [envelope object](#the-envelope-object).
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/remind \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13" }'
```

```json title="Response (truncated)"
{
  "envelope": { "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13", "status": "SENT" },
  "errors": []
}
```

---

## Void an envelope

**POST** `/e-signature/envelope/void`

Cancels a sent envelope. Outstanding signing links stop working and the
envelope moves to `VOIDED`. The reason is recorded in the audit trail.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to void.
- `reason` (string) — Why the envelope is being voided.

### Response

- `envelope` (Envelope) — The envelope, now `VOIDED`.
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/void \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13",
    "reason": "Terms renegotiated; superseded by a new agreement."
  }'
```

```json title="Response (truncated)"
{
  "envelope": { "id": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13", "status": "VOIDED" },
  "errors": []
}
```

---

## Delete an envelope

**POST** `/e-signature/envelope/delete`

Permanently deletes an envelope. This is destructive and cannot be undone —
to cancel a sent envelope while keeping its record, use
[`/envelope/void`](#void-an-envelope) instead.

### Request parameters

- `envelopeId` (uuid, required) — The envelope to delete.

### Response

- `deleted` (boolean) — Whether the envelope was deleted.
- `errors` (array<string>) — Error messages, if any occurred.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/delete \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13" }'
```

```json title="Response"
{
  "deleted": true,
  "errors": []
}
```

---

## Download the sealed PDF

**POST** `/e-signature/envelope/download`

Returns a presigned download URL for the sealed PDF of a completed envelope
— the final document with all signatures and the certificate of completion.

### Request parameters

- `envelopeId` (uuid, required) — The completed envelope.

### Response

- `url` (string) — Time-boxed presigned download URL.
- `expiresInSeconds` (integer) — How long the URL stays valid.
- `filename` (string) — Suggested filename for the download.
- `errors` (array<string>) — Error messages, if any occurred (for example the envelope is not completed).

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/envelope/download \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "envelopeId": "e3b1c6a2-9f4d-4c8e-b7a1-2d5f8c9e0a13" }'
```

```json title="Response"
{
  "url": "https://s3.amazonaws.com/autessa-esign/...",
  "expiresInSeconds": 900,
  "filename": "Consulting Agreement — Acme Corp (sealed).pdf",
  "errors": []
}
```

---

## List the signing inbox

**POST** `/e-signature/inbox/list`

Lists envelopes where the **linked user is a recipient** — matched on email,
independent of which company owns the envelope. This is the "waiting for my
signature" view, complementing [`/envelope/list`](#list-envelopes) which
shows envelopes you own or that are shared with you.

### Request parameters

- `statusFilter` (array<string>) — Restrict to these envelope statuses.
- `page` (integer) — Page index.
- `pageSize` (integer) — Entries per page.

### Response

Same shape as [`/envelope/list`](#list-envelopes): `envelopes`, `total`,
`page`, `pageSize`, `errors`.

```bash title="cURL"
curl https://api.autessa.com/autessa_poweruser/e-signature/inbox/list \
  -X POST \
  -H "Authorization: $POWERUSER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "statusFilter": ["SENT"], "page": 0, "pageSize": 20 }'
```

```json title="Response (truncated)"
{
  "envelopes": [
    {
      "id": "f4c2d7b3-0a5e-4d9f-c8b2-3e6a9d0f1b24",
      "title": "NDA — Northwind Traders",
      "status": "SENT",
      "recipientCount": 1
    }
  ],
  "total": 1,
  "page": 0,
  "pageSize": 20,
  "errors": []
}
```

---

## Errors

| Status | When |
|--------|------|
| `200` | Success — check `errors` for validation messages (unknown envelope, structural edits after send, `ANY_ONE` with `SEQUENTIAL`, download before completion). |
| `401` | Invalid or missing poweruser key, or the linked user lacks access to the envelope. |
| `403` | Scoped key without the endpoint in its allow-list. |
| `408` | Server-side error; `errors` contains the message. |

---

## Related

- [Poweruser API overview](/docs/api/poweruser.md)
- [E-Signature Templates (Poweruser API)](/docs/api/poweruser/esignature-templates.md)
- [Document signing guide](/docs/guide/platform/document-signing.md)

