Signatures
Template Get
Markdown for LLMsRetrieves one envelope template in full: the template record itself, the documents it carries, its placeholder recipients and sign groups, and the fields placed on those documents.
Only templates on the caller's own subscription are returned. The values here are the defaults every envelope created from this template inherits — signatures-envelope-create-from-template supplies the real recipients and may override the subject and message.
AuthorizationBearer <token>
JWT token to authenticate the request.
In: header
X-Api-Key<token>
API key, sent as a request header.
In: header
Path Parameters
templateId*string
Id of the envelope template to retrieve, as returned by signatures-template-create in result.data.template.id.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/signatures/template/3d8f0a04-4df1-4faf-9748-7fa635e60912/get"{ "result": { "statusCode": 200, "message": "OK", "data": { "template": { "id": "57effa9f-869e-40a1-ad22-9a5401084bd7", "createdBy": { "id": "1d8b89c4-0889-4d03-a90c-9af09ac3bc9b", "name": "Jane Doe", "email": "name@example.com" }, "uploadDate": "2026-08-26T02:07:15.000Z", "sendDate": "", "status": "Template", "subject": "Sales agreement for signature", "message": "", "isSignOrder": false, "expireInDays": 2, "firstReminderDays": 1, "repeatingReminderDays": 1, "notifyWhenOpened": true, "notifyWhenSigned": true, "alertDaysBeforeExpiry": 1, "templateName": "Sales Agreement Template", "templateDescription": "", "folderId": "", "folderName": "", "locale": "en-GB", "timeZone": "Europe/London", "externalContext": "" }, "documents": [ { "id": "fbdf2cc1-20b5-4648-b40d-89efcd9d8351", "name": "Sales Quote.pdf", "externalContext": "" }, { "id": "ac609dd1-5f29-496f-adb4-1dc3953f2c79", "name": "Terms and Conditions.pdf", "externalContext": "" } ], "recipients": [ { "id": "aa1f1148-fa34-4018-bfa1-0c6a36bd1e5b", "name": "Alex Johnson", "email": "name@example.com", "role": "signer", "status": "Template", "signDate": "", "signOrder": 1, "signGroupId": "00000000-0000-0000-0000-000000000000", "userId": "", "mandatory": true, "isMFAEnabled": false, "phoneNumber": "", "hostEmail": "", "templateRole": "Recipient 1", "language": "es", "externalContext": "" }, { "id": "75d5d0da-51ec-41fd-8020-49ef460d6f34", "name": "Jane Doe", "email": "name@example.com", "role": "signer", "status": "Template", "signDate": "", "signOrder": 1, "signGroupId": "7ba3e8bb-17c0-4bce-92e5-a45ee806bed0", "userId": "1d8b89c4-0889-4d03-a90c-9af09ac3bc9b", "mandatory": true, "isMFAEnabled": false, "phoneNumber": "", "hostEmail": "", "templateRole": "Group", "language": "es", "externalContext": "" } ], "signGroups": [ { "id": "7ba3e8bb-17c0-4bce-92e5-a45ee806bed0", "name": "Approvers", "role": "signer", "status": "Template", "signOrder": 1, "mandatory": true, "templateRole": "Group" } ], "fields": [ { "id": "c2056edf-4457-41f8-8df8-9974d51f21bb", "name": "signature_e601d6bb-8c4d-4118-a185-b15a6fefec62", "recipientId": "aa1f1148-fa34-4018-bfa1-0c6a36bd1e5b", "signGroupId": "", "documentId": "fbdf2cc1-20b5-4648-b40d-89efcd9d8351", "type": "signature", "value": "", "page": 1, "height": 20, "width": 145, "positionX": 202, "positionY": 432, "isRequired": true, "properties": { "fontFamily": "Courier", "fontSize": 12, "color": "#000000", "bold": false, "italic": false, "underline": false, "textAlign": "left", "placeholder": "", "isSignedDate": false, "selectionGroup": "", "selectionValue": "", "regexValidation": "", "regexValidationMessage": "" } }, { "id": "ddde2e95-2667-4cef-b7c9-824c759b2528", "name": "signature_15da5fef-2e4c-45dd-8914-613d51e78c45", "recipientId": "", "signGroupId": "7ba3e8bb-17c0-4bce-92e5-a45ee806bed0", "documentId": "fbdf2cc1-20b5-4648-b40d-89efcd9d8351", "type": "signature", "value": "", "page": 1, "height": 20, "width": 145, "positionX": 231, "positionY": 473, "isRequired": true, "properties": { "fontFamily": "Courier", "fontSize": 12, "color": "#000000", "bold": false, "italic": false, "underline": false, "textAlign": "left", "placeholder": "", "isSignedDate": false, "selectionGroup": "", "selectionValue": "", "regexValidation": "", "regexValidationMessage": "" } } ] } }, "origin": "GET https://api.doctavian.com/v1/signatures/template/{templateId}/get", "dateTime": "2026-09-24T12:20:33.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "3f7c1b08d5a24e69b0c47e13a862f5d4"}{ "error": { "statusCode": 400, "message": "Bad Request", "innerErrors": [ { "code": "TEMPLATE_ID_INVALID", "message": "Template with ID 338179ac-99b9-4989-b012-24078f4b1e21 does not exist", "userMessage": "Template with ID 338179ac-99b9-4989-b012-24078f4b1e21 does not exist" } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/signatures/template/{templateId}/get", "dateTime": "2026-10-09T10:38:21.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "63f2c6f163e9d6bb53c360afebfb771b"}{ "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/{templateId}/get", "dateTime": "2026-09-24T10:22:41.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "3f7c1b08d5a24e69b0c47e13a862f5d4"}{ "error": { "statusCode": 403, "message": "Forbidden", "innerErrors": [ { "code": "ENVELOPE_ACCESS_DENIED", "message": "Envelope access denied for envelope id 3d8f0a04-4df1-4faf-9748-7fa635e60912", "userMessage": "You do not have permission to access envelope with id 3d8f0a04-4df1-4faf-9748-7fa635e60912" } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/template/{templateId}/get", "dateTime": "2026-10-01T09:41:06.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "c4e81a0f6b2d49e7a35f90d1b8e62c47"}Empty
{ "error": { "statusCode": 500, "message": "The template could not be retrieved.", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "The template could not be retrieved.", "userMessage": "Something went wrong. Please try again or contact support." } ] }, "origin": "GET https://api.doctavian.com/v1/signatures/template/{templateId}/get", "dateTime": "2026-09-24T10:22:41.000Z", "userId": "1a2b3c4d-5e6f-4a1b-8c2d-3e4f5a6b7c8d", "operationId": "3f7c1b08d5a24e69b0c47e13a862f5d4"}