Skip to main content
PUT
Reorder Documents by Envelope ID

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

envelopeID
string<uuid>
required

A unique UUIDv4 string that identifies the envelope in the Nitro system.

Body

application/json

The request body should contain an array named 'order' with the document IDs in the desired sequence. This will update the order of documents within the envelope according to the provided list.

Example:

order
string<uuid>[]

An array of document IDs representing the new order of documents within the envelope.

Response

Documents reordered successfully.

Response for a pending document

name
string
required

Name of the file provided by the user.

Minimum string length: 1
ID
string<uuid>
required

Unique uuid identifier for the document.

Minimum string length: 1
createdAt
string<date-time>

UTC timestamp indicating when the document was created.

status
enum<string>

Current status of the document.

Available options:
pending,
uploaded,
failed,
signed,
sealed