Hi Team,
How can we set a limit in the export API?
POST
https://api.hubapi.com/crm/v3/exports/export/async
Additionally, is there an API that allows exporting contacts based on a specific ListId?
Note**:** We need an export API that provides a CSV file.
Thanks!
Hey @devphoenix, happy Tuesday!
In HubSpot, to set a limit in the Export API, you can include the limit parameter in your request, like limit=100, to control the number of records in the export.
For exporting contacts based on a specific ListId, you can use the GET /crm/v3/objects/contacts/search endpoint and filter by the ListId.
To export as a CSV, the response will be in JSON format, so you’ll need to convert it into CSV format after retrieving the data.
I hope this helps,
Pam
In HubSpot, to set a limit in the Export API, you can include the limit parameter in your request, like limit=100, to control the number of records in the export.
- This is not working, could you please share the curl or video example.
To export as a CSV, the response will be in JSON format, so you’ll need to convert it into CSV format after retrieving the data.
- Means there’s no API for this. is it?