Skip to main content
You are viewing the documentation of release 26.1, which is no longer the current one. Go to the documentation of the current release 26.2.
Please note that an authentication token is required as a parameter in the API call. Also, you need to upload the file first and create a document.

Requirements

  • Document ID

1. Add attachment to the document

To add an attachment to an already existing document, you can use the following API call:
This call will add an attachment to the specified document, using the file hash of the previously uploaded file. In the body of the request, you will need to specify the following information:
  • fileHash: The file hash of the attachment you want to add.
  • document_name: The name of the attachment document.

Example

Request
The response of the API call will have a status of 200, indicating that the attachment has been added to the specified document.