template
property is required and can be a template id or template reference. When creating a new document, the latest version of the template is always used. Only published templates can be used to create a document.values
property in the request. The data should match the structure defined by the template's form.edit_url
property. If the end user needs to complete the information for the document, send him to this URL. The document id is a unique and unguessable 32 bit random value. The user doesn't need any information other than this URL.callback
URL was specified when creating the document, it will be called when the end user completes filling out the document. The request body is a JSON representation of the document and similar to the response body when creating a document.Accept
header to specify if you'd like to receive the document data and metadata as JSON or just contents as PDF or HTML.step
property which is set to finished
. Set the step
property to null
to allow the user to modify the document. The edit url remains unchanged. Once the end user is finished, the webhook (specified as callback
when the document was created) will be called again.values
property. The values are merged, even for nested data, as specified by RFC 7396 (regardless of the Content-Type
).If-Unmodified-Since
header for optimistic locking. This prevents overwriting the document data, which may have been modified by the user is the document is not locked.