---
title: "Prepare Document for Review"
description: "Creates a signature document from a file, deliverable, template or URL and returns a preview URL where you check and adjust fields before sending. No email goes to recipients; the document waits with status `review_ready` until someone clicks Send in TurboDocx (or `setup_complete` when `fields` is an empty array)."
url: "https://docs.turbodocx.com/docs/API/prepare-document-for-review"
---

# Prepare Document for Review

> Creates a signature document from a file, deliverable, template or URL and returns a preview URL where you check and adjust fields before sending. No email goes to recipients; the document waits with status `review_ready` until someone clicks Send in TurboDocx (or `setup_complete` when `fields` is an empty array).

`POST https://api.turbodocx.com/turbosign/single/prepare-for-review`

```bash
curl -X POST "https://api.turbodocx.com/turbosign/single/prepare-for-review" \
  -H "Authorization: Bearer $TURBODOCX_API_KEY" \
  -H "x-rapiddocx-org-id: $TURBODOCX_ORG_ID"
```

  Request

### Body (multipart/form-data)

- `file` (string): PDF, DOCX or PPTX to send, up to 25 MB. Repeat the `file` part (up to 5 files, 25 MB in total) to merge them into one PDF. One file source is required.
- `deliverableId` (string): Send an existing deliverable. One file source is required.
- `templateId` (string): Send a template (Word, PowerPoint, or a PDF signature template). One file source is required. Recipients with a `role` need a PDF signature template here, or the `deliverableId` of a generated Word or PowerPoint document; a Word or PowerPoint `templateId` with roles returns 400 `TemplateRolesNeedPdfTemplate`.
- `fileLink` (string): Public URL of a PDF, DOCX or PPTX to download and send. One file source is required.
- `fileName` (string): File name to use for the uploaded or downloaded file.
- `documentName` (string): Document name shown to signers and in TurboDocx.
- `documentDescription` (string): Message included in the signature email.
- `recipients` (object[], required): Signers, sent as one JSON-encoded string part.
  - `name` (string, required): Signer's full name.
  - `email` (string, required): Signer's email address.
  - `signingOrder` (integer): Position in the signing sequence, starting at 1 with no gaps. Each recipient needs a different value (a repeat returns 400 `DuplicateSigningOrder`). Required unless the recipient has a `role`.
  - `role` (string): Key of a signer role saved on the template (for example `client`), matched ignoring case. Needs a PDF signature `templateId` or a `deliverableId` (otherwise 400 `RoleRequiresTemplate`); the role's saved fields are placed for this signer.
  - `metadata` (object): Optional display colors for this signer in the TurboDocx app.
    - `color` (string): Hex color `#RRGGBB`, for example `#4A90E2`. Other formats return 400 `InvalidMetadataColor`.
    - `lightColor` (string): Light hex color `#RRGGBB`, for example `#E3F2FD`. Other formats return 400 `InvalidMetadataLightColor`.
  - `phone` (string): Signer's mobile number in E.164 format (for example `+15551234567`). Required when the passcode is sent by SMS.
  - `externalId` (string): Your own identifier for the signer, unique within the document. Lets you request a signing URL by this value.
  - `otpChannel` (string): How the signer receives a one-time passcode. Omitted means your organization's default. Equivalent to an `identityVerification` block with `mode: otp`. Allowed: `none`, `email`, `sms`.
  - `identityVerification` (object): How the signer proves their identity. Omit it to use your organization's default.
    - `mode` (string, required). Allowed: `otp`, `external_idv`, `override`.
    - `channel` (string): For `otp`: how the passcode is delivered. Omitted means your organization's default. Allowed: `email`, `sms`.
    - `provider` (string): For `external_idv`: the name of your identity verification provider.
    - `maxAgeMinutes` (integer): For `external_idv`: how old a verification may be when you request the signing URL.
    - `overrideIdentityVerification` (boolean): For `override`: must be `true` to acknowledge that verification is skipped. Allowed: `true`, `false`.
    - `reason` (string): For `override`: why verification is skipped.
