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.

Requirements

  • Authentication token
  • Document ID

How to

1. Retrieve the document

This API call will retrieve information about the selected document. In the request, you will need to specify the following information:
  • documentID: The ID of the document you want to retrieve.
  • authenticationToken: Your authentication token.

Example

Request
The response of the API call will be a JSON object containing information about the selected document, including the document’s version, definition, title, fields, type, date, sign status, values, workflow history, attachments, tags, and folder information.
Please note that the returned object also contains information about all users included in the document.

2. Download audit trail

This API call will return a pdf document with the audit trail information of the specified document. In the request, you will need to specify the following information:
  • documentID: The ID of the document you want to retrieve the audit trail for.
  • authenticationToken: Your authentication token.

Example

Request
The response of the API call will be a pdf document named “My Document (audit trail)“.

3. Download document file

This API call will download the main file of the specified document. The file type may vary depending on the document creation process. In the request, you will need to specify the following information:
  • hash: The file hash of the document you want to download - it can be found by calling GET /documents as specified in point 1. The hash can be found in "pdfFile" object, value "content":
  • authenticationToken: Your authentication token.

Example

Request
The response of the API call will be the main file of the specified document.