Skip to content
Maua.Culturewire

Paperless-ngx

Search the documents, tags and correspondents of your Paperless-ngx

ProductivityCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API tokenSecretRequired
    • Paperless-ngx URLRequiredHTTPS URL

    Where to find them

    1. In Paperless-ngx click your username in the top right and open “My Profile”.
    2. Next to “API Auth Token”, copy the token. If it is empty, click the circular arrows (“Regenerate auth token”) and confirm with “Yes”: regenerating replaces the old token, so anything still using it stops working.
    3. Paste it here, together with your instance's address (without /api). The token acts as your user: agents can read and change what that user can.

    Get credentials (opens in a new tab)

Tools (1)

  • Paperless-ngx API requestPAPERLESS_SEND_REQUEST

    Authenticated call to the Paperless-ngx API ({url}/api). Any endpoint of the API is allowed. Examples: GET /documents/?query=…&page_size=20&fields=id,title,created,correspondent,document_type,tags, GET /documents/?title_search=…, GET /documents/{id}/ (its “content” is the extracted text), GET /documents/{id}/download/ (the file as base64: only small files fit, prefer “content”), GET /tags/, GET /correspondents/, GET /document_types/, POST /tags/ {"name":"…"}, POST /documents/bulk_edit/ {"documents":[1],"method":"add_tag","parameters":{"tag":2}}, PATCH /documents/{id}/ {"correspondent":2}.

    Required scopes

    No scopes required

    Input

    Paperless-ngx API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.