- `fields` (object[]): Fields to place, sent as one JSON-encoded string part. Required unless a recipient names a template `role` (leaving it out returns 400 `FieldsRequired`). An empty array `[]` is accepted: Prepare for Review then returns `setup_complete` so you can add fields in TurboDocx, and Send for Signature sends a document with no fields.
  - `recipientEmail` (string, required): Email of the recipient who fills this field. Must match a recipient's `email`.
  - `type` (string, required). Allowed: `signature`, `initial`, `date`, `full_name`, `first_name`, `last_name`, `title`, `company`, `email`, `text`, `checkbox`.
  - `required` (boolean, nullable): Whether the signer must fill the field. Defaults to `true`; `null` counts as `true`. Cannot be `false` on `signature` or `initial` fields, and must be a JSON boolean. Allowed: `true`, `false`.
  - `defaultValue` (string): Pre-filled value submitted with the signature. Not allowed on `signature` or `initial`. A `checkbox` takes `"true"` or `"false"`; a `date` takes `MM/DD/YYYY`.
  - `isReadonly` (boolean): Make the field read-only for the signer. Use with `defaultValue`. Allowed: `true`, `false`.
  - `isMultiline` (boolean): Allow multiple lines in a text field. Allowed: `true`, `false`.
  - `backgroundColor` (string): Background color: hex (`#FFFFFF`), `rgb(255,255,255)`, or a named color such as `white`.
  - `metadata` (object): Conditional (IF/THEN) field settings. Other keys are kept with the field.
    - `fieldKey` (string): Stable identifier on a controlling checkbox, referenced by dependent fields.
    - `conditional` (object): Rule on a dependent field that ties it to a controlling checkbox.
      - `controllingFieldKey` (string, required)
      - `operator` (string, required). Allowed: `is_checked`, `is_not_checked`.
      - `action` (string, required). Allowed: `show`, `unlock`.
  - `template` (object): Anchor-based placement. Give at least `anchor` or `searchText`.
    - `anchor` (string): Text in the document to place the field on, in single braces, for example `{Signature1}`.
    - `searchText` (string): Plain text to search for instead of a braced anchor.
    - `placement` (string). Allowed: `replace`, `after`, `before`, `above`, `below`. Default: `replace`.
    - `size` (object)
      - `width` (number, required)
      - `height` (number, required)
    - `offset` (object)
      - `x` (number, required)
      - `y` (number, required)
    - `caseSensitive` (boolean): Match the anchor case-sensitively. Allowed: `true`, `false`. Default: `false`.
    - `useRegex` (boolean): Treat the anchor as a regular expression. Allowed: `true`, `false`. Default: `false`.
    - `alignment` (string, nullable): Where the signer's entry sits inside the field. Allowed: `left`, `center`, `right`.
  - `page` (integer): Coordinate placement: page number, starting at 1.
  - `x` (number): Coordinate placement: distance from the left edge.
  - `y` (number): Coordinate placement: distance from the top edge.
  - `width` (number): Coordinate placement: field width.
  - `height` (number): Coordinate placement: field height.
  - `pageWidth` (number): Coordinate placement: page width the coordinates were measured on.
  - `pageHeight` (number): Coordinate placement: page height the coordinates were measured on.
  - `alignment` (string, nullable): Where the signer's entry sits inside the field. Allowed: `left`, `center`, `right`.
- `ccEmails` (string[]): Addresses copied on the completed document, sent as one JSON-encoded string part.
- `senderName` (string): Sender name shown to recipients. Defaults to the name of your API key.
- `senderEmail` (string): Reply-to address on the signature email and the sender recorded in the audit trail. Strongly recommended; when omitted a generic TurboDocx address is used.
- `language` (string): Language of the emails. Defaults to your organization's preference, then `en`. Allowed: `en`, `fr`, `es`, `pt`.
- `remindersEnabled` (boolean): Send reminder emails to signers who have not signed. Omitted means your organization's default. Allowed: `true`, `false`.
- `reminderDelay` (object): Time from a signer's invitation to their first reminder. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours). In multipart, send it as a JSON string such as `{"value":3,"unit":"days"}`.
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `reminderInterval` (object): Gap between later reminders. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours). In multipart, send it as a JSON string such as `{"value":3,"unit":"days"}`.
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `maxReminders` (integer): Most reminders per signer. `-1` means unlimited and `0` means none.
- `expirationEnabled` (boolean): Close the signing window after `expireAfter`. Omitted means your organization's default. Allowed: `true`, `false`.
- `expireAfter` (object): How long the document stays signable, counted from sending. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours). In multipart, send it as a JSON string such as `{"value":3,"unit":"days"}`.
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `expirationWarning` (object): How long before expiry the warning emails start. `0` means never warn. `unit` is `hours` or `days`; `value` is a whole number from 0 up to 999 days (23976 hours). In multipart, send it as a JSON string such as `{"value":3,"unit":"days"}`.
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `expirationWarningInterval` (object): Gap between warning emails once they start. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours). In multipart, send it as a JSON string such as `{"value":3,"unit":"days"}`.
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.

### Body (application/json)

