Skip to main content

Remove Watermark - Excel API

PDF4me Remove Watermark enables you to remove text and image watermarks from Excel documents with optional worksheet targeting. This API service processes Excel files and clears watermarks. The API receives Excel document content through REST API calls, utilizing Base64 encoding for secure transmission. This solution is ideal for document cleanup, version updates, and automated Excel editing workflows.

Authenticating Your API Request

Include your API key in the request to authenticate with the PDF4me REST API.

Key Features

  • Watermark Removal: Clear text and image watermarks from Excel documents
  • Worksheet Targeting: Apply to specific worksheets or all worksheets

REST API Endpoint

  • Method: POST
  • Endpoint: office/ApiV2Excel/ExcelDeleteWatermark

REST API Parameters

Important: Parameters marked with an asterisk (*) are required. All requests use document, docContent, and deleteWatermarkToExcelAction. Operation-specific parameters (worksheetNames, worksheetIndexes, etc.) are properties of the action object.

Required Parameters (root level)

ParameterTypeDescriptionExample
document*ObjectDocument reference with Name (Excel file name){ "Name": "data.xlsx" }
docContent*String (Base64)Excel document content encoded in Base64UEsDBBQABgAIAAAA...
deleteWatermarkToExcelAction*ObjectAction configuration (optional: worksheet targeting)See Payload example below

Optional Parameters (inside deleteWatermarkToExcelAction)

ParameterTypeDescriptionExample
worksheetNamesArray (string[])Worksheet names to remove watermark from; empty = all["Sheet1", "Report"]
worksheetIndexesArray (int[])Worksheet indexes; empty = all[0, 2]
cultureNameStringCulture code for processingen-US

Output

The API returns the Excel document as a Base64-encoded string in JSON format (document, fileName, success, errorMessage).

Request Example

Content-Type: application/json
Authorization: Basic YOUR_BASE64_ENCODED_API_KEY

Payload (Basic)

{
"document": { "Name": "data.xlsx" },
"docContent": "UEsDBBQABgAIAAAA...",
"deleteWatermarkToExcelAction": {}
}

Code Samples

Get Help