---
title: "Upload a PowerPoint or PDF and make a slideshow from it"
method: POST
path: "/v1/slideshows/pptx"
tags: ["Slideshows"]
---

# Upload a PowerPoint or PDF and make a slideshow from it

`POST /v1/slideshows/pptx`

## Request

- Base URL: `https://infoslides.app`
- URL: `https://infoslides.app/v1/slideshows/pptx`
- Auth: none declared

Uploads a `.pptx` or `.pdf` file (`multipart/form-data`: a `file` part up to 100 MB, optional `title` field; the file name is used otherwise) and creates a slideshow from it, one slide per page, shown as it is. Returns the new slideshow (201) and queues its render: it plays once `renderStatus` is `Completed`, so poll `GET /v1/slideshows/{id}` at most every 5 seconds. To have AI Studio write new slides from a document instead, use `POST /v1/slideshows/{id}/slides/ai` with `handler: document`.

## Headers

- `Idempotency-Key` string

## Response `200`

OK

---

[API](https://skmtc.dev/infoslides/apis/infoslides-agent-api.md) · [All operations](https://skmtc.dev/infoslides/apis/infoslides-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/infoslides/apis/infoslides-agent-api/revisions/d15bb7f8ee9d?raw)