- `deliverableId` (string): Send an existing deliverable. One file source is required.
- `templateId` (string): Send a template (Word, PowerPoint, or a PDF signature template). One file source is required. Recipients with a `role` need a PDF signature template here, or the `deliverableId` of a generated Word or PowerPoint document; a Word or PowerPoint `templateId` with roles returns 400 `TemplateRolesNeedPdfTemplate`.
- `fileLink` (string): Public URL of a PDF, DOCX or PPTX to download and send. One file source is required.
- `fileName` (string): File name to use for the uploaded or downloaded file.
- `documentName` (string): Document name shown to signers and in TurboDocx.
- `documentDescription` (string): Message included in the signature email.
- `recipients` (string, required): Signers as a JSON-encoded string (not a raw array): the same recipient objects described in the multipart/form-data body.
- `fields` (string): Fields as a JSON-encoded string (not a raw array): the same field objects described in the multipart/form-data body. Required unless a recipient names a template `role`.
- `ccEmails` (string): CC addresses as a JSON-encoded string array, for example `["legal@example.com"]`.
- `senderName` (string): Sender name shown to recipients. Defaults to the name of your API key.
- `senderEmail` (string): Reply-to address on the signature email and the sender recorded in the audit trail. Strongly recommended; when omitted a generic TurboDocx address is used.
- `language` (string): Language of the emails. Defaults to your organization's preference, then `en`. Allowed: `en`, `fr`, `es`, `pt`.
- `remindersEnabled` (boolean): Send reminder emails to signers who have not signed. Omitted means your organization's default. Allowed: `true`, `false`.
- `reminderDelay` (object): Time from a signer's invitation to their first reminder. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours).
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `reminderInterval` (object): Gap between later reminders. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours).
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `maxReminders` (integer): Most reminders per signer. `-1` means unlimited and `0` means none.
- `expirationEnabled` (boolean): Close the signing window after `expireAfter`. Omitted means your organization's default. Allowed: `true`, `false`.
- `expireAfter` (object): How long the document stays signable, counted from sending. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours).
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `expirationWarning` (object): How long before expiry the warning emails start. `0` means never warn. `unit` is `hours` or `days`; `value` is a whole number from 0 up to 999 days (23976 hours).
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.
- `expirationWarningInterval` (object): Gap between warning emails once they start. `unit` is `hours` or `days`; `value` is a whole number from 1 up to 999 days (23976 hours).
  - `value` (integer, required)
  - `unit` (string, required). Allowed: `hours`, `days`.



### Responses

#### 200

The document is ready for review.

```json
{
  "success": true,
  "documentId": "4a20eca5-7944-430c-97d5-fcce4be24296",
  "status": "review_ready",
  "previewUrl": "https://app.turbodocx.com/e-signature/assign-fields/4a20eca5-7944-430c-97d5-fcce4be24296",
  "recipients": [
    {
      "id": "5f673f37-9912-4e72-85aa-8f3649760f6b",
      "name": "John Smith",
      "email": "john.smith@example.com",
      "metadata": {}
    }
  ],
  "message": "Document prepared for review. Use the preview URL to review and assign fields."
}
```

#### 400

The request is invalid: a validation failure, no file source or more than one, malformed JSON in `recipients` or `fields`, a field or recipient problem (for example `FieldsRequired` or `UnknownSignerRole`), or a contradictory reminder and expiration schedule.

```json
{
  "message": "There was an issue validating the body",
  "type": "ValidationError",
  "data": {
    "errors": [
      {
        "message": "\"recipients\" is required",
        "path": [
          "recipients"
        ],
        "type": "any.required",
        "context": {
          "label": "recipients",
          "key": "recipients"
        }
      }
    ]
  }
}
```

#### 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.

#### 402

Your organization has used all of its signature credits (`SignatureLimitExceeded`), or the plan does not include the requested verification (`OtpNotEntitled`, `SmsOtpLimitExceeded`).

```json
{
  "message": "You have reached your signature limit. Please upgrade your plan for more signatures.",
  "type": "SignatureLimitExceeded"
}
```

#### 403

The key's role cannot send documents (viewers cannot; no body), or the organization has not turned on a verification mode the request uses (JSON body).

```json
{
  "message": "This organization does not allow changing the identity-verification method. Omit otpChannel or set it to 'email'.",
  "type": "OtpOverrideNotAllowed",
  "error": "This organization does not allow changing the identity-verification method. Omit otpChannel or set it to 'email'.",
  "code": "OtpOverrideNotAllowed"
}
```

#### 409

A recipient resolves to SMS verification but your organization has no SMS provider saved.

```json
{
  "message": "SMS verification is not configured for this organization.",
  "type": "SmsProviderNotConfigured",
  "error": "SMS verification is not configured for this organization.",
  "code": "SmsProviderNotConfigured"
}
```

#### 500

An unexpected server error. Nothing is wrong with your request.

```json
{
  "error": "An unexpected error occurred while preparing the document for review",
  "code": "UnexpectedError"
}
```
