Export activities data in CSV or Excel format:
Required Parameters:
formId: Form containing the activitieskey: Activity definition keyOptional Filtering:
siteId: Filter by specific siteyear: Filter by specific yearperiodUnit: Filter by specific time periodformat: Export format (“csv” or “xlsx”, defaults to CSV)Returns base64-encoded file content with filename, record count, and MIME type for download.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
csv, xlsx