GET /exports/{id}
Poll this endpoint until export status is completed or failed.
API key for authentication
The unique export ID returned from the export endpoint
abc123xyzExport status retrieved successfully
The requested export format, echoed from the request. Always present —
pinned from the original request, so it's returned for every status
(pending, completed, and failed).
pdfPossible values: Unique identifier for the export job.
abc123xyzCurrent status of the export job. Poll until "completed" or "failed".
completedPossible values: Canonical file ID of the exported Gamma. Always present. Always the file
ID, even when a page/doc ID was supplied as gammaId in the export request
(it resolves to its parent gamma), so this may differ from the value you
passed.
9xJZ8QmN2URL to download the exported file (when completed). The file format matches
exportAs: pptx → .pptx, pdf → .pdf, png → a .zip archive containing
one PNG per card (not a single PNG file). Anyone with this URL can download
the file until it expires (about one week) — access is not tied to your API
key. Treat the link as a secret: don't log it, share it, or embed it in
client-side code.
https://gamma.app/export/abc123.pdfInvalid request parameters
Invalid or missing API key
Export not found
Related
Last updated
Was this helpful?