Upload Content

Uploads a PDF or Word file (.pdf, .docx) of at most 50 MB to a draft envelope as multipart/form-data and returns the new content item. Larger files are rejected with 413. The file type is taken from the content type of the fileData part, so send application/pdf or the .docx MIME type. Files can only be added while the envelope status is DRAFT. To fill a Word template, send templateDataJsonString. To send base64 files in a JSON body instead, use Create and Publish Envelope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the envelope.

Body Params
file
required

The PDF or Word file (.pdf, .docx) to upload.

string

A JSON object as a string, for example {"customerName":"Jane Doe"}. Its values fill the template fields of a Word (.docx) file. Sending it with a PDF returns 400 FILE_TEMPLATE_DATA_REQUIRES_WORD. The filled document is converted to PDF when the envelope is published. Template syntax: https://docs.apryse.com/core/guides/generate-via-template/data-model/#general-principles

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json