List all documents of a given template
GET/templates/{uuid}/documents
The API endpoint provides the ability to retrieve a list of available documents of a given template.
Parameters
- uuid String
The unique identifier of the document template.
NodeJS
var axios = require("axios").default;
var options = {
method: 'GET',
url: 'https://api.signature.nc/api/v1/templates/e37e7113-6eb9-4eb7-840f-feffe528dd03/documents',
headers: {'Authorization': 'Bearer {apiKey}'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
json
{
"documents": [
{
"name": "test.pdf",
"uuid": "486b40fa-dc36-4a40-b057-9058b7056896",
"fields": [],
"url": "https://api.signature.nc/uploads/test.pdf"
}
{
"name": "test2.pdf",
"uuid": "a11418ef-f5e4-4dcc-82f2-3189840950e2",
"fields": [],
"url": "https://api.signature.nc/uploads/test2.pdf"
}
]
}