# Data Exports

The Data Exports API provides programmatic access to the same Direct Data Export v2 datasets available through Studio, without requiring an SFTP connection. Instead of configuring a server-to-server file delivery, clients can use the API to discover available export files, retrieve the latest file for a given export type, and request a temporary download URL for a specific file. The API supports the same export categories used by Direct Data Export v2—users, campaigns, and activities—making it a REST-based alternative for integrating Firstup export data into external reporting, warehousing, and analytics workflows.

 - [GET /v2/data_exports/type/{type_name}/latest](https://developers.firstup.io/endpoints/openapi/data-exports/latestexport.md): Returns metadata and a presigned download URL for the most recent export file of the specified type within the caller's program.Valid type names: users, campaigns, activities.Pass export_type=historic
 - [GET /v2/data_exports/type/{type_name}](https://developers.firstup.io/endpoints/openapi/data-exports/listexports.md): Returns a list of all export files for the specified type within the caller's program. Each file entry includes an opaque file ID that can be used with the show endpoint to obtain a presigned download
 - [GET /v2/data_exports/type/{type_name}/files/{file_id}](https://developers.firstup.io/endpoints/openapi/data-exports/showexport.md): Returns metadata and a presigned download URL for a specific export file identified by its file ID. The file ID is obtained from the list exports endpoint.Pass the same export_type the file was listed
