# Export Engagements to CSV

**URL:** <https://community.hubspot.com/t/export-engagements-to-csv/28906>\
**Category:** HubSpot Ideas\
**Tags:** object\
**Created:** [December 8, 2020, 4:12pm UTC](https://community.hubspot.com/t/export-engagements-to-csv/28906 "2020-12-08T16:12:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![allblueskyfromh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/allblueskyfromh/32/51304_2.png) [@allblueskyfromh](https://community.hubspot.com/u/allblueskyfromh)\
**Post date:** [December 8, 2020, 4:12pm UTC](https://community.hubspot.com/t/export-engagements-to-csv/28906/1 "2020-12-08T16:12:14Z")

</div>

This would be for marketers and CRM administrators. The goal is to consolidate information and use it in a format that is convenient and easy to load, even offline.

_Originally posted here: [https://community.hubspot.com/t5/Share-Your-Work/Example-API-Call-for-Engagements/m-p/391850#M610](https://community.hubspot.com/t5/Share-Your-Work/Example-API-Call-for-Engagements/m-p/391850#M610)_

It would have been nice if Engagements like notes and email logs would be exportable from Hubspot.

In lieu of waiting for them to make our own data easily accessible, I wanted to share this example API call for Engagements since I couldn’t find one on HubSpot forums.

You’ll want to be sure you have Python 3.9 (released Dec 7 2020) and “pip requests” as found here: [requests · PyPI](https://pypi.org/project/requests/)

I have a line of code added to print it to JSON format for my own ease of use.

```lia-code-sample
import requests
response = requests.get("https://api.hubapi.com/engagements/v1/engagements/paged?hapikey=YOURAPIKEYHERE&limit=250&offSet=2")
print(response.json())
import json

def jprint(obj):
 # create a formatted string of the Python JSON object
 text = json.dumps(obj, sort_keys=True, indent=4)
 print(text)

jprint(response.json())

```

---

<div class="post-metadata">

**Author:** ![johnelmer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/johnelmer/32/55984_2.png) [@johnelmer](https://community.hubspot.com/u/johnelmer)\
**Post date:** [December 16, 2020, 3:09pm UTC](https://community.hubspot.com/t/export-engagements-to-csv/28906/2 "2020-12-16T15:09:35Z")

</div>

@allblueskyfromh

One option is to export all of your CRM data using [Ultimate Data Export for HubSpot](https://app.hubspot.com/ecosystem/2756921/marketplace/apps/marketing/analytics-data/ultimate-data-export-224046). Ultimate Data Export is available **free**  **of charge** in the HubSpot App Marketplace.

With the Ultimate Data Export for HubSpot you can export the following data tables and their associations:

- 
  - Contacts

- 
  - Web Analytics

- 
  - Companies

- 
  - Deals

- 
  - Deal History

- 
  - Owners

- 
  - Campaigns

- 
  - Engagements

- 
  - Emails

- 
  - Products

- 
  - Tickets

- 
  - and more related subdata such as Pipelines and Associations.

Here is a brief [explainer video](https://youtu.be/3v6yhKsDiHU) on the app.
