Download document using BoldSign API

BoldSign allows you to download the document that has been sent for signature. This document can be downloaded by the signers, senders, and CC recipients of the document.

Follow these steps to successfully download the document you have sent

Request document download using BoldSign API

To initiate the document download, you'll need to use the document ID of the specific document you want to download.

Here are example codes you can use to perform the download:

Code snippet

curl -X GET 'https://api.boldsign.com/v1/document/download?documentId={Your document Id}' \
-H 'accept: application/json' \
-H 'X-API-KEY: {your-api-key}'

var apiClient = new ApiClient("https://api.boldsign.com", "Your API-KEY");
var documentClient = new DocumentClient(apiClient);
var documentStream = documentClient.DownloadDocument("{Your document Id}");

import requests

url = "https://api.boldsign.com/v1/document/download?documentId={Your document Id}"

payload={}
headers = {
  'accept': 'application/json',
  'X-API-KEY': '{your API key}'
}

response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios');
const response = axios.get('https://api.boldsign.com/v1/document/download', {
    params: {
        'documentId': '{Your document Id}'
    },
    responseType: "stream",
    headers: {
        'accept': 'application/json',
        'X-API-KEY': '{your API key}'
    }
});

In the provided examples, ensure that you replace the documentId with the actual ID of the document you intend to download.

Upon executing the code, the document will be generated, and you will be able to proceed with downloading it.