The BoldSign mobile app is now available. Visitthis link for more details and give it a try!
The BoldSign mobile app is now available. Visitthis link for more details and give it a try!
Explore the BoldSign features that make eSigning easier.
Whether you’re initiating a transaction, appending your signature, or simply monitoring the progress as a CC’d recipient, accessing your finalized documents should be seamless and hassle-free. Today, we’ll explore how to download a completed eSignature document using BoldSign’s API. Let’s get started.
The first step in downloading a completed eSignature document via the BoldSign API is to initiate the download request. This requires the document ID of the specific document you wish to download. BoldSign supports REST API, which means you can use any server-side programming language to call the BoldSign APIs. Let’s look at how to initiate the download process using different programming languages.
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}'
}
});
<?php
require_once "vendor/autoload.php";
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Request;
$client = new Client();
$headers = [
'accept' => 'application/json',
'X-API-KEY' => '{your-api-key}'
];
$request = new Request('GET', 'https://api.boldsign.com/v1/document/download?documentId={Your document Id}, $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
After you’ve initiated the document download request, BoldSign’s API returns the document stream, which contains the completed eSignature document. You can then process the document stream depending on your application’s requirements. For instance, you may choose to save the document to a local file system, integrate it into another system, or display it to the user for further action.
In conclusion, downloading completed eSignature documents via the BoldSign API is convenient. By leveraging BoldSign’s API, you can seamlessly integrate document retrieval capabilities into your applications, streamlining workflow processes and enhancing the user experience.
Gopinath is a passionate software developer with 2 years of experience at BoldSign. He is an avid writer and enjoys sharing his insights on technology and development. In his free time, he enjoys exploring new technologies and learning new things.
Gopinath is a passionate software developer with 2 years of experience at BoldSign. He is an avid writer and enjoys sharing his insights on technology and development. In his free time, he enjoys exploring new technologies and learning new things.
Latest Articles
Demo-Rss
Mandating Signer Authentication When Making Signature Requests via API
How to Send Documents for eSignature with Identity Verification via API