Template List
Markdown for LLMsReturns one page of the envelope templates the caller can see, newest first unless orderby says otherwise.
Entries are summaries, not full records: documents, recipients and signGroups are arrays carrying display fields — names, statuses, and the signGroupId that links a recipient to its group — not the ids and structure signatures-template-get returns. Fetch the record itself when you need those.
Page with top and skip, and read pagination inside result.data: totalCount is the number of matches across all pages, while count is only how many came back in this one.
transactionTokenId on each entry is the tid value that lets a recipient read that record without a Doctavian account.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Query Parameters
Maximum number of records to return — the page size. Optional; the server applies its own default when omitted.
How many records to skip before the page begins — the offset. Optional; defaults to 0, including when the value cannot be read as an integer.
Sort clause as Column|DIRECTION with a literal pipe between the two, for example UploadDate|DESC. Optional; defaults to UploadDate DESC, which is also what an unrecognized value falls back to.
Filter clauses as a URL-encoded JSON array, each entry { key, column, type, condition, value }. Optional.
A clause with the reserved key folder and the value templates scopes the result to templates.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/signatures/template/list?top=25&skip=50&orderby=UploadDate%7CDESC&filter=%255B%257B%2522key%2522%253A%2522folder%2522%252C%2522value%2522%253A%2522inbox%2522%257D%255D"{ "result": { "statusCode": 200, "message": "OK", "data": { "templates": [ { "id": "0ac4c6bd-2437-444e-b306-75ecfc09809e", "createdBy": { "id": "4e8d11f3-b0f8-4922-81a2-f6e903b5a863", "name": "Acme Corp Agreement.pdf", "email": "name@example.com" }, "creatorId": "4e8d11f3-b0f8-4922-81a2-f6e903b5a863", "status": "Completed", "uploadDate": "2026-09-17T09:14:22.000Z", "sendDate": "", "subject": "Please review and sign", "transactionTokenId": "b0f78bb3-4865-4624-afab-392d857d5325", "documents": [ { "name": "Master agreement.pdf" } ], "recipients": [ { "name": "Jane Doe", "email": "name@example.com", "status": "Template", "templateRole": "Counterparty", "signGroupId": "00000000-0000-0000-0000-000000000000" } ], "signGroups": [], "isSignOrder": true, "expireInDays": 0, "alertDaysBeforeExpiry": 0, "templateName": "NDA Template", "templateDescription": "Standard non-disclosure agreement template", "folderId": "1f69de4d-4e79-43fd-a8bd-edba83c8a995", "folderName": "Contracts" } ], "pagination": { "currentPage": 1, "count": 1, "pageSize": 25, "totalCount": 1, "hasNext": false, "hasPrevious": false } } }, "origin": "GET https://api.doctavian.com/v1/signatures/template/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "f80a5c23e91b4d76ba4c05e8137d9a24"}{ "error": { "statusCode": 401, "message": "The request could not be authenticated.", "innerErrors": [ { "code": "UNAUTHORIZED", "message": "The request could not be authenticated.", "userMessage": "Your session has expired or is invalid. Please sign in again." } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/template/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "f80a5c23e91b4d76ba4c05e8137d9a24"}{ "error": { "statusCode": 500, "message": "The envelope template list could not be retrieved.", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "The envelope template list could not be retrieved.", "userMessage": "Something went wrong. Please try again or contact support." } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/template/list", "dateTime": "2026-09-25T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "f80a5c23e91b4d76ba4c05e8137d9a24"}