One Touch Sign (OTS)
Template Engine
Get All Templates API
8min
introduction say hello to effortless template tracking with our get all templates api receive an array of comprehensive objects, each brimming with essential details for your specific customer id from template names and files to crucial json data, our api puts you in control streamline your workflow, retrieve vital information, and revolutionize your template management experience the ease of get all templates api – where organized content is just a call away start optimizing your template management journey today! authentication api authentication is a crucial security process that ensures authorized access to an application programming interface (api) it involves validating the identity of users or systems seeking to interact with the api please use the access token shared with you by your assigned signzy's csm please set the value of the key authorization in the headers to the access token , while making an api call in this way, signzy's system will be able to authenticate you and you will be able to make a successful api call api details the details of the api can be found here sample curl pre production curl location request get 'https //api preproduction signzy app/api/v3/template/getall' \\ \ header 'authorization ' \\ \ header 'content type application/json' \\ \ data '{ }' production curl location request get 'https //api signzy app/api/v3/template/getall' \\ \ header 'authorization ' \\ \ header 'content type application/json' \\ \ data '{ }' sample response 200 { "status" "success", "statusdesp" "search successfully", "templatedetails" \[{ "templatename" "name of template", "templatetype" "docx, html, editablepdf", 	"templatedata" "url or base64", "templaterequiredvariables" "json data keys to be filled in template in desired format", "templateid" "" }] } output parameters key description type status status string statusdesp description of the status string templatedetails details of all the templates array of objects templatename name of the template string templatetype type of the template (docx, html, editablepdf) string templatedata url or base64 data of the template string templaterequiredvariables json data keys to be filled in the template in desired format string templateid template id string sample errors 400 { "name" "error", "message" "invalid url extension", "reason" "validation error", "type" "bad request", "statuscode" 400 } 401 { "message" "invalid authentication credentials" } 500 { "error" { "name" "error", "message" "internal server error", "reason" "internal server error", "type" "internal server error", "statuscode" 500 } } error parameters parameter type description name string in case of errors, it will have the value "error" it represents an error message string message for the error reason string reasons for the error type string type of error statuscode string status code of the error error codes error code error message explanation 400 bad request input parameter has a missing required parameter or invalid inputs 401 authorization failed authorization token is invalid 500 internal server error internal error at signzy, please write to us at help\@signzy com