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.

1. Prepare document from template

Prepare empty document

You must specify document type (template name) Example: For document type c_time_off_request use:
Prepared empty document

Prepare document with prefilled fields

You must specify document type (template name) and prefilled fields.
  • Prefilled fields must be specified in JSON format
  • Field names can be found using template editor or in HTML code
  • You can use encodeURIComponent() or similar function to escape characters
Example: For document type c_time_off_request and field values
use:
Prefilled document

Edit existing document

You must specify document type (template name) and document ID of the document Example: For existing document with type c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:

2. Prepare Microsoft Office document

You must specify document type and document extension
Possible extensions are:
  • docx - for Microsoft Word document
  • xlsx - for Microsoft Excel document
  • pptx - for Microsoft PowerPoint document
Example: For document type d_default and docx extension (Microsoft Word) use:
Prepared Microsoft Word document

3. Prepare document from external file

You must specify document type
Example: For document type d_default use:
Prepared document from external file

4. Sign document in Circularo

Open “Select who needs to sign” dialog

You must specify document type and ID of existing document
You can specify callbackUrl if you want to be redirected after successful signature or failure (user will not be able to leave the signing process - It does not mean the token has restricted rights! Just the current window does not allow you to leave the process) Example: For existing document with type c_time_off_request, ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 and callback URL https://www.google.com use:
"Select who needs to sign"

Sign document

You must specify document type and ID of existing document
Example: For existing document with type c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:
Sign document

5. View documents

Filter documents by document type

You must specify document type
Example: For document type c_time_off_request use:
Documents filtered by type

Select document

You must specify document type and ID of existing document
Example: For existing document with type c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:
Selected document

Show document detail

You must specify document type and ID of existing document
Example: For existing document with type c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:
Detail of selected document

Show document preview

You must specify document type and ID of existing document
Example: For existing document with type c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:
Preview of selected document

Show recent activity

Recent activity
You must specify share ID
Example: For existing share with id ad54c893defd0cb7c613147a0d427155bcfd82d3dc3905b59d05721e261e4e04 use:
Shared document to sign

7. Redirect on Login with token to a given state

This state allows for you to use authentication token as a mean to login and automatically get redirected towards a state with some provided parameters.

Usage

  • <new_state> - Application state where you should be redirected to. Possible values are listed in the section below.
  • <redirect_params> - Parameters for the state where you are going to be redirected to. It must be a URL encoded JSON object.
  • <token> - User token used for the automatic authorization.
Example
Remember to encodeURI the redirectParams, otherwise the redirect will fail.

Possible states and their parameters

/signPrepare - Prepare state for document signing
  • documentId - ID of the document to be signed.
  • forceHandover - Name of the user which should be automatically passed in as an in-person signer.
  • callbackUrl - Sandboxes the process of signing from the rest of the application and redirects the user on success / error to the given URL.

/home/:category - Redirect to the application home. There are multiple available categories, use these instead of :category in the URL:
  • inbox - The users inbox
  • my_files - The users folders
  • shared_files - The shared folders
  • all_documents - The overview of all users documents
There are also couple of available parameters:
  • selected - ID of the document which will be pre-selected in the document table.
  • modal - In combination with the selected parameter show a dialog with the document data. The only available value is "modal": "preview", which shows a document preview.
  • categoryGroup - If the category is a part of a category group (defined via settings), use this parameter to show the sub-category tabs.

In this section

Compose fill by URL

How to open a new document form with its fields prefilled from the URL.