Download template
get/v1/template/downloadReturns the PDF document for the specified templateId.
Code snippet
curl -X GET 'https://api.boldsign.com/v1/template/download?templateId=949ebf20-45a8-4a3e-91a9-68e9540e0020' \ -H 'accept: application/json' \ -H 'X-API-KEY: {your-api-key}'
var apiClient = new ApiClient("https://api.boldsign.com", "Your API-KEY"); var templateClient = new TemplateClient(apiClient); var documentStream = templateClient.DownloadTemplate("949ebf20-45a8-4a3e-91a9-68e9540e0020");
import requests url = "https://api.boldsign.com/v1/template/download?templateId=949ebf20-45a8-4a3e-91a9-68e9540e0020" 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 = await axios.get('https://api.boldsign.com/v1/template/download', { params: { 'templateId': '949ebf20-45a8-4a3e-91a9-68e9540e0020' }, headers: { 'accept': 'application/json', 'X-API-KEY': '{your API key}' } });
Request body
templateIdstringRequired | The ID of the template to download. |
Example response
200 Success
Contains the PDF document