1. Prepare document from template
Prepare empty document
c_time_off_request use:

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
c_time_off_request and field values

Edit existing document
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
docx- for Microsoft Word documentxlsx- for Microsoft Excel documentpptx- for Microsoft PowerPoint document
d_default and docx extension (Microsoft Word) use:

3. Prepare document from external file
You must specify document type
d_default use:

4. Sign document in Circularo
Open “Select who needs to sign” dialog
You must specify document type and ID of existing document
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:

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

5. View documents
Filter documents by document type
You must specify document type
c_time_off_request use:

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

Show document detail
You must specify document type and ID of existing document
c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:

Show document preview
You must specify document type and ID of existing document
c_time_off_request and ID 51ebfacf-6c5a-4261-b2c4-5c2401e98d80 use:

Show recent activity

6. Share link for external users
You must specify share ID
ad54c893defd0cb7c613147a0d427155bcfd82d3dc3905b59d05721e261e4e04 use:

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.
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 inboxmy_files- The users foldersshared_files- The shared foldersall_documents- The overview of all users documents
selected- ID of the document which will be pre-selected in the document table.modal- In combination with theselectedparameter 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.