Add a Digital Signature to an Excel Workbook – Aspose.Cells Cloud API

REST API

This REST API adds a digital signature to an Excel workbook.

POST https://api.aspose.cloud/v4.0/cells/{name}/digitalsignature

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Request Parameters

Parameter Name Type Location Description
name string <code>path</code> The name of the workbook.
digitalsignaturefile string <code>query</code> Path to the digital‑signature file (.pfx or .p12).
password string <code>query</code> Password for the workbook, if it is protected.
folder string <code>query</code> Folder where the workbook is stored.
storageName string <code>query</code> Name of the storage service to use.

Error Handling

HTTP Status Meaning
200 Signature applied successfully.
400 Bad request – missing or invalid parameters.
401 Unauthorized – invalid or expired OAuth token.
403 Forbidden – insufficient permissions or access denied.
500 Internal server error – unexpected failure.

Https status Error Responses

HTTP Status Code Description
400 BadRequest Missing or invalid parameters.
401 Unauthorized Invalid or missing access token.
404 NotFound Specified workbook not found in the given folder/storage.
500 InternalServerError Unexpected server error.

How to Use the PostDigitalSignature API with SDKs

PostDigitalSignature API Specification

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use the cURL command‑line tool to call Aspose.Cells web services. The example below demonstrates a request to the API:

Use Aspose.Cells Cloud SDKs

Using an SDK simplifies integration and reduces boiler‑plate code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: