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.
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.
- US1https://partner.socialchorus.com/v2/data_exports/type/{type_name}/latest
- US2https://partner.us2.onfirstup.com/v2/data_exports/type/{type_name}/latest
- EUhttps://partner.onfirstup.eu/v2/data_exports/type/{type_name}/latest
- oauth2_as_a_server
- oauth2_as_a_user
curl -i -X GET \
'https://partner.socialchorus.com/v2/data_exports/type/{type_name}/latest' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "data": { "presigned_url": "string", "presigned_url_ttl_seconds": 900, "file_name": "part-00000-abc123.csv.gz", "size_bytes": 0, "checksum_function": "string", "checksum": "string", "generated_at": "2025-01-15-06" } }