Contract360 Workflow
Template Engine
Save Template API
10min
introduction efficiency meets versatility with our cutting edge api seamlessly upload template files in docx, editable pdf, and html formats, along with json data defining variables experience the convenience of generating tailored contracts effortlessly, then save it with a unique template id this id becomes your passport to streamlined contract creation, as you create customized contracts and more join us on a journey to redefine contract management and witness the power of the save template api in action your path to efficient, personalized contracts starts here 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 post 'https //api preproduction signzy app/api/v3/template/save' \\ \ header 'authorization ' \\ \ header 'content type application/json' \\ \ data '{ "templatename" "name of template", "templatetype" "docx, html, editablepdf", "templatedata" "url or base64", "templaterequiredvariables" "json data keys to be filled in template in desired format" }' production curl location request post 'https //api signzy app/api/v3/template/save' \\ \ header 'authorization ' \\ \ header 'content type application/json' \\ \ data '{ "templatename" "name of template", "templatetype" "docx, html, editablepdf", "templatedata" "url or base64", "templaterequiredvariables" "json data keys to be filled in template in desired format" }' input parameters key description type mandatory /optional templatename name of the template string mandatory templatetype type of the template the 3 supported types are docx html editablepdf string mandatory templatedata url or base64 data of the template string mandatory templaterequiredvariables json data keys to be filled in the template in desired format string mandatory sample response 200 { "status" "success", "statusdesp" "template save successfully", "templateid" "64dc69a43a7ff2504d1c21e4" } output parameters key description type status indicates the status of the operation string statusdesp description of the status string templateid id of the template it can be used in further processes 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 parameter 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 reach out to help\@signzy com first invitee fill data points if in the template, you want the first invitee (either the signer or the reviewer) to fill the data, in that case, you should define the json data structure for saving the template in the following way "firstinviteerequiredvariables" { "radiobutton" { "type" "radiobutton", "value" "", "required" true }, "textfield" { "type" "textfield", "value" "", "required" true }, "dropdown" { "type" "dropdown", "value" "", "required" true } } in that case, the following data points would appear to be filled by the first invitee