Sign PDF Page

Introduction

This example allows you to sign PDF page using Aspose.PDF Cloud API in your applications. The API has the following properties

API Type Description
/pdf/{name}/pages/{pageNumber}/sign POST Sign a PDF Document
The API has the following parameters
Parameter Required Description Type Data Type
name Yes The name of the document Path String
pageNumber Yes The page number to add the signature file to Path Integer
signature No

The signature to add to the PDF Document. The JSON should be of the following format

{
"SignaturePath”: “string”,
"SignatureType”: {},
"Password”: “string”,
"Appearance”: “string”,
"Reason”: “string”,
"Contact”: “string”,
"Location”: “string”,
"Visible”: true,
"Rectangle”: {
"LLX”: 0,
"LLY”: 0,
"URX”: 0,
"URY”: 0
},
"FormFieldName”: “string”,
"Authority”: “string”,
"Date”: “string”,
"ShowProperties”: true
}

Body JSON

Resource

The API has the following parameters

The following Aspose.PDF Cloud REST API resource has been used in the examples: Sign PDF Pages

cURL Example