Template Move
Markdown for LLMsMoves an envelope template into a folder, or back to the root. This is the only thing it changes: to change anything else about a template, use signatures-template-update.
signatures-template-create and signatures-template-update can also set the folder, through template.folderId. This operation is the quicker way to change only the folder, because it takes the folder alone, while an update needs the whole template re-sent.
Send the target folder's id as template.folderId, or send folderId as null to take the template out of its current folder and place it at the root; leaving folderId out does the same. The folder must be one of the caller's own folders for envelope templates — one created with folderEntityId ENVELOPE_TEMPLATES. Any other is rejected with 400, and the template stays where it was: FOLDER_ID_INVALID for an id that matches no folder, FOLDER_FORBIDDEN for another user's folder, FOLDER_NAMESPACE_MISMATCH for a folder that holds Documents records, and REQUEST_BODY_INVALID for a folderId that is not a GUID.
Only the template's owner can move it: another user's template is rejected with 403 TEMPLATE_ACCESS_DENIED, and a template in another subscription with 400 TEMPLATE_ID_INVALID. Either way it stays where it was. signatures-template-list returns folderId and folderName for a template in a folder.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Path Parameters
Id of the envelope template to move, as returned by signatures-template-create in result.data.template.id.
uuidRequest Body
application/json
The envelope template's new folder, under template, alongside an optional externalContext. template and template.folderId are both mandatory — omitting template, or sending template without folderId, is rejected with a 400.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/signatures/template/3d8f0a04-4df1-4faf-9748-7fa635e60912/move" \ -H "Content-Type: application/json" \ -d '{ "template": { "folderId": "123e4567-e89b-12d3-a456-426614174000" }, "externalContext": { "id": "12345" } }'{ "result": { "statusCode": 200, "message": "OK" }, "origin": "PUT https://api.doctavian.com/v1/signatures/template/{templateId}/move", "dateTime": "2026-07-20T11:00:00.000Z", "externalContext": { "id": "12345" }, "userId": "006bdb20-145b-4e1d-b712-a72e49ef1489", "operationId": "9d2f4b7e1a6c48b3805e3c9f71d2a6b4"}{ "error": { "statusCode": 400, "message": "Bad Request", "innerErrors": [ { "code": "FOLDER_ID_INVALID", "message": "FOLDER_ID_INVALID", "userMessage": "FOLDER_ID_INVALID" } ] }, "origin": "PUT https://api.doctavian.com/v1/signatures/template/{templateId}/move", "dateTime": "2026-07-20T11:00:00.000Z", "userId": "e35edc5a-b986-436a-b4a2-cf4f194e30aa", "operationId": "2cc69509bf95c3915acfa0f592250661"}{ "error": { "statusCode": 403, "message": "Forbidden", "innerErrors": [ { "code": "TEMPLATE_ACCESS_DENIED", "message": "Template 3d8f0a04-4df1-4faf-9748-7fa635e60912 belongs to another user.", "userMessage": "You do not have permission to move this template." } ] }, "origin": "PUT https://api.doctavian.com/v1/signatures/template/{templateId}/move", "dateTime": "2026-10-01T09:41:06.000Z", "userId": "e35edc5a-b986-436a-b4a2-cf4f194e30aa", "operationId": "c4e81a0f6b2d49e7a35f90d1b8e62c47"}{ "error": { "statusCode": 500, "message": "Internal Server Error", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "An unexpected error occurred while moving the template.", "userMessage": "Something went wrong. Please contact support." } ] }, "origin": "PUT https://api.doctavian.com/v1/signatures/template/{templateId}/move", "dateTime": "2026-07-20T11:00:00.000Z", "userId": "4aa0ad5a-2564-4465-b987-745db67abcbd", "operationId": "a8eef28bff3532389d557855e7da4dd3"}