---
updatedAt: 2026-04-21T16:38:41.000Z
agentTools:
  projectIndex: https://docs.beautiful.ai/llms.txt
---

# Export a presentation

Exports a Beautiful.ai presentation to PDF or PPTX and returns a temporary signed download URL.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Beautiful.ai API",
    "version": "1.0.0",
    "description": "The Beautiful.ai API lets you generate, inspect, copy, and export presentations.\n\nThe `/generatePresentation` endpoint creates a deck directly from a natural-language prompt.\nThe remaining AI workflow endpoints mirror the current Beautiful.ai MCP tools and return the same structured result payloads exposed by those tools.\n"
  },
  "servers": [
    {
      "url": "https://www.beautiful.ai/api/v1",
      "description": "Production"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    },
    {
      "BearerApiKeyAuth": []
    }
  ],
  "paths": {
    "/exportPresentation": {
      "post": {
        "summary": "Export a presentation",
        "description": "Exports a Beautiful.ai presentation to PDF or PPTX and returns a temporary signed download URL.\n",
        "operationId": "exportPresentation",
        "security": [
          {
            "ApiKeyAuth": []
          },
          {
            "BearerApiKeyAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportPresentationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Export created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportPresentationResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Key",
        "description": "Preferred. Send your Beautiful.ai API key in the X-Api-Key header."
      },
      "BearerApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Alternative. You may also send the same Beautiful.ai API key as Authorization: Bearer <api-key>."
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Missing or invalid API key.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Authenticated, but not allowed to perform the action.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    },
    "schemas": {
      "ExportPresentationRequest": {
        "type": "object",
        "required": [
          "presentationId",
          "format"
        ],
        "properties": {
          "workspaceId": {
            "type": "string",
            "description": "Optional workspace id to target explicitly."
          },
          "presentationId": {
            "type": "string"
          },
          "format": {
            "type": "string",
            "enum": [
              "pdf",
              "pptx"
            ]
          },
          "includeSkippedSlides": {
            "type": "boolean"
          },
          "pdfCompressionType": {
            "type": "string",
            "enum": [
              "none",
              "LOW",
              "MEDIUM",
              "HIGH"
            ]
          }
        }
      },
      "ExportPresentationResponse": {
        "type": "object",
        "required": [
          "presentationId",
          "format",
          "downloadUrl",
          "fileName",
          "expiresAt"
        ],
        "properties": {
          "presentationId": {
            "type": "string"
          },
          "format": {
            "type": "string",
            "enum": [
              "pdf",
              "pptx"
            ]
          },
          "downloadUrl": {
            "type": "string",
            "format": "uri"
          },
          "fileName": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          }
        }
      }
    }
  }
}
```