Upload files

Use this endpoint to add multiple attachments or a single PDF document to a contract. See here for more information.

Path Params
integer
required

The unique ID of the contract.

Body Params

Request body parameters used for adding multiple attachments or a single PDF document to the specified contract.

file
array of files
required

Encoded file data, e.g., the list of files to be uploaded to the contract in binary or base64 format.

file*
string
required

The file type of the file to be imported. There are only two types available: attachment and expanded_pdf.

Headers
string
required
length between 40 and 40

The API key of your Oneflow account.

string
required

The email address of a registered Oneflow user.

Responses

400

Invalid format or content of the request.

403

The request is not authorized by the server.

404

A required entity is missing.

409

A conflict occurred with the current state of the target resource.

Language
URL
Choose an example:
application/json