Export report
- OpenAPI 3.1.0 document: https://api.rollstack.com/public/v1/openapi.json
- The whole reference in Markdown: https://docs.rollstack.com/llms-full.txt
- An index of the reference: https://docs.rollstack.com/llms.txt
POST https://api.rollstack.com/public/v1/reports/{id}/exports
Exports a report as PDF or PowerPoint and answers a download link valid for 15 minutes. At most 10 exports a minute per user.
Requires the slide_decks:read scope.
Operation ID: exportReport.
Path parameters
id(string, required): The report to act on, by itsidfromlistReportsorcreateReport. Only reports whosetypeisSlideDeckwork here: another type, such as a Google Slides presentation, returns400. You can also copy it from the report's link in Rollstack: it's the part right after/slides/.
Headers
Idempotency-Key(string): A unique value, such as a UUID, that makes retrying this call safe. A retry with the same key within 24 hours answers the first call's result instead of running it again. Use a new key for each new call. From 1 to 255 printable ASCII characters.
Request body, required
application/json
format(string, required): The kind of file to create.pdfis a PDF of the report's visible slides; hidden slides are left out.pptxis a PowerPoint file in which hidden slides are included but stay hidden, speaker notes are kept, and charts are images rather than editable charts. One ofpdf,pptx.slideIds(array of string): The slides to export, fromgetReportContentor a reply'schangedSlideIds. The file keeps the report's slide order whatever order you list them in. Ids that are not slides of the report are ignored, and so are hidden slides in a PDF. If omitted, the whole report is exported.
Response 200
Success
application/json
url(string, required): A link that downloads the exported file, named after the report. Anyone who has the link can download the file, without an API key, untilexpiresAt.expiresAt(string (date-time), required): Whenurlstops working, 15 minutes after the export. Export the report again to get a new link.