---
title: "Import Pptx"
method: POST
path: "/canvases/import-pptx"
tags: ["canvases"]
---

# Import Pptx

`POST /canvases/import-pptx`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/canvases/import-pptx`
- Auth: HTTP bearer

Import a PowerPoint deck as a new editable slides canvas (async job; free).

Accepts either a multipart ``file`` upload or a ``file_ref`` pointing at an
already-uploaded ``.pptx`` (POST /v1/uploads). Returns immediately with a
``job_id`` — poll ``GET /v1/canvases/import-pptx/{job_id}`` (about every
``retry_after_ms``) until the status is terminal; on success the result
carries the new canvas id/URL and slide count. The conversion is the same
pipeline the in-app importer uses: embedded media becomes team files, slide
masters become page backgrounds, and text/shapes become editable nodes.

Not metered: PPTX import is free in the Moda app and stays free here —
every response carries the zero-credit deterministic receipt. Only ``.pptx``
(not legacy ``.ppt``) is supported, up to 250MB.

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body `multipart/form-data`

- BodyImportPptx
  - `file` string, binary, nullable: The .pptx to import (multipart). For files that exceed the request-body transport limits, upload first (POST /v1/uploads) and pass 'file_ref' instead.
  - `file_ref` string, nullable: A file_ id from POST /v1/uploads referencing an already-uploaded .pptx. Mutually exclusive with 'file'.
  - `canvas_name` string, nullable: Name for the created canvas. Defaults to the deck's filename.
  - `idempotency_key` string, nullable: A retried call with the same key replays the stored job envelope (replayed:true) instead of starting a second import.

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/canvases/import-pptx/post.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
