PDF Watermark

Add Watermark in PDF Document

PDF Watermark API will add a watermark on specified pages of PDF document using a source watermark PDF. The first page of source watermark PDF will be added as a watermark in input PDF document.

post/operation/addwatermark

Request

  • Base URL: https://pdf-services-ue1.adobe.io
  • URL: https://pdf-services-ue1.adobe.io/operation/addwatermark
  • Auth: none declared. Required headers: Authorization, x-api-key

Headers

Authorizationstring required

Bearer + Token (<a href="https://developer.adobe.com/document-services/docs/overview/pdf-services-api/gettingstarted/#step-1--getting-the-access-token">Learn more</a> about getting the access token)

x-api-keystring required

The clientId from the generated credentials

Request body

OR

Example request

{
  "inputDocumentAssetID": "urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718",
  "watermarkDocumentAssetID": "urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718",
  "pageRanges": [
    {
      "start": 3,
      "end": 7
    },
    {
      "start": 9,
      "end": 15
    }
  ],
  "appearance": {
    "appearOnForeground": true,
    "opacity": 50
  },
  "notifiers": [
    {
      "type": "CALLBACK",
      "data": {
        "url": "https://dummy.callback.org/",
        "headers": {
          "x-api-key": "dummykey",
          "access-token": "dummytoken"
        }
      }
    }
  ]
}

Response

Request creation for the operation and status uri generated, which can be found in the 'location' header.

Changes

No recorded changes to this operation across all 8 revisions of this API.