Skip to main content

Convert an Excel spreadsheet to PDF

The following example will demonstrate how to convert Excel (.xlsx, .xls) to a PDF.

Currently, PDF is the only supported conversion type.

You can view the full Swagger documentation here.

Request

curl --location --request POST 'https://spreadsheet-api.doclabs.cloud/api/v1/MyDocument.xlsx/convert?type=pdf&storageName=MyBucketName' \
--header 'x-api-key: MY_API_KEY'

Response

{
"bucketName": "MyBucketName",
"contentPathName": "CopyOfTheOriginal.pdf"
}