paperless-ngxInteract with Paperless-ngx document management system via REST API. Use when users want to search, upload, download, organize documents, manage tags, correspondents, or document types in their Paperless-ngx instance.
Install via ClawdBot CLI:
clawdbot install OskarStark/paperless-ngxManage documents in Paperless-ngx via its REST API using HTTP requests.
Requires environment variables:
PAPERLESS_URL: Base URL (e.g., https://paperless.example.com)PAPERLESS_TOKEN: API token from Paperless-ngx settingsInclude token in all requests:
Authorization: Token $PAPERLESS_TOKEN
curl -s "$PAPERLESS_URL/api/documents/?query=invoice" \
-H "Authorization: Token $PAPERLESS_TOKEN"
Filter options: correspondent__id, document_typeid, tagsidin, createddategte, createddatelte, addeddate__gte.
curl -s "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN"
# Original file
curl -s "$PAPERLESS_URL/api/documents/{id}/download/" \
-H "Authorization: Token $PAPERLESS_TOKEN" -o document.pdf
# Archived (OCR'd) version
curl -s "$PAPERLESS_URL/api/documents/{id}/download/?original=false" \
-H "Authorization: Token $PAPERLESS_TOKEN" -o document.pdf
curl -s "$PAPERLESS_URL/api/documents/post_document/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-F "document=@/path/to/file.pdf" \
-F "title=Document Title" \
-F "correspondent=1" \
-F "document_type=2" \
-F "tags=3" \
-F "tags=4"
Optional fields: title, created, correspondent, document_type, storage_path, tags (repeatable), archive_serial_number, custom_fields.
curl -s -X PATCH "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title": "New Title", "correspondent": 1, "tags": [1, 2]}'
curl -s -X DELETE "$PAPERLESS_URL/api/documents/{id}/" \
-H "Authorization: Token $PAPERLESS_TOKEN"
# List tags
curl -s "$PAPERLESS_URL/api/tags/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create tag
curl -s -X POST "$PAPERLESS_URL/api/tags/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Important", "color": "#ff0000"}'
# List correspondents
curl -s "$PAPERLESS_URL/api/correspondents/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create correspondent
curl -s -X POST "$PAPERLESS_URL/api/correspondents/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "ACME Corp"}'
# List document types
curl -s "$PAPERLESS_URL/api/document_types/" -H "Authorization: Token $PAPERLESS_TOKEN"
# Create document type
curl -s -X POST "$PAPERLESS_URL/api/document_types/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Invoice"}'
curl -s -X POST "$PAPERLESS_URL/api/documents/bulk_edit/" \
-H "Authorization: Token $PAPERLESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"documents": [1, 2, 3],
"method": "add_tag",
"parameters": {"tag": 5}
}'
Methods: set_correspondent, set_document_type, add_tag, remove_tag, delete, reprocess.
After upload, check task status:
curl -s "$PAPERLESS_URL/api/tasks/?task_id={uuid}" \
-H "Authorization: Token $PAPERLESS_TOKEN"
{"count": N, "results": [...]} with pagination?page=2 for pagination?ordering=-created for sorting (prefix - for descending)Generated Mar 1, 2026
Law firms can use this skill to upload, search, and organize case documents, contracts, and correspondence. It enables quick retrieval of files by tags or correspondents, streamlining case preparation and compliance audits.
Accounting departments can automate the upload and categorization of invoices and receipts into Paperless-ngx. The skill allows bulk tagging and filtering by date or document type, facilitating expense tracking and financial reporting.
Medical clinics can securely store patient records, lab reports, and insurance forms. The skill supports searching by metadata and downloading archived versions, aiding in record-keeping and regulatory compliance like HIPAA.
Schools and universities can manage academic papers, syllabi, and administrative documents. Users can upload materials with tags for courses, making it easy for staff and students to find resources by topic or date.
Manufacturing plants can document inspection reports, safety checks, and supplier contracts. The skill enables filtering by creation date and updating metadata, supporting quality audits and supply chain management.
Offer this skill as part of a subscription-based document management service, integrating with existing business tools. Revenue comes from monthly fees for enhanced features like bulk operations and API support.
Provide consulting services to businesses for setting up and customizing Paperless-ngx with this skill. Revenue is generated through project-based fees for configuration, training, and ongoing maintenance.
Distribute the skill for free with basic functionality, then charge for premium features like advanced search filters, automation workflows, or priority support. This attracts small businesses and scales with usage.
💬 Integration Tip
Ensure environment variables are securely stored and test API connectivity before deployment to avoid authentication errors in production.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Create, search, and manage Bear notes via grizzly CLI.
Track water and sleep with JSON file storage
Notion API for creating and managing pages, databases, and blocks.
Smart ClawdBot documentation access with local search index, cached snippets, and on-demand fetch. Token-efficient and freshness-aware.
Work with Obsidian vaults as a knowledge base. Features: fuzzy/phonetic search across all notes, auto-folder detection for new notes, create/read/edit notes with frontmatter, manage tags and wikilinks. Use when: querying knowledge base, saving notes/documents, editing existing notes by user instructions.