Get email settings
- 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
GET https://api.rollstack.com/public/v1/reports/{id}/email-config
Who a report's email goes to and how it is sent, for a report of any type. Answers 404 until its email is set up, as on a burst's variant that sends no email of its own. For a burst, read listBurstVariants, which has every variant's recipients, and listBurstEmailConfigs rather than calling this on each variant. On an older report that sends to several recipient groups, to, cc, bcc and replyTo list every group's addresses together.
Requires the slide_decks:read scope.
Operation ID: getReportEmailConfig.
Path parameters
id(string, required): The report to act on, of anytype, by itsidfromlistReportsorcreateReport. You can also copy it from the report's link in Rollstack (appUrl): it's the part right after/slides/or/destinations/.
Response 200
Success
application/json
to(array of string, required): The addresses the report's email is sent to. When empty, no one receives it: the report's runs send no email andsendReportEmailreturns 400.cc(array of string, required): The addresses copied on the report's email, which every recipient can see.bcc(array of string, required): The addresses that also receive the report's email without the other recipients seeing them.replyTo(array of string, required): The addresses recipients' replies go to instead of the sender. They don't receive the email themselves. Empty when replies go to the sender.groupRecipients(boolean, required): Whether all the addresses intoreceive one email together. Whenfalse, each address intogets its own email with the samecc,bccandreplyTo, so the addresses inccandbccreceive one copy per address into.smtpServerId(string or null, required): The SMTP connection the report's email is sent through, fromlistSmtpConnections; recipients see itsfromaddress as the sender.nullwhen the email is sent from Rollstack's own address.sharingFormat(string, required): How the email delivers the report.pdfandpptsend it as a PDF or PowerPoint file, attached or behind a download button (seesendAttachmentAsLink); a slide deck leaves its hidden slides out.linksends a link to the Google Drive or OneDrive file an older report updates, shared with the recipients as set in the app; an email report sends its content in the email itself, and a slide deck has no such file, so one whose settings still containlinkis emailed as a PDF behind a download button.cloudLink(Exported link in the app), for slide decks only, sends a link to the copy exported to Google Drive or OneDrive and shares it with the addresses into,ccandbccwith the sharing permission set in the app, viewer unless changed there; if no permission is set, as after PDF or PPT was picked in the app, the copy isn't shared with them. One oflink,pdf,ppt,cloudLink.sendAttachmentAsLink(boolean, required): Whether the email puts thepdforpptfile behind a Download PDF or Download PPT button instead of attaching it. Whenfalse, the file is attached. Has no effect withcloudLink.trigger(string, required): Which of the report's runs email it automatically. A run emails it when it updates everything, or when all its failures are inignoredFailureStatusMessages. On a slide deck,allandscheduledwork the same way: only runs started by its schedules (seegetReportSchedules) send the email, and a slide deck with no datasheets is never emailed by its runs. On an older report,allemails after every run of the whole report, whether started by a schedule, withstartReportRunor in the app, andscheduledonly after runs its schedules start; a run of only some syncs never emails it. Withnone(Manual in the app), no run sends it: the email goes out only when sent withsendReportEmailor from the app. One ofall,none,scheduled.ignoredFailureStatusMessages(array of string, required): The failures that don't stop a run from emailing the report (seetrigger). A run with failures still sends the email when all of them are in this list. On a slide deck, a run in which every datasheet fails never does. A slide deck's run records each failed datasheet asinternal_server_error, so on a slide deck that is the only value with an effect. An older report's run records each failed sync's own reason, theerror.codelistReportSyncsshows.The other values describe why a sync of an older report failed, and have an effect only on older reports:
dashboard_not_found, or the oldertableau_view_not_found: the dashboard, Tableau workbook, Power BI report or spreadsheet could not be found.dashboard_tab_not_found: the dashboard tab, Tableau view, Power BI report page or spreadsheet sheet could not be found.dashboard_not_ready: the dashboard took too long to load.dashboard_has_errors: the dashboard or spreadsheet failed to load because of an error in the tool it comes from.dashboard_invalid_layout: the dashboard's layout is invalid, and it needs to be saved again.element_not_found, or the oldermetabase_element_not_foundandlooker_element_not_found: the visualization could not be found.slide_not_found, or the oldergoogle_slide_not_found: the slide that shows the visualization could not be found.file_not_found: the spreadsheet file the visualization comes from could not be found.sheet_not_found: the spreadsheet sheet could not be found.sheet_hidden: the spreadsheet sheet is hidden and needs to be unhidden.range_not_found: the spreadsheet range could not be found.duplicate_file_failed: Rollstack could not prepare the spreadsheet file for the update.merged_range_on_filter_range: the visualization has merged cells, which filters can't be applied to.insufficient_permissions: the owner doesn't have edit access to the file.image_cropping_failed: Rollstack could not crop the visualization's image.visualization_not_found: the visualization could not be found in the dashboard.visualization_not_ready: the visualization took too long to load.visualization_has_errors: the visualization failed to load because of an error in the tool it comes from.visualization_empty, or the olderempty_data: the visualization is empty.invalid_credentials: the connection's credentials are invalid.missing_credentials: the connection's credentials were deleted, or the owner's access to it was suspended.instance_unavailable: the data source's instance is temporarily unavailable.column_not_found: a column the native chart uses is missing from its data.fetch_summary_data_error,fetch_visual_specification_error,missing_data,missing_formatted_valueandviz_not_ready: Rollstack could not fetch the data of a native chart.incorrect_data_structure: the native chart's structure doesn't fit its data.malformed_data: Rollstack could not fetch the data of a native chart or, from Snowflake, Databricks or BigQuery, the query is invalid.worksheet_not_found: the Tableau worksheet could not be found.sync_not_found: the visualization was deleted.file_update_failed: the data was fetched but could not be written into the file.
emailAnalyticsEnabled(boolean, required): Whether Rollstack tracks when recipients open the report's email; opened emails show as Opened in the report's Email sends panel in the app. Opens are tracked only while email analytics is also on for the organization (emailAnalyticsEnabledfromgetOrganization). Rollstack detects them through an invisible image in the email.createdAt(string (date-time), required): When the report's email settings were created. Until they exist,getReportEmailConfigreturns 404.updatedAt(string (date-time), required): When the report's email settings were last saved. Changes the slides agent makes to the recipients alone don't update it.