Get Document(s) For Sign
This document contains details for the /api/v1/envelope/{envelopeUuid}/for-sign endpoint, including request parameters and the response format for documents available for signing.
Last updated
Was this helpful?
This document contains details for the /api/v1/envelope/{envelopeUuid}/for-sign endpoint, including request parameters and the response format for documents available for signing.
You can sign a document if the document has a signature field assigned to the particular user. Using this endpoint, you can get the list of documents to sign. To get the list of documents for signing, you should send the following API request:
URL
/api/v1/envelope/{envelopeUuid}/for-sign
Authorization
Bearer {token}
content-type
application/json
mailboxUuid
{uuid}
envelopeUuid
{uuid}
docIds
(array[string])
Depending on the body of the request, you can get two types of response:
Send a request with an empty array in the body — get all documents from the envelope with signatures related to the particular user.
Send a request with a particular document ID in the body — get a particular document for signing.
In response, you get an array with information about documents for signing.
Status code: 200 OK
[
{
"documentId": "string",
"pdf": "string",
"pdfName": "string",
"signatureName": "string",
"xml": "string",
"xmlName": "string"
}
]Description of the response data:
PDF binary data
pdfName
Name of the document
signatureName
Name of the signature field
xml
Document in .xml format
xmlName
Structured document name
Last updated
Was this helpful?
Was this helpful?
