BoldSign AI Assistant
Chat with the BoldSign AI AssistantDownload comments
get/v1-beta/document/downloadCommentsReturns the comment history for the specified document as a PDF file. For recipients, the PDF includes only the comment threads and details that are visible to them based on their permissions.
To download the complete comment history of a document created on behalf of another sender, specify the sender's email address in the onBehalfOf and make the request from the same account that created the document on their behalf.
Code snippet
curl -X GET 'https://api.boldsign.com/v1-beta/document/downloadComments?documentId=949ebf20-45a8-4a3e-91a9-68e9540e0020' \
-H 'accept: application/json' \
-H 'X-API-KEY: {your-api-key}'
ApiClient apiClient = new ApiClient("https://api.boldsign.com", "Your_API_Key");
DocumentClient documentClient = new DocumentClient(apiClient);
var documentStream = documentClient.DownloadComments("YOUR_DOCUMENT_ID");
import boldsign
configuration = boldsign.Configuration(host="https://api.boldsign.com", api_key="YOUR_API_KEY")
with boldsign.ApiClient(configuration) as api_client:
document_api = boldsign.DocumentApi(api_client)
document_stream = document_api.download_audit_log(document_id="YOUR_DOCUMENT_ID")
<?php require_once "vendor/autoload.php";
use BoldSign\Configuration;
use BoldSign\Api\DocumentApi;
$config = new Configuration();
$config->setHost('https://api.boldsign.com');
$config->setApiKey('YOUR_API_KEY');
$document_api = new DocumentApi($config);
$document_stream = $document_api->downloadAuditLog($document_id = 'YOUR_DOCUMENT_ID');
ApiClient client = Configuration.getDefaultApiClient();
client.setBasePath("https://api.boldsign.com");
client.setApiKey("YOUR_API_KEY");
DocumentApi documentApi = new DocumentApi(client);
File documentStream = documentApi.downloadAuditLog("YOUR_DOCUMENT_ID", null);
import { DocumentApi } from "boldsign";
const documentApi = new DocumentApi("https://api.boldsign.com");
documentApi.setApiKey("YOUR_API_KEY");
const documentStream = documentApi.downloadAuditLog("YOUR_DOCUMENT_ID");
Query parameters
| documentIdstringRequired | The unique document id of the document. |
| onBehalfOfstring | The on behalf email address of the sender. |
Example response
200 Success
Contains the comment history PDF document