List all templates
GET/templates
The API endpoint provides the ability to retrieve a list of available document templates.
NodeJS
var axios = require("axios").default;
var options = {
method: 'GET',
url: 'https://api.signature.nc/api/v1/templates',
headers: {'Authorization': 'Bearer {apiKey}'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
json
[
{
"name": "API Template",
"createdAt": "2024-05-27T02:52:59.310Z",
"updatedAt": "2024-05-27T02:52:59.310Z",
"uuid": "e37e7113-6eb9-4eb7-840f-feffe528dd03",
"documents": [
{
"name": "test.pdf",
"uuid": "486b40fa-dc36-4a40-b057-9058b7056896",
"fields": [],
"url": "https://api.signature.nc/uploads/test.pdf"
}
]
}
]