Watermark Documents using cURL

Manage image and text watermarks on all popular document formats using cURL commands. Add, find & delete watermarks on any language or platform supporting REST.

Start Free Trial
GroupDocs.Watermark Cloud for cURL

GroupDocs.Watermark Cloud for cURL

 
 

GroupDocs.Watermark Cloud for cURL efficiently communicates with GroupDocs.Watermark Cloud REST APIs to manage all HTTP requests and responses for you to manage watermarks on supported document formats. It supports all useful watermarking methods such as adding, searching, updating and removing watermarks from PDF, Microsoft Office Word, Excel worksheets, presentations, Visio diagrams and image formats. You can also manage text style, size, font, color and position of the watermarks inside the whole document or restrict it to specific range of pages.

 

Advanced Document Editor REST API Features

 

 

Search and delete already added watermarks from supported file formats

 

Add or Remove Watermark from a specific pages or whole document

 

Find text or image-based watermarks inside the documents

 

Manage formatting settings to manipulate watermarks

 

Cloud REST API to be used with any language or platform

 

Secured watermark management solution

 

API explorer based on swagger collection

Add Watermark to the Document using cURL


curl -v "https://api.groupdocs.cloud/v1.0/watermark" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer " \
-d "{
    "FileInfo": {
        "FilePath": "documents\\sample.pdf",
    },
    "WatermarkDetails": [
        {
            "TextWatermarkOptions": {
                "Text": "Watermark text",
                "FontFamilyName": "Arial",
                "FontSize": 20.0,
                "ForegroundColor": {
                    "Name": "red"
                },
                "TextAlignment": "center"
            },
            "Position": {
                "X": 0.0,
                "Y": 0.0,
                "Width": 0.0,
                "Height": 0.0,
                "HorizontalAlignment": "Center",
                "RotateAngle": 0.0,
                "ConsiderParentMargins": false,
                "IsBackground": false
            }
        }
    ]
}"
 

Support and Learning Resources

 
  

GroupDocs.Watermark Cloud also offers individual watermarking SDKs for other languages as listed below: