Merge templates and send
POST {{apiBaseUrl}}/v1-beta/template/mergeAndSend
Templates play a pivotal role in enhancing your document management workflow. Users can merge one or more templates into a single document. This merge template process takes an array of template IDs as input and performs a series of checks and operations to seamlessly merge the templates into a finalized document.
Request Body
{"templateIds"=>["be662dae-96fb-45ee-b812-059ec692e234", "ace62dae-96fb-45ee-b812-059ec692e635"], "roles"=>[{"roleIndex"=>1, "signerName"=>"David", "signerOrder"=>1, "signerEmail"=>"david@cubeflakes.com", "privateMessage"=>"private message", "signerType"=>"Signer", "locale"=>"EN", "deliveryMode"=>"Email", "formFields"=>[{"id"=>"sign", "name"=>"sign", "fieldType"=>"Signature", "pageNumber"=>1, "bounds"=>{"x"=>100, "y"=>120, "width"=>100, "height"=>100}}]}, {"roleIndex"=>2, "signerName"=>"David1", "signerOrder"=>1, "signerEmail"=>"david+1@cubeflakes.com"}]}
RESPONSES
status: Created
{"documentId":"9b045a97-d534-4bfa-9144-500da20ed63a"}