---
title: "Create deck export"
method: POST
path: "/v1/decks/{deck_id}/exports"
tags: ["Exports"]
---

# Create deck export

`POST /v1/decks/{deck_id}/exports`

## Request

- Base URL: `https://api.slides.com`
- URL: `https://api.slides.com/v1/decks/{deck_id}/exports`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://slides.com/oauth/authorize`, token URL `https://slides.com/oauth/token`, scopes: `manage`)

Starts an asynchronous PDF or ZIP export for an owned deck.

## Path parameters

- `deck_id` union, required
  - string
  - integer

## Request body

- object
  - `format` 'pdf' | 'zip', required: Export format: pdf or zip.
  - `margin` number: PDF-only page margin between 0 and 0.2.
  - `slide_number` boolean: PDF-only option that includes slide numbers.
  - `slide_notes` boolean: PDF-only option that includes speaker notes.
  - `separate_fragments` boolean: PDF-only option that prints fragment steps separately.

## Response `202`

Returns a pending export; meta contains poll_after_seconds.

- ApiResponse
  - `data` unknown, required
  - `meta` object

## Other responses

- `401`: A valid API key or OAuth access token is required.
- `403`: The credential or account cannot perform this operation.
- `404`: The requested resource was not found.
- `422`: The request parameters or body are invalid.
- `429`: The request rate limit was exceeded.

---

[API](https://skmtc.dev/slides/apis/slides-rest-api.md) · [All operations](https://skmtc.dev/slides/apis/slides-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slides/apis/slides-rest-api/revisions/7d5a371a6715?raw)
