XLS, XLSX, or ODF formats into high-quality PDF documents. This API service ensures quick and accurate file transformations, preserving the formatting and layout of your original spreadsheets.https://api.apyhub.com/convert/spreadsheet-file/pdf-filePOSTmultipart/form-data| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| landscape | Boolean | No | Indicates whether the input spreadsheet is in landscape mode (default is false). |
| output | String | No | The name of the PDF file for the converted spreadsheet. If the output attribute is not provided, the default file name will be output.pdf. |
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| file | File | Yes | Provide the Spreadsheet file in xls, xlsx or odf formats that will be used as input. |
| Status Code | Description |
|---|---|
| 200 | The request was successful. |
| 401 | Required authentication information is either missing or not valid for the resource. |
| 400 | Invalid input - the files are empty or the files are corrupt. |
| 500 | If any unexpected error occurs while processing the request. |
tokens or basic authentication mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token as the header parameter to pass the token.Authorization header to send the basic authentication credentials.