Contract Documents

Uploads a document to a contract

Changed on

Attaches one PDF, JPEG, PNG, or XLSX file to an existing contract. Existing attachments are preserved, including files uploaded through the Rillet application or imported from Salesforce. Repeating an upload creates another attachment. A file may be at most 9 MiB. The upload is refused when the contract already has 20 attachments, or when it would take the contract's attachments past 100 MiB in total; files uploaded through the Rillet application or imported from Salesforce count toward both limits. A file name may have at most 255 characters and must not contain a path.

post/contracts/{contract_id}/documents

Request

Request body multipart/form-data

filestring binary required

Response

Document attached

idstring uuid required

Identifier of the attachment.

file_namestring required
sizeinteger required

Size in bytes.

urlstring uri required

Temporary download URL valid for up to 1 hour.

Example response

{
  "file_name": "order-form-signed.pdf"
}

Changes