---
title: "Web services: Attaching documents and using new endpoints"
slug: "news-711-web-services-attaching-documents-endpoints"
tags: ["#version  Cloud", "#version 7.11", "#version 7.12"]
updated: 2025-10-15T15:19:45Z
published: 2025-10-15T15:19:45Z
---

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

# Web services: Attaching documents and using new endpoints

Component: Workflow Designer

Within the web services activity, you can now attach the current document to an HTTP request before it is sent to an external REST Web service then. In addition, the new endpoints "Append a new file" and "Replace a file" are available.

Applications

- Integrate additional AI services for capturing document content: For example, send an archived invoice to a service that captures the document data and assigns it to index fields or global variables

Benefits

- More user-friendly
- Easier integration

Here's how

![Webservice1](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/Webservice1.png)

For the configuration, navigate to *Request > HTTP Body* and activate the *Attach document*option. Also select whether the document should be used in its original format or as a PDF without annotations.

**New endpoints**

![Webservice2](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/Webservice2.png)

The new endpoints work with the new "Attach document" option.

- **Append a new file**: Append a file to a document in a file cabinet or document tray. If the target is a data record, this is automatically converted into a document.
- **Replace a file**: Replace a file in a document with another file.

The existing endpoint "Create a new DB record" can also be used with the *Attach document*option to store a new document.

## Supported versions: DocuWare Cloud + 7.14 + 7.13 + 7.12 + 7.11

A method of communication between applications over the internet, allowing them to exchange data and functionalities.

A digital storage unit within a document management system where documents are organized and stored for long-term access.

A temporary storage area in DocuWare where documents can be viewed and processed before being stored in a file cabinet.
