Skip to main content
POST
Create a template from a file upload

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

The PDF, DOC, or DOCX file to upload (max 40MB)

filename
string
required

The name of the file including extension

Example:

"document.docx"

signer_roles
string

Optional. JSON array of ordered signer roles, sent as a single multipart string. Each item needs a non-empty name and a non-negative integer order (0-based).

Example:

"[{\"name\":\"Client\",\"order\":0},{\"name\":\"Witness\",\"order\":1}]"

Response

Template created successfully

templateId
string

The unique identifier of the created template

Example:

"abc123xyz"

editTemplateAccess
object

Template editing access information