How to retrieve document information using BoldSign API?

When a sender shares a document with a signer, either the sender or the signer might want to access specific information about the document, such as the value of the form fields, signer name, signer email, etc. BoldSign offers an API that allows users to retrieve information about a document.

Here are code examples in various programming languages demonstrating how to retrieve document information using the BoldSign API:

Code snippet

curl -X 'GET' \
  '{Your document Id}' \
  -H 'accept: application/json' \
  -H 'X-API-KEY: {Your API Key}'
var apiClient = new ApiClient("", "{Your API Key}");
var documentClient = new DocumentClient(apiClient);
var documentInformation = documentClient.GetProperties("{Your document Id}");
import requests

url = "{Your document Id}"

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

response = requests.request("GET", url, headers=headers, data=payload)

const axios = require('axios');

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: '{Your document Id}',
  headers: { 
    'accept': 'application/json', 
    'X-API-KEY': '{Your API Key}'

.then((response) => {
.catch((error) => {

In the provided examples, make sure to replace documentId with the actual ID of the document for which you want to retrieve information. After executing the above code snippet, you will receive the desired document information using the API response.