> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 1. Document Operations

> [!WARNING]
>
> 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](https://developers.circularo.com/).

## Document Operations Overview

Document operations are the core functionality of the Circularo platform, enabling users to create, store, retrieve, modify, and process documents throughout their lifecycle. This section provides comprehensive guidance on all aspects of document operations.

### Document Lifecycle

Documents in Circularo follow a complete lifecycle:

* **Creation**: Upload external files or generate documents from templates
* **Enrichment**: Add metadata, annotations, and attachments
* **Processing**: Sign, seal, or certify documents
* **Retrieval**: Search, download, and view documents
* **Deletion**: Remove documents when no longer needed

### Key Document Concepts

* **Metadata Definitions**: Templates that define the structure and fields of documents
* **Workflow Definitions**: Processes that define the lifecycle and states of documents
* **Document Templates**: Reusable configurations for creating similar documents
* **File Management**: Handling of document content and attachments
* **Digital Signatures**: Cryptographic protection for document authenticity and integrity
* **Audit Trails**: Comprehensive records of all document activities for compliance and verification

### Basic Document Operations

* **Document Creation**: Upload files and create documents with metadata
* **Document Retrieval**: Fetch documents by ID or search criteria
* **Document Modification**: Update document metadata and content
* **Document Deletion**: Remove documents when no longer needed

### Advanced Document Features

* **Document Search**: Find documents using powerful query capabilities
* **Document Scrolling**: Process large sets of documents efficiently
* **Document Annotation**: Add notes, highlights, and markups to documents
* **Document Signing and Sealing**: Apply cryptographic protection to documents
* **Document Audit Trails**: Download detailed activity logs for compliance and verification
* **Document Templates**: Create reusable document configurations

### Best Practices

* Use appropriate metadata definitions for different document types
* Implement consistent naming conventions for documents
* Leverage templates for frequently created document types
* Use document search capabilities for efficient document retrieval

> [!WARNING]
>
> Document operations may require specific permissions. Ensure your authentication token has the necessary rights to perform the desired operations.

> [!NOTE]
>
> All document operations require a valid authentication token. See the Authentication & Security section for details on obtaining and managing tokens.

### Getting Started

The scenarios in this section demonstrate the full range of document operations capabilities:

* Start with basic document creation to understand the fundamental concepts
* Explore document retrieval and search to efficiently find documents
* Learn about document signing and annotation for advanced document processing
* Discover document templates for streamlining repetitive document creation

## In this section

> [card] [1. Basic Document Creation](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/1-basic-document-creation.md)
>
> This scenario demonstrates how to create a new document in Circularo with the minimum required data.

> [card] [2. Advanced Document Creation](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/2-advanced-document-creation.md)
>
> This scenario demonstrates how to create a document in Circularo with additional metadata fields and optional properties.

> [card] [3. Document Download](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/3-document-download.md)
>
> This scenario demonstrates how to download a document from Circularo.

> [card] [4. Document Search](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/4-document-search.md)
>
> This scenario demonstrates how to search for documents in Circularo using various criteria and filters.

> [card] [5. Document Scrolling](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/5-document-scrolling.md)
>
> This scenario demonstrates how to efficiently retrieve and process large sets of documents using the scrolling functionality.

> [card] [6. Document Deletion](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/6-document-deletion.md)
>
> This scenario demonstrates how to delete documents from the Circularo system.

> [card] [7. Document Annotation](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/7-document-annotation.md)
>
> This scenario demonstrates how to annotate documents in Circularo by adding visual elements such as QR codes, text, or images.

> [card] [8. Document Signing and Sealing](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/8-document-signing-and-sealing.md)
>
> This scenario demonstrates how to create a document, apply electronic signatures or seals, and download the completed file.

> [card] [9. Document Templates](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/9-document-templates.md)
>
> This scenario demonstrates how to create and use document templates in Circularo.

> [card] [10. Document Custom Fields](https://developers.circularo.com/26.1/scenarios/2-document-management/1-document-operations/10-document-custom-fields.md)
>
> This scenario demonstrates how to attach custom fields to a document during creation and how to retrieve them later.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.