Download audit trail
get/v1/document/downloadAuditLogReturns the audit log for the completed document in PDF format for the specified document Id. This audit trail document will contain information about the different actions performed by the recipients with time stamp along with hash of the digitally signed document, which can be used to determine if the signed document is modified.
When the document is created on behalf of a particular sender email, then the download audit trail operation can be performed on the same account by specifying the email in the onBehalfOf.
Code snippet
curl -X GET 'https://api.boldsign.com/v1/document/downloadAuditLog?documentId=949ebf20-45a8-4a3e-91a9-68e9540e0020' \ -H 'accept: application/json' \ -H 'X-API-KEY: {your-api-key}'
var documentId = "949ebf20-45a8-4a3e-91a9-68e9540e0020"; ApiClient apiClient = new ApiClient("https://api.boldsign.com", "your API key"); DocumentClient documentClient = new DocumentClient(apiClient); var documentStream = await documentClient.DownloadAuditLog(documentId).ConfigureAwait(false);
import boldsign configuration = boldsign.Configuration( api_key = "YOUR_API_KEY" ) with boldsign.ApiClient(configuration) as api_client: document_api = boldsign.DocumentApi(api_client) download_audit_log_response = document_api.download_audit_log( document_id="YOUR_DOCUMENT_ID" )
const axios = require('axios'); const response = await axios.get('https://api.boldsign.com/v1/document/downloadAuditLog', { params: { 'documentId': '949ebf20-45a8-4a3e-91a9-68e9540e0020' }, responseType: "stream", headers: { 'accept': 'application/json', 'Authorization': 'X-API-KEY: {your API key}' } });
Request body
documentIdstringRequired | The unique document id of the document. |
onBehalfOfstring | The on behalf email address of the sender. |
Example response
200 Success
Contains the audit PDF document