Export report
Exports a report to one or more HubSpot users via standard HubSpot communication channels (notably, email).
Status tracking is not available; a successful request will result in a 204 No Content response.
Any set of HubSpot users can be specified as the recipients. However, if a given user does not have access to reporting, does not have CRM export permissions, etc., then they will receive a notification with an error rather than a successful export.
NOTE: This API can only be called from apps with user-level access. Attempting to call from an app with account-level access (including legacy apps) will fail, because only real users can request exports.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the report to export.
Body
The type of export to perform. Valid values are:
SCREENSHOT: Screenshot of the report.CSV: ZIP with one or more CSV files.XLS: ZIP with one or more XLS files.- `XLSX: ZIP with one or more XLSX files.
CSV, SCREENSHOT, XLS, XLSX The message to include with the export. Optional, empty by default.
Array of user IDs to send the export to. If absent or empty, the requesting user is used as the sole recipient; otherwise, this exact set of users is used.
The subject line to use for the export. If absent, the name of the requested report will be used. Max length of 100 characters.