Reorder Documents by Envelope ID
The Reorder Documents by Envelope ID endpoint reorders all documents associated with a specific envelope based on the order specified in the request body.
Documents are returned in an items array within the JSON response reflecting the new order.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A unique UUIDv4 string that identifies the envelope in the Nitro system.
Body
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": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ffa85f64-5709-6562-g3fc-1c963f66afa5"
]
}An array of document IDs representing the new order of documents within the envelope.
Response
Documents reordered successfully.
- Pending
- Uploaded
- Failed
- Signed
- Sealed
Response for a pending document
Name of the file provided by the user.
1Unique uuid identifier for the document.
1UTC timestamp indicating when the document was created.
Current status of the document.
pending, uploaded, failed, signed, sealed