apyhub
FILE CONVERSION · FILE MANIPULATION

Convert Presentations to PDF API

What it does

Presentation to PDF converts PowerPoint and OpenDocument presentation files into PDF, either as a direct download or as a signed link. Send a .ppt, .pptx, or .odp file, or pass a remote file URL or base64-encoded presentation bytes, and get the PDF back.

Use POST /file/download, POST /url/download, or POST /base64/download when you want the converted PDF as binary output. Use the matching /link endpoints when you prefer a URI in the data field. Each conversion accepts an optional landscape query parameter, which defaults to true.

This is a practical fit for document workflows that need consistent PDF output from presentation sources: archive slide decks, generate downloadable exports, or process uploaded files from a web app without handling the conversion yourself. The service keeps the input surface small and the response format predictable, which makes it easy to slot into file pipelines.

▣ ENDPOINT 01 / 06
POST
Convert presentation upload to PDF download (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/file/download

QUICKSTART

GUIDE

Quickstart

Upload a presentation file to download it as a PDF.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/file/download?output=output.pdf" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/presentation.pptx"

What you'll get back

Returns the PDF as a binary file response.

TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
Presentation file (.ppt, .pptx, or .odp). Mandatory.

About this endpoint

What it does

Converts an uploaded presentation file to a PDF and returns the generated PDF as a binary download. The input is the presentation file plus optional query parameters that control the output filename and page orientation.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoOutput filename for the generated PDF. Example: output.pdf.
landscapeBooleanNoPage orientation for the PDF output. Default: true.

Request Body

ParameterTypeMandatoryDescription
fileStringYesPresentation file to convert. Binary upload; supported formats: .ppt, .pptx, or .odp.

Response

Returns a binary file response containing the converted PDF download. The output schema is a binary string, so the response body itself is the PDF content.

Query parameters

Name
Type
Description
outputOPTIONAL
string
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 02 / 06
POST
Convert presentation upload to PDF signed link (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/file/link

QUICKSTART

GUIDE

Quickstart

Upload a presentation file to convert it to PDF.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/file/link" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/presentation.pptx"

What you'll get back

Returns a JSON object with a data string field containing the PDF file URI.

{
  "data": "https://example.com/output.pdf"
}
TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
Presentation file (.ppt, .pptx, or .odp). Mandatory.

About this endpoint

What it does

Converts an uploaded presentation file into a PDF and returns a signed link to the generated PDF. The request includes the presentation file upload, and the response contains a data URI string for the result.

Query Parameter(s)

AttributeTypeMandatoryDescription
landscapeBooleanNoSets the PDF orientation. Default: true.

Request Body

ParameterTypeMandatoryDescription
fileStringYesPresentation file upload. Accepted formats: .ppt, .pptx, .odp.

Response

Returns a JSON object with a data string field containing a URI to the generated PDF.

ParameterTypeMandatoryDescription
dataStringYesURI to the generated PDF.

Query parameters

Name
Type
Description
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 03 / 06
POST
Convert remote presentation URL to PDF download (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/url/download

QUICKSTART

GUIDE

Quickstart

Convert a presentation from a public URL to PDF by sending the file URL in JSON.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/url/download?landscape=true" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.pptx"}'

What you'll get back

Returns a PDF file as binary data.

TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts a remote presentation file, provided as a URL, into a PDF and returns the resulting file as a binary download. The request accepts the source URL in the body and an optional landscape query parameter to control the PDF orientation.

Query Parameter(s)

AttributeTypeMandatoryDescription
landscapeBooleanNoPDF orientation flag. Default: true.

Request Body

ParameterTypeMandatoryDescription
urlStringYesThe remote presentation file URL to convert. Format: URI.

Response

Returns a binary file download containing the converted PDF. The success response is a binary string, not a JSON object.

Query parameters

Name
Type
Description
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 04 / 06
POST
Convert remote presentation URL to PDF signed link (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/url/link

QUICKSTART

GUIDE

Quickstart

Convert a presentation file from a URL to PDF with the required source URL in the JSON body.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/url/link" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://assets.apyhub.com/samples/sample.pptx"}'

What you'll get back

Returns a JSON object with a data string field containing the PDF file URL.

{
  "data": "https://example.com/output.pdf"
}
TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Converts a presentation available at a remote URL into a PDF and returns a signed link to the generated PDF. The request sends the source url in the body, and can optionally set landscape in the query string.

Query Parameter(s)

AttributeTypeMandatoryDescription
landscapeBooleanNoWhen true (default), the PDF is generated in landscape orientation.

Request Body

ParameterTypeMandatoryDescription
urlStringYesRemote presentation URL to convert. Must be a valid URI.

Response

Returns a JSON object with a data string field containing the signed URL of the generated PDF.

ParameterTypeMandatoryDescription
dataStringYesSigned URI pointing to the converted PDF.

Query parameters

Name
Type
Description
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 05 / 06
POST
Convert base64-encoded presentation to PDF download (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/base64/download

QUICKSTART

GUIDE

Quickstart

Convert a base64-encoded presentation into a PDF download.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/base64/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"base64":"UEsDBBQAAAAIA..."}'

What you'll get back

Returns a binary file response containing the generated PDF.

TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Base64-encoded presentation file bytes (.ppt, .pptx, or .odp). Mandatory.

About this endpoint

What it does

Converts a base64-encoded presentation file into a PDF and returns the PDF as a binary download. The request body must include the presentation bytes as base64, and you can optionally control page orientation with a query parameter.

Query Parameter(s)

AttributeTypeMandatoryDescription
landscapeBooleanNoControls PDF orientation. Default: true.

Request Body

ParameterTypeMandatoryDescription
base64StringYesBase64-encoded presentation file bytes. Supported input formats: .ppt, .pptx, .odp.

Response

Returns a binary file stream containing the converted PDF download. The output schema is a binary string, so the response body is the PDF content itself rather than a JSON object.

Query parameters

Name
Type
Description
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 06 / 06
POST
Convert base64-encoded presentation to PDF signed link (PDF-02)
https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/base64/link

QUICKSTART

GUIDE

Quickstart

Convert a base64-encoded presentation into a PDF link.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-presentations-to-pdf/base64/link" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"base64":"UEsDBBQAAAAIA..."}'

What you'll get back

Returns a JSON object with a data string field containing the generated PDF URI.

{
  "data": "https://example.com/file.pdf"
}
TRY ITLIVE · 60 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Base64-encoded presentation file bytes (.ppt, .pptx, or .odp). Mandatory.

About this endpoint

What it does

Converts a base64-encoded presentation file to a PDF and returns a signed link to the generated file. The request includes the presentation bytes in base64, and you can optionally control page orientation with a query parameter.

Query Parameter(s)

AttributeTypeMandatoryDescription
landscapeBooleanNoWhether the output PDF should be landscape-oriented. Default: true.

Request Body

ParameterTypeMandatoryDescription
base64StringYesBase64-encoded presentation file bytes. Supported input formats: .ppt, .pptx, .odp.

Response

Returns a JSON object with a data string field containing a URI to the generated PDF signed link.

ParameterTypeMandatoryDescription
dataStringYesURI of the signed PDF link.

Query parameters

Name
Type
Description
landscapeOPTIONAL
boolean
DEFAULT true

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